Can be used if the Cart has the ExternalAmount TaxMode. This update action adds the taxedPrice field to the Cart and must be used after any price-affecting change occurs within the Cart.

interface CartSetCartTotalTaxAction {
    action: "setCartTotalTax";
    externalTaxPortions?: TaxPortionDraft[];
    externalTotalGross: _Money;
}

Properties

action: "setCartTotalTax"
externalTaxPortions?: TaxPortionDraft[]

Set if the externalTotalGross price is a sum of portions with different tax rates.

externalTotalGross: _Money

The Cart's total gross price becoming the totalGross field (totalNet + taxes) on the Cart's taxedPrice.