com.ibm.commerce.order.calculation

Interface NetShippingCalculationScaleLookupCmd

  • 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:
    NetShippingCalculationScaleLookupCmdImpl


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

    Appropriate for "shipping" tax scales.
    Both the "lookup number" and the "base monetary value" are the sum of the shipping charges for the OrderItems. 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 shipping charges of the OrderItems.
    See Also:
    CalculationScaleLookupCmd, Item