Interface: CartPaymethodsProps
Defined in: components/CartPaymethods.tsx:18
Properties
cart
cart:
Cart
Defined in: components/CartPaymethods.tsx:27
Shopping cart object from which the payment methods will be displayed
currency?
optionalcurrency?:string
Defined in: components/CartPaymethods.tsx:48
Currency symbol for prices. Defaults to '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/CartPaymethods.tsx:45
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/CartPaymethods.tsx:51
Labels for the component
language?
optionallanguage?:string
Defined in: components/CartPaymethods.tsx:24
Storefront language ('EN', 'NL', …). Decides the number format prices are
rendered in — without it they fall back to Dutch separators regardless of
the language the shopper is reading. Resolved from <PropellerProvider> when omitted.
onPaymethodSelect?
optionalonPaymethodSelect?: (paymethod) =>void
Defined in: components/CartPaymethods.tsx:42
Action when a payment method is selected
Parameters
paymethod
CartPaymethod
Returns
void
paymentsContainerClass?
optionalpaymentsContainerClass?:string
Defined in: components/CartPaymethods.tsx:33
The CSS class for the payment methods container
paymethodLabels?
optionalpaymethodLabels?:Record<string,string>
Defined in: components/CartPaymethods.tsx:60
Localized display names for payment methods, keyed by the method code
(lower-cased, e.g. { pickup: 'Bij afhalen', on_account: 'Op rekening' }).
The backend method.name is often an un-localized English string (e.g.
"On pickup"), so this map lets the host override it per locale. Lookup
order: paymethodLabels[code] → method.name → method.code.
showOnAccountForGuests?
optionalshowOnAccountForGuests?:boolean
Defined in: components/CartPaymethods.tsx:36
Display the on account payment method for anonymous users
showPaymethodLogo?
optionalshowPaymethodLogo?:boolean
Defined in: components/CartPaymethods.tsx:39
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:30
Authenticated user — used for cart creation / lookup. Resolved from <PropellerProvider> when not passed explicitly.