You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
ReplaceCartPaymentDetailsProps
Parameters for replacing cart payment details.
export interface ReplaceCartPaymentDetailsProps extends BaseUserId {
cartId: string;
paymentDetailsId: string;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
cartId | Required | string | Cart identifier: cart code for logged in user, cart guid for anonymous user, current for the last modified cart. |
paymentDetailsId | Required | string | Id of an existing Payment Details object that will be added to a cart. |