ITaxCalculationStrategy
Methods
calculate
**calculate**(items, taxLines, calculationContext): Promise<number>
Calculates the tax amount for a given set of line items under applicable tax conditions and calculation contexts.
Parameters
the line items to calculate the tax total for
the tax lines that applies to the calculation
other details relevant for the calculation
Returns
Promise<number>
Promise
Promise<number>Requiredthe tax total
Was this section helpful?