The atg.commerce.pricing.BulkTaxDiscountCalculator
class is a calculator that supports bulk item discounts. This class is based on the TaxDiscountCalculator
. The unique behavior of BulkTaxDiscountCalculator
is to determine the adjuster for the discount; other functionality is inherited.
The calculator has a default property for banding attributes, in case those are not provided in the PMDL:
defaultBandingProperty = "OrderPriceInfo.amount"
The defaultBandingProperty
provides access to the shipping price for the calculator to process.
The calculator’s bandedDiscountCalculatorHelper
method points to the BandedDiscountCalculatorHelper
class that holds the banded discount logic. See the BandedDiscountCalculatorHelper section in this chapter and the ATG Platform API Reference.