Interface: CartPaymethodsProps
Defined in: components/CartPaymethods.tsx:17
Properties
cart
cart:
Cart
Defined in: components/CartPaymethods.tsx:19
Shopping cart object from which the payment methods will be displayed
currency?
optionalcurrency?:string
Defined in: components/CartPaymethods.tsx:40
Currency symbol for prices. Defaults to '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/CartPaymethods.tsx:37
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/CartPaymethods.tsx:43
Labels for the component
onPaymethodSelect?
optionalonPaymethodSelect?: (paymethod) =>void
Defined in: components/CartPaymethods.tsx:34
Action when a payment method is selected
Parameters
paymethod
CartPaymethod
Returns
void
paymentsContainerClass?
optionalpaymentsContainerClass?:string
Defined in: components/CartPaymethods.tsx:25
The CSS class for the payment methods container
showOnAccountForGuests?
optionalshowOnAccountForGuests?:boolean
Defined in: components/CartPaymethods.tsx:28
Display the on account payment method for anonymous users
showPaymethodLogo?
optionalshowPaymethodLogo?:boolean
Defined in: components/CartPaymethods.tsx:31
Display the payment method logo (default: true). Falls back to the name when no logo is set.
user?
optionaluser?:Contact|Customer|null
Defined in: components/CartPaymethods.tsx:22
Authenticated user — used for cart creation / lookup. Resolved from <PropellerProvider> when not passed explicitly.