The atg.commerce.pricing.BulkItemDiscountCalculator
class is a calculator that supports bulk item discounts. This class is based on the ItemDiscountCalculator
. The unique behavior of BulkItemDiscountCalculator
is to determine the adjuster for the discount; other functionality is inherited.
The calculator has two default properties for banding attributes, in case those are not provided in the PMDL:
defaultBandingProperty = null
defaultBandingPropertyScope = "DetailedItemPriceInfo"
The defaultBandingPropertyScope
provides access to the collection of qualified items for the calculator to process.
The calculator’s bandedDiscountCalculatorHelper
points to the BandedDiscountCalculatorHelper
class that holds the banded discount logic. See the BandedDiscountCalculatorHelper section for details.
For additional information, refer to the ATG Platform API Reference.