com.ibm.commerce.taxation.commands

Interface TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.order.utils.CalculationCmd, com.ibm.commerce.order.utils.CalculationScaleLookupCmd, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl


    public interface TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd
    extends com.ibm.commerce.order.utils.CalculationScaleLookupCmd
    Appropriate for "per item" "combined sales and shipping" tax scales, especially where a maximum tax per item may be specified. (Only appropriate when the
    PerOffer
    attribute of the
    CalculationCode
    is 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

    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 the sum of the OrderItem quantities. The mathematical weights are the "taxable net prices" plus the shipping charge each divided by its OrderItem quantity.