TaxCalculationContext
TaxCalculationContext: Object
Information relevant to a tax calculation, such as the shipping address where the items are going.
Properties
The shipping address used in the cart.
The customer that the cart belongs to.
The cart's region.
is_return
booleanRequiredWhether the cart is used in a return flow.
The shipping methods used in the cart.
The gift cards and discounts applied on line items.
Each object key or property is an ID of a line item
Was this section helpful?