com.ibm.commerce.taxation.commands

Class TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, com.ibm.commerce.order.utils.CalculationCmd, com.ibm.commerce.order.utils.CalculationScaleLookupCmd, TaxableNetPricePlusNetShippingCalculationScaleLookupCmd, 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 TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl
    extends com.ibm.commerce.order.utils.CalculationCmdImpl
    implements TaxableNetPricePlusNetShippingCalculationScaleLookupCmd
    Appropriate for "combined sales and shipping" tax scales.

    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. (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.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl

        public TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl()
        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