CSUserStoreRegion Class Reference

Inherits from CSStoreRegion : NSObject
Declared in CSUserStoreRegion.h

Overview

The CSUserStoreRegion object tracks the given user to a storeRegion. The ordersIDs are the orders currently placed to be picked up at the store. If the user places another order at the same store create a new CSUserStoreRegion instance with the new orderIDs and add it to the CSTracker. OrderIDs set to the CSUserStoreRegion are additive to the Curbside system.

Note: All store identifiers and their corresponding coordinates needs to be preloaded to Curbside externally.

  trackTokens

trackTokens represents opaque identifiers used to track a user to a store. Note that the identifiers are one per order at the store. If you have multiple orders at the store then you want to track it with multiple identifiers so that the case of one order picked up and the other is not ready is handle.

@property (nonatomic, readonly) NSArray *trackTokens

Discussion

trackTokens represents opaque identifiers used to track a user to a store. Note that the identifiers are one per order at the store. If you have multiple orders at the store then you want to track it with multiple identifiers so that the case of one order picked up and the other is not ready is handle.

Declared In

CSUserStoreRegion.h

  userStatus

Flag indicating whether the user is approaching the store.

@property (nonatomic, readonly) CSUserStatus userStatus

Discussion

Flag indicating whether the user is approaching the store.

Declared In

CSUserStoreRegion.h

  distanceFromStore

distanceFromStore indicates the distance from store. When the user is beyond a certain theshold distance, only this value is populated. Unit : meters

@property (nonatomic, readonly) int distanceFromStore

Discussion

distanceFromStore indicates the distance from store. When the user is beyond a certain theshold distance, only this value is populated. Unit : meters

Declared In

CSUserStoreRegion.h

– initWithStoreIdentifier:trackTokens:

Designated initializer for this class.

- (id)initWithStoreIdentifier:(NSString *)storeIdentifier trackTokens:(NSArray *)trackTokens

Discussion

Initializes a instance of the CSStoreRegion with a identifier and the trackTokens at the store.

Declared In

CSUserStoreRegion.h