Interface: OrderTotalsProps
Defined in: components/OrderTotals.tsx:12
Properties
currency?
optionalcurrency?:string
Defined in: components/OrderTotals.tsx:44
Currency symbol used by the default formatter. Default: '€'.
formatPrice?
optionalformatPrice?: (price) =>string
Defined in: components/OrderTotals.tsx:41
Custom price formatting function
Parameters
price
number
Returns
string
labels?
optionallabels?: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?
optionalshowDiscount?:boolean
Defined in: components/OrderTotals.tsx:26
Display the total discount of the order/quote
showShippingCosts?
optionalshowShippingCosts?:boolean
Defined in: components/OrderTotals.tsx:29
Display the shipping costs of the order/quote
showSubtotal?
optionalshowSubtotal?:boolean
Defined in: components/OrderTotals.tsx:23
Display the subtotal of the order/quote
showTotalExclVat?
optionalshowTotalExclVat?:boolean
Defined in: components/OrderTotals.tsx:35
Display the total of the order/quote excluding the VAT
showTotalVat?
optionalshowTotalVat?:boolean
Defined in: components/OrderTotals.tsx:38
Display the total VAT of the order/quote
showVATs?
optionalshowVATs?:boolean
Defined in: components/OrderTotals.tsx:32
Display all VATs of the order/quote
title?
optionaltitle?:string
Defined in: components/OrderTotals.tsx:17
Order summary block title