Interface: OrderSummaryProps
Defined in: components/OrderSummary.tsx:12
Properties
countries?
optionalcountries?:object[]
Defined in: components/OrderSummary.tsx:78
List of countries for resolving codes to names [{code: 'NL', name: 'Netherlands'}, ...]
code
code:
string
name
name:
string
currency?
optionalcurrency?:string
Defined in: components/OrderSummary.tsx:84
Currency symbol used by the default formatter. Default: '€'.
formatDate?
optionalformatDate?: (dateString) =>string
Defined in: components/OrderSummary.tsx:57
Custom date formatting function
Parameters
dateString
string
Returns
string
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/OrderSummary.tsx:42
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?:Record<string,string>
Defined in: components/OrderSummary.tsx:60
Labels for the component
language?
optionallanguage?:string
Defined in: components/OrderSummary.tsx:18
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.
order
order:
any
Defined in: components/OrderSummary.tsx:21
The order object from propeller-sdk-v2
orderSummaryContainerClass?
optionalorderSummaryContainerClass?:string
Defined in: components/OrderSummary.tsx:24
The CSS class for the order summary container
paymethodLabels?
optionalpaymethodLabels?:Record<string,string>
Defined in: components/OrderSummary.tsx:75
Localized payment-method names, keyed by the raw method value LOWER-CASED
(e.g. { rekening: 'Op rekening', account: 'Op rekening' }). The backend
sends different raw values on the order vs quote path (REKENING / ACCOUNT),
so mapping both here makes the same method render identically. Unknown →
raw value.
showDeliveryAddress?
optionalshowDeliveryAddress?:boolean
Defined in: components/OrderSummary.tsx:48
Show the delivery address
showDeliveryInfo?
optionalshowDeliveryInfo?:boolean
Defined in: components/OrderSummary.tsx:51
Show payment, carrier, and delivery date info
showInvoiceAddress?
optionalshowInvoiceAddress?:boolean
Defined in: components/OrderSummary.tsx:45
Show the invoice address
showOrderDate?
optionalshowOrderDate?:boolean
Defined in: components/OrderSummary.tsx:33
Show the order date
showOrderNumber?
optionalshowOrderNumber?:boolean
Defined in: components/OrderSummary.tsx:30
Show the order number
showOrderStatus?
optionalshowOrderStatus?:boolean
Defined in: components/OrderSummary.tsx:36
Show the order status
showOrderTotal?
optionalshowOrderTotal?:boolean
Defined in: components/OrderSummary.tsx:39
Show the order total
showRemarks?
optionalshowRemarks?:boolean
Defined in: components/OrderSummary.tsx:54
Show order remarks and reference
statusLabels?
optionalstatusLabels?:Record<string,string>
Defined in: components/OrderSummary.tsx:66
Localized order/quote status labels, keyed by the raw backend status
(e.g. { NEW: 'Nieuw', REQUEST: 'Aangevraagd' }). Unknown → raw value.
title?
optionaltitle?:string
Defined in: components/OrderSummary.tsx:27
Title of the order summary