com.ibm.commerce.taxation.commands
Class NetShippingCalculationScaleLookupCmdImpl

java.lang.Object
  |
  +--CalculationCmdImpl
        |
        +--com.ibm.commerce.taxation.commands.NetShippingCalculationScaleLookupCmdImpl

public class NetShippingCalculationScaleLookupCmdImpl
extends CalculationCmdImpl

Appropriate for shipping tax scales.

Both the "lookup number" and the "base monetary value" are the sum of the shipping charges for the OrderItems. The "lookup number" is converted to the currency specified by the currStr attribute of the CalculationScale. The "result multiplier" is one. The mathematical weights are the shipping charges of the OrderItems.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
NetShippingCalculationScaleLookupCmdImpl()
           
 
Method Summary
 MonetaryAmount getBaseMonetaryAmount()
           
 java.math.BigDecimal getLookupNumber()
           
 java.math.BigDecimal getResultMultiplier()
           
 void performExecute()
           
 void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
           
 void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
           
 void setOrderItemABHash(java.util.Hashtable orderItemABHash)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

NetShippingCalculationScaleLookupCmdImpl

public NetShippingCalculationScaleLookupCmdImpl()
Method Detail

getBaseMonetaryAmount

public MonetaryAmount getBaseMonetaryAmount()

getLookupNumber

public java.math.BigDecimal getLookupNumber()

getResultMultiplier

public java.math.BigDecimal getResultMultiplier()

performExecute

public void performExecute()
                    throws ECException
ECException

setCalculationRuleAB

public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)

setCalculationScaleAB

public void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)

setOrderItemABHash

public void setOrderItemABHash(java.util.Hashtable orderItemABHash)