OrdersManager
Manager for order operations
Properties
Functions
Register an observer for changes in open orders. If you are using Android Jetpack and LiveData, use openLiveData instead.
Claim an order for the current customer. redemptionCode is required to claim the order.
Create an order for the current customer for the site with the given siteID. orderOptions is required.
Create an order for the current customer for the site with the given sitePartnerIdentifier. orderOptions is required.
Fetch the latest claimed orders with the server. An order is claimed if it is associated with the current customer. Most of the time this method does not need to be called by the app except for refreshing an order list.
Fetch an unclaimed order using the redemptionCode. After the order is fetched, use claim to associate the order with the current customer which may start location tracking.
Return if an order has beacon regions associated with pickup zones.
Unregister an observer for changes in open orders.
Update the customerState for an order with the given orderId.
Update the customerState and send a spotIdentifier for an order with the given orderId.
Update the method for an order with the given orderId including pickup type, vehicle info, and handoff location.
Update the pickupType for an order with the given orderId.