com.ibm.commerce.taxation.commands
Class TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl

com.ibm.commerce.taxation.commands.TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl
All Implemented Interfaces:
TaxableNetPricePlusNetShippingCalculationScaleLookupCmd

public class TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl
implements TaxableNetPricePlusNetShippingCalculationScaleLookupCmd

Appropriate for "combined sales and shipping" tax scales.

Both the "lookup number" and the "base monetary value" are the sum of the "taxable net prices" of the OrderItems plus the sum of their shipping charges. (Use the CalculationRule to determine the TaxCategory.) 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 "taxable net prices" plus the shipping charge of each OrderItems.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.taxation.commands.TaxableNetPricePlusNetShippingCalculationScaleLookupCmd
defaultCommandClassName, NAME
 
Constructor Summary
TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl()
           
 
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)
           
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl

public TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl()
Method Detail

getBaseMonetaryAmount

public MonetaryAmount getBaseMonetaryAmount()

getLookupNumber

public java.math.BigDecimal getLookupNumber()

getResultMultiplier

public java.math.BigDecimal getResultMultiplier()

performExecute

public void performExecute()
                    throws ECException

setCalculationRuleAB

public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)

setCalculationScaleAB

public void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)

setOrderItemABHash

public void setOrderItemABHash(java.util.Hashtable orderItemABHash)