Home > @poq/sdk > CartResponse
Contract describes cart response.
Signature:
export declare class CartResponse extends PoqContract
Extends: PoqContract
Constructor | Modifiers | Description |
---|---|---|
(constructor)(params) | Constructs a new instance of the CartResponse class |
Property | Modifiers | Type | Description |
---|---|---|---|
cartId | string | Id of the cart. | |
cartItems | CartItemResponse[] | undefined | List of line items in the cart. | |
customData | Record<string, unknown> | undefined | Custom data associated with cart. | |
expressCheckoutConfig | ExpressCheckoutConfig | undefined | Express checkout config. | |
isMigrated | boolean | An internal flag to track migrations. |