items CartLine[] [] Name items Description The products in the order, one row each.
Type CartLine[] Default [] currency string 'EUR' Name currency Description ISO 4217 code for the totals; the first item's currency wins when there is one.
Type string Default 'EUR' shippingCents number 0 Name shippingCents Description Shipping in minor units; 0 shows the free badge.
Type number Default 0 shippingNote string — Name shippingNote Description Shown in place of the shipping cost, e.g. until a shipping method is chosen.
Type string Default — discounts AppliedDiscount[] [] Name discounts Description Codes and gift cards taken off the order, one row each below the subtotal.
Type AppliedDiscount[] Default [] taxCents number 0 Name taxCents Description Tax in minor units, added to the total.
Type number Default 0 showTax boolean true Name showTax Description Shows the tax row; the tax is added to the total either way.
Type boolean Default true Name showHeader Description Shows the heading, description and item count; leave it off where something around the card already names it.
Type boolean Default true showTotal boolean true Name showTotal Description Shows the total row; leave it off where something around the card already shows the total.
Type boolean Default true title string 'Order Summary' Name title Description Type string Default 'Order Summary' description string — countLabel ( ( count : number ) => string ) — Name countLabel Description Builds the badge beside the heading from the number of items; no badge when left out.
Type ( count : number ) : string Default — quantityLabel ( ( quantity : number ) => string ) `Qty: ${ quantity } ` Name quantityLabel Description Builds each row's quantity text from its quantity.
Type ( quantity : number ) : string Default `Qty: ${ quantity } ` subtotalLabel string 'Subtotal' Name subtotalLabel Description Shown beside the sum of the items.
Type string Default 'Subtotal' shippingLabel string 'Shipping' Name shippingLabel Description Shown beside the shipping cost.
Type string Default 'Shipping' freeShippingLabel string 'Free' Name freeShippingLabel Description Shown on the badge in place of the shipping cost when shipping is free.
Type string Default 'Free' taxLabel string 'Tax' Name taxLabel Description Type string Default 'Tax' totalLabel string 'Total' Name totalLabel Description Shown beside the order total.
Type string Default 'Total' minusSign string MINUS_SIGN Name minusSign Description Put before each amount a discount takes off.
Type string Default MINUS_SIGN totalNote string — Name totalNote Description Shown under the total's label, e.g. whether VAT is included.
Type string Default — locale string — Name locale Description BCP 47 locale the prices are formatted in, e.g. de - DE ; the ConfigProvider's when left out.
Type string Default — surface ' raised ' | ' bare ' 'raised' Name surface Description Bare drops the edge, shadow and inset, for a section placed inside another Card.
Type ' raised ' | ' bare ' Default 'raised' class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue[] Default —