com.ibm.commerce.taxation.commands

Class TaxableNetPriceCalculationScaleLookupCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, com.ibm.commerce.order.utils.CalculationCmd, com.ibm.commerce.order.utils.CalculationScaleLookupCmd, TaxableNetPriceCalculationScaleLookupCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class TaxableNetPriceCalculationScaleLookupCmdImpl
    extends com.ibm.commerce.order.utils.CalculationCmdImpl
    implements TaxableNetPriceCalculationScaleLookupCmd
    Appropriate for sales tax scales.

    Both the "lookup number" and the "base monetary value" are the sum of the "taxable net prices" of the OrderItems. (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" of the OrderItems.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • TaxableNetPriceCalculationScaleLookupCmdImpl

        public TaxableNetPriceCalculationScaleLookupCmdImpl()
        Deprecated. 
    • Method Detail

      • getBaseMonetaryAmount

        public MonetaryAmount getBaseMonetaryAmount()
        Deprecated. 
        Specified by:
        getBaseMonetaryAmount in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
      • getLookupNumber

        public java.math.BigDecimal getLookupNumber()
        Deprecated. 
        Specified by:
        getLookupNumber in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
      • getResultMultiplier

        public java.math.BigDecimal getResultMultiplier()
        Deprecated. 
        Specified by:
        getResultMultiplier in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
      • performExecute

        public void performExecute()
                            throws ECException
        Deprecated. 
        Description copied from class: AbstractECTargetableCommand
        This method performs the business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
      • setCalculationRuleAB

        public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
        Deprecated. 
        Specified by:
        setCalculationRuleAB in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
      • setCalculationScaleAB

        public void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
        Deprecated. 
        Specified by:
        setCalculationScaleAB in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
      • setOrderItemABHash

        public void setOrderItemABHash(java.util.Hashtable orderItemABHash)
        Deprecated. 
        Specified by:
        setOrderItemABHash in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd