Given a calculation range, a calculation range lookup result, a lookup number and a base monetary value, this command will simply the value of the calculation range in the currency specified.
For more information, refer to the default implementation of this command, FixedAmountCalculationRangeCmdImpl.
This command is registered as the following bootstrap calculation methods:
Calculation Method ID | Calculation Usage ID | Name |
---|---|---|
-13 | -1 | CalculationRange (discount, fixed amount) |
-33 | -2 | CalculationRange (shipping, fixed amount) |
-57 | -3 | CalculationRange (sales tax, fixed amount) |
-75 | -4 | CalculationRange (shipping tax, fixed amount) |
-5013 | -5 | CalculationRange (coupon, fixed amount) |
Field Summary | |
static java.lang.String | COPYRIGHT The IBM copyright notice field. |
static java.lang.String | defaultCommandClassName The default implementation of this command. |
static java.lang.String | NAME The name of this command. |
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationRangeCmd |
getValue, setBaseMonetaryValue, setLookupNumber, setLookupResult, setRange |
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCmd |
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId |
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand |
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.