The atg.commerce.pricing.ItemDiscountCalculator class calculates the new price for an item or items based on a given pricing model. It applies the discount that the pricing model describes to the price in the ItemPriceInfo corresponding to each passed CommerceItem. The discount can be a fixed amount, a percentage, or a fixed price.

The ItemDiscountCalculator class inherits all the properties of DiscountCalculatorService. See the ATG Platform API Reference for detailed information on ItemDiscountCalculator and its related classes.

The ItemDiscountCalculator component is a preconfigured instance of the class atg.commerce.pricing.ItemDiscountCalculator class. It is the default discount calculator for the item discount promotions.

You can view and modify this component in the ATG Control Center. Its location is /atg/commerce/pricing/calculators/ItemDiscountCalculator.


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