Skip to main content

Interface: OrderTotalsProps

Defined in: components/OrderTotals.tsx:12

Properties

currency?

optional currency?: string

Defined in: components/OrderTotals.tsx:44

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


formatPrice?

optional formatPrice?: (price) => string

Defined in: components/OrderTotals.tsx:41

Custom price formatting function

Parameters

price

number

Returns

string


labels?

optional labels?: Record<string, string>

Defined in: components/OrderTotals.tsx:20

Labels for the component


order

order: Order

Defined in: components/OrderTotals.tsx:14

The order/quote used to populate the summary data


showDiscount?

optional showDiscount?: boolean

Defined in: components/OrderTotals.tsx:26

Display the total discount of the order/quote


showShippingCosts?

optional showShippingCosts?: boolean

Defined in: components/OrderTotals.tsx:29

Display the shipping costs of the order/quote


showSubtotal?

optional showSubtotal?: boolean

Defined in: components/OrderTotals.tsx:23

Display the subtotal of the order/quote


showTotalExclVat?

optional showTotalExclVat?: boolean

Defined in: components/OrderTotals.tsx:35

Display the total of the order/quote excluding the VAT


showTotalVat?

optional showTotalVat?: boolean

Defined in: components/OrderTotals.tsx:38

Display the total VAT of the order/quote


showVATs?

optional showVATs?: boolean

Defined in: components/OrderTotals.tsx:32

Display all VATs of the order/quote


title?

optional title?: string

Defined in: components/OrderTotals.tsx:17

Order summary block title