TaxCalculationStrategy

TaxCalculationStrategy

Documentation generated from tax-calculation-strategy.ts on Feb 19 2019 at 16:20

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
alpha