TaxCalculationStrategy

TaxCalculationStrategy

Defines how taxes are calculated based on the input price, tax zone and current request context.

Signature

interface TaxCalculationStrategy {
  calculate(args: TaxCalculationArgs): TaxCalculationResult;
}

Members

calculate

method
type:
(args: TaxCalculationArgs) => TaxCalculationResult