Home > @poq/sdk > CheckoutService
Default implementation of ICheckoutService.
Signature:
export declare class CheckoutService implements ICheckoutService
Implements: ICheckoutService
Constructor | Modifiers | Description |
---|---|---|
(constructor)(checkoutClient, productClient) | Constructs a new instance of the CheckoutService class |
Method | Modifiers | Description |
---|---|---|
addCartItem(appIdentifier, poqUserId, cartParams, mergeByCustomData) | Adds an item to a user’s cart. | |
getCart(appIdentifier, poqUserId, currencyIdentifier) | Gets a user’s cart filled with productes. | |
updateCart(appIdentifier, poqUserId, request) | Updates a user’s cart. |