The atg.commerce.pricing.BulkOrderDiscountCalculator class is a calculator that supports bulk item discounts. This class is based on the OrderDiscountCalculator. The unique behavior of BulkOrderDiscountCalculator 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 price for the calculator to process.

The calculator’s bandedDiscountCalculatorHelper points to a helper class, BandedDiscountCalculatorHelper, that holds the banded discount logic. See the BandedDiscountCalculatorHelper section for information.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices