com.ibm.commerce.order.calculation

Interface TaxableNetPricePlusNetShippingCalculationScaleLookupCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, CalculationCmd, 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:
    TaxableNetPricePlusNetShippingCalculationScaleLookupCmdImpl


    public interface TaxableNetPricePlusNetShippingCalculationScaleLookupCmd
    extends CalculationScaleLookupCmd
    This version of the CalculationScaleLookup command is intended for calculation scales that are based on taxable net price plus net shipping charge. It returns:
    Property Value
    base monetary value sum of taxable net prices plus shipping charges
    lookup number sum of taxable net prices plus shipping charges
    result multiplier 1
    weight of each itemtaxable net price plus shipping charge of each item

    Appropriate for "combined sales and shipping" tax scales.
    The "lookup number" and the "base monetary value" are equal. They 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.
    See Also:
    CalculationScaleLookupCmd, Item