The atg.commerce.pricing.TaxPricingCalculator
interface modifies the price of tax for an order.
The tax pricing engine invokes the priceTax
method of the TaxPricingCalculator
(or calculators). The calculator’s priceTax
method modifies the input pPriceQuote
according to the current pricing context. The specific way in which the calculator modifies a tax price varies according to individual implementations.
Oracle ATG Web Commerce includes several classes that are implementations of the TaxPricingCalculator
interface. For example, it includes the atg.commerce.pricing.NoTaxCalculator
class, which you can use for situations in which a sales tax of zero is applicable for an order.