The atg.commerce.pricing.ShippingDiscountCalculator
class calculates ShippingPriceInfos
for specified ShippingGroups
. This calculator receives a MatchingObject
and DiscountStructure
from the pricing engine, then computes a ShippingPriceInfo
based on the input PricingModel
(RepositoryItem
).
See the ATG Platform API Reference for detailed information on ShippingDiscountCalculator
and its related classes.
The ShippingDiscountCalculator
component is a preconfigured instance of the class atg.commerce.pricing.ShippingDiscountCalculator
. It is the default discount calculator for shipping promotions.
The following table describes the properties of the ShippingDiscountCalculator
component.
Property | Description |
---|---|
| Specifies a bean that hosts the names of all of the properties of a pricing model repository item. |
| Specifies a Qualifier that performs the actual evaluation of a |
| Determines what happens when discounts cause the amount of an item to be negative.
|
You can view and modify the ShippingDiscountCalculator
component in the ATG Control Center. The component is located in /atg/commerce/pricing/calculators/ShippingDiscountCalculator
.