Interface: CartTotalsProps
Properties
className?
optionalclassName?:string
Class applied to the wrapping <dl>.
currency
currency:
string
ISO 4217 currency code shared by every line.
discount?
optionaldiscount?:number
Discount in minor units. Rendered as −<amount> when > 0.
labels?
optionallabels?:CartTotalsLabels
Custom row labels. Defaults to English.
rowClassName?
optionalrowClassName?:string
Class applied to each <div> row (subtotal, discount, etc.).
shipping?
optionalshipping?:number
Shipping in minor units. Rendered when provided (incl. 0 = free shipping).
subtotal
subtotal:
number
Subtotal in minor units.
tax?
optionaltax?:number
Tax in minor units. Rendered when provided.
total
total:
number
Total in minor units.