Skip to main content

Interface: OrderSummaryProps

Defined in: components/OrderSummary.tsx:12

Properties

countries?

optional countries?: object[]

Defined in: components/OrderSummary.tsx:56

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:62

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


formatDate?

optional formatDate?: (dateString) => string

Defined in: components/OrderSummary.tsx:50

Custom date formatting function

Parameters

dateString

string

Returns

string


formatPrice?

optional formatPrice?: (price) => string

Defined in: components/OrderSummary.tsx:35

Custom price formatting function

Parameters

price

number

Returns

string


labels?

optional labels?: Record<string, string>

Defined in: components/OrderSummary.tsx:53

Labels for the component


order

order: any

Defined in: components/OrderSummary.tsx:14

The order object from propeller-sdk-v2


orderSummaryContainerClass?

optional orderSummaryContainerClass?: string

Defined in: components/OrderSummary.tsx:17

The CSS class for the order summary container


showDeliveryAddress?

optional showDeliveryAddress?: boolean

Defined in: components/OrderSummary.tsx:41

Show the delivery address


showDeliveryInfo?

optional showDeliveryInfo?: boolean

Defined in: components/OrderSummary.tsx:44

Show payment, carrier, and delivery date info


showInvoiceAddress?

optional showInvoiceAddress?: boolean

Defined in: components/OrderSummary.tsx:38

Show the invoice address


showOrderDate?

optional showOrderDate?: boolean

Defined in: components/OrderSummary.tsx:26

Show the order date


showOrderNumber?

optional showOrderNumber?: boolean

Defined in: components/OrderSummary.tsx:23

Show the order number


showOrderStatus?

optional showOrderStatus?: boolean

Defined in: components/OrderSummary.tsx:29

Show the order status


showOrderTotal?

optional showOrderTotal?: boolean

Defined in: components/OrderSummary.tsx:32

Show the order total


showRemarks?

optional showRemarks?: boolean

Defined in: components/OrderSummary.tsx:47

Show order remarks and reference


title?

optional title?: string

Defined in: components/OrderSummary.tsx:20

Title of the order summary