The ShippingPricingCalculator interface, atg.commerce.pricing.ShippingPricingCalculator, modifies a price object that represents the cost of shipping for an order.

The shipping pricing engine invokes the priceShippingGroup method of the ShippingPricingCalculator (or calculators) that it is configured to use. The priceShippingGroup method modifies the input pPriceQuote according to the current pricing context. The specific way in which the calculator modifies a shipping price varies according to individual implementations.

Oracle ATG Web Commerce includes several classes that are implementations of the ShippingPricingCalculator interface. For example, it includes the atg.commerce.pricing.ShippingDiscountCalculator class, which you can use to apply a promotional discount to the shipping price of an order.

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