DefaultTaxLineCalculationStrategy

DefaultTaxLineCalculationStrategy

The default TaxLineCalculationStrategy which applies a single TaxLine to the OrderItem based on the applicable TaxRate.

Signature

class DefaultTaxLineCalculationStrategy implements TaxLineCalculationStrategy {
  calculate(args: CalculateTaxLinesArgs) => TaxLine[];
}

Implements

Members

calculate

method
type:
(args: CalculateTaxLinesArgs) => TaxLine[]