The ItemDiscountMultiplierCalculator component is a preconfigured instance of the class atg.commerce.pricing.ItemDiscountMultiplierCalculator. It is the default discount calculator for the following type of promotion:

The following sample shows the contents of the ItemDiscountMultiplierCalculator.properties file:

# The ItemPricingCalculator which calculates a discount
#

$class=atg.commerce.pricing.ItemDiscountMultiplierCalculator

pricingModelProperties=/atg/commerce/pricing/PricingModelProperties
qualifierService=/atg/commerce/pricing/QualifierService

The following table describes the properties of the ItemDiscountMultiplierCalculator component.

Property

Description

pricingModelProperties

Specifies a bean that hosts the names of all of the properties of a pricing model repository item.

qualifierService

Specifies a Qualifier that performs the actual evaluation of a pmdlRule of the PricingModel against the running environment.

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

For more information, refer to the description of the ItemDiscountMultiplierCalculator class.

 
loading table of contents...