Skip to main content

Interface: OrderSummaryProps

Defined in: components/OrderSummary.tsx:12

Properties

countries?

optional countries?: 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?

optional currency?: string

Defined in: components/OrderSummary.tsx:84

Currency symbol used by the default formatter. Default: '€'.


formatDate?

optional formatDate?: (dateString) => string

Defined in: components/OrderSummary.tsx:57

Custom date formatting function

Parameters

dateString

string

Returns

string


formatPrice?

optional formatPrice?: (price) => string

Defined in: components/OrderSummary.tsx:42

Custom price formatting function

Parameters

price

number

Returns

string


labels?

optional labels?: Record<string, string>

Defined in: components/OrderSummary.tsx:60

Labels for the component


language?

optional language?: 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?

optional orderSummaryContainerClass?: string

Defined in: components/OrderSummary.tsx:24

The CSS class for the order summary container


paymethodLabels?

optional paymethodLabels?: 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?

optional showDeliveryAddress?: boolean

Defined in: components/OrderSummary.tsx:48

Show the delivery address


showDeliveryInfo?

optional showDeliveryInfo?: boolean

Defined in: components/OrderSummary.tsx:51

Show payment, carrier, and delivery date info


showInvoiceAddress?

optional showInvoiceAddress?: boolean

Defined in: components/OrderSummary.tsx:45

Show the invoice address


showOrderDate?

optional showOrderDate?: boolean

Defined in: components/OrderSummary.tsx:33

Show the order date


showOrderNumber?

optional showOrderNumber?: boolean

Defined in: components/OrderSummary.tsx:30

Show the order number


showOrderStatus?

optional showOrderStatus?: boolean

Defined in: components/OrderSummary.tsx:36

Show the order status


showOrderTotal?

optional showOrderTotal?: boolean

Defined in: components/OrderSummary.tsx:39

Show the order total


showRemarks?

optional showRemarks?: boolean

Defined in: components/OrderSummary.tsx:54

Show order remarks and reference


statusLabels?

optional statusLabels?: 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?

optional title?: string

Defined in: components/OrderSummary.tsx:27

Title of the order summary