This atg.commerce.pricing.DoubleRangeShippingCalculator class is an abstract shipping calculator that determines the shipping price by comparing a value from the ShippingGroup to a series of ranges. The service is configured through the ranges property. It is extended by the PriceRangeShippingCalculator, PropertyRangeShippingCalculator, and WeightRangeShippngCalculator classes.

With the given array of price range configurations (format: low:high:price), the service parses the values into their double format for calculating shipping costs. For example:

ranges=00.00:15.99:4.50,\
        16.00:30.99:6.00,\
        31.00:40.99:7.25,\
        41.00:MAX_VALUE:10.00

Note: The keyword MAX_VALUE indicates the maximum possible value in the range.

The DoubleRangeShippingCalculator also contains the following properties:


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