Basket Client SDK
The Basket Client SDK allows the basket processes to also be run on Android and iOS applications. It contains the complete functionality for basket handling.
The client can process certain steps also in an offline state. The process is as follows:
- The client creates a basket in the online state.
- The client can be offline when registering items. The line items are registered in the offline state using local master data. The client application is responsible for maintaining the local master data (its replication, storage, and mapping to GK item domain object). After the client switches to online mode, the line items are refreshed and the basket is recalculated using central master data.
- The client can be also offline when registering a non-personalized coupon. The coupon can be applied first when the client is online again.
- Finishing the basket, i.e. calling the checkout process and processing the payment, is only possible in the online state.