DefaultTaxLineCalculationStrategy

DefaultTaxLineCalculationStrategy

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

Signature

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

Implements

Members

calculate

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