CartTotal
| Field | Type | Required | Description |
|---|---|---|---|
type |
string |
yes | one of: subTotal, shipping, tax, payment, discount, grandTotal |
label |
string |
yes | |
amount |
number |
yes | |
subTotals |
array[Total] |
Example
Section titled “Example”{ "type": "tax", "label": "Tax (19%)", "amount": 7.6, "subTotals": [ {} ]}
