public class TaxCalculationRuleCalculateCmdImpl extends com.ibm.commerce.order.utils.CalculationRuleCalculateCmdImpl implements TaxCalculationRuleCalculateCmd
CalculationScale.
CalculationScaleis applicable if it can calculate a MonetaryAmount in the Order currency. But a
CalculationScalewhose
currStrindicates a currency other than the Order currency is not applicable. The
CalculationScaleis not applicable if either:
CalculationScalehas a
currStrthat does indicate the Order currency, or
currStrattribute exists and can produce a lower total result.
The default implementation's algorithm is:
CalculationScalethrows a conversion exception, continue processing as if we did not call that
CalculationScale.
CalculationScaleassociated with this CalculationRule whose
currStrattribute is empty:
CalculationScale. Add this result to the total result for each OrderItem.
currStrattributes of the CalculationScales. The CalculationScales'
currStrattributes indicate currencies that can be converted to the Order currency.
CalculationScaleassociated with this CalculationRule whose
currStrattribute indicates the
CalculationScaleis in that currency:
CalculationScale. Add these results to the candidate results.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
|
Constructor and Description |
---|
TaxCalculationRuleCalculateCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
Deprecated.
Executes main business logic of the command.
|
void | setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
Deprecated.
Sets the CalculationRuleAccessBean.
|
void | setOrderItemABHash(java.util.Hashtable orderItemABHash)
Deprecated.
Sets the list of OrderItemAccessBean.
|
public static final java.lang.String COPYRIGHT
public TaxCalculationRuleCalculateCmdImpl()
public void performExecute() throws ECException
public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
public void setOrderItemABHash(java.util.Hashtable orderItemABHash)