DefaultTaxZoneStrategy
DefaultTaxZoneStrategy
A default method of determining Zone for tax calculations. The strategy simply returns the default tax zone of the Channel. In many cases you actually want to base the tax zone on the shipping or billing address of the Order, in which case you would use the AddressBasedTaxZoneStrategy.
Signature
class DefaultTaxZoneStrategy implements TaxZoneStrategy {
determineTaxZone(ctx: RequestContext, zones: Zone[], channel: Channel, order?: Order) => Zone;
}
- Implements:
TaxZoneStrategy