atg.commerce.pricing.OrderPricingEngine is an extension of the PricingEngine interface. (See The Base Pricing Engine.) It describes an object that determines prices for Order objects, which equal the total price of all items in a customer’s shopping cart. An OrderPricingEngine uses the priceOrder method to determine the price of an order.

The pricing context is defined by the priceOrder method’s input parameters. Implementations of this interface create an OrderPriceInfo object that accurately represents the price of an input order. The way in which they do this depends on the implementation. The specific way in which the engine creates the order object varies according to individual implementations.

Oracle ATG Web Commerce provides the OrderPricingEngineImpl class as a default implementation of the OrderPricingEngine interface. It computes the price for an order, invoking a series of OrderPricingCalculators.


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

Legal Notices