Given a calculation range, a calculation range lookup result, a lookup number and a base monetary value, commands that extend this interface will calculate the resulting value.
This is the base interface that commands registered as calculation methods of type "CalculationRange" must extend. These commands include:
Field Summary | |
static java.lang.String | COPYRIGHT The IBM copyright notice field. |
static java.lang.String | NAME The name of this interface. |
Method Summary | |
java.math.BigDecimal | getValue() Returns the resulting value. |
void | setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue) Sets the base monetary value. |
void | setLookupNumber(java.math.BigDecimal adLookupNumber) Sets the lookup number. |
void | setLookupResult(CalculationRangeLookupResultAccessBean aabLookupResult) Sets the calculation range lookup result. |
void | setRange(CalculationRangeAccessBean aabRange) Sets the calculation range. |
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
Method Detail |
public java.math.BigDecimal getValue()
public void setBaseMonetaryValue(java.math.BigDecimal adBaseMonetaryValue)
public void setLookupNumber(java.math.BigDecimal adLookupNumber)
public void setLookupResult(CalculationRangeLookupResultAccessBean aabLookupResult)
public void setRange(CalculationRangeAccessBean aabRange)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.