You use the atg.commerce.pricing.TaxProcessorTaxCalculator
class if you are setting up a site that uses third-party software to handle tax calculation. This class consults a TaxProcessor
(an implementation of the atg.payment.tax.TaxProcessor
interface) to determine how much tax to charge for an order.
The TaxProcessorTaxCalculator
component is located in the ATG Control Center at atg/commerce/pricing/calculators
. TaxProcessorTaxCalculator
class has the following properties:
taxStatusProperty
: The property in the SKU repository that indicates whether each SKU is taxable or not.taxProcessor
: Your custom tax calculator component. Note: The defaultTaxProcessor
for Oracle ATG Web Commerce is/atg/commerce/payment/DummyTaxProcessor
, which always returns “no tax.”orderManager
: The location of theOrderManager
class instance. The default is/atg/commerce/order/OrderManager
.pricingTools
: The location of thePricingTools
class instance. The default is/atg/commerce/pricing/PricingTools
.verifyAddresses
: Iftrue
, theTaxProcessor
verifies the addresses passed in before attempting to calculate tax.calculateTaxByShipping
: Iftrue
, the calculator calculates tax by shipping group. Iffalse
, tax is calculated by total order.