public class TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl extends com.ibm.commerce.order.utils.CalculationCmdImpl implements TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd
PerOfferattribute of the
CalculationCodeis true.)
The "lookup number" and the "base monetary value" are equal. It is the sum of the "taxable net prices" of the OrderItems plus the sum of their shipping charges, divided by the "result multiplier". (Use the
CalculationRuleto determine the
TaxCategory). The "lookup number" is converted to the currency specified by the
currStrattribute of the
CalculationScale. The "result multiplier" is the sum of the OrderItem quantities. The mathematical weights are the "taxable net prices" plus the shipping charge each divided by its OrderItem quantity.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
|
Constructor and Description |
---|
TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount | getBaseMonetaryAmount()
Deprecated.
|
java.math.BigDecimal | getLookupNumber()
Deprecated.
|
java.math.BigDecimal | getResultMultiplier()
Deprecated.
|
void | performExecute()
Deprecated.
This method performs the business logic for this command.
|
void | setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
Deprecated.
|
void | setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
Deprecated.
|
void | setOrderItemABHash(java.util.Hashtable orderItemABHash)
Deprecated.
|
public static final java.lang.String COPYRIGHT
public TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl()
public MonetaryAmount getBaseMonetaryAmount()
public java.math.BigDecimal getLookupNumber()
public java.math.BigDecimal getResultMultiplier()
public void performExecute() throws ECException
public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
public void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
public void setOrderItemABHash(java.util.Hashtable orderItemABHash)