com.ibm.commerce.order.calculation
Interface NetPriceCalculationScaleLookupCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, CalculationScaleLookupCmd, TaskCommand
All Known Implementing Classes:
NetPriceCalculationScaleLookupCmdImpl

public interface NetPriceCalculationScaleLookupCmd
extends CalculationScaleLookupCmd

This version of the CalculationScaleLookup command is intended for calculation scales that are based on net price. It returns:

Property Value
base monetary value sum of net prices
lookup number sum of net prices
result multiplier 1
weight of each item net price of each item
Appropriate for discount and shipping scales based on the (possibly) discounted price. Both the "lookup number" and the "base monetary value" are the sum of the "net prices" of 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 "net prices" of the OrderItems.
See Also:
CalculationScaleLookupCmd, Item

Field Summary
static java.lang.String COPYRIGHT
static java.lang.String defaultCommandClassName
static java.lang.String NAME
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationScaleLookupCmd
getBaseMonetaryValue, getLookupNumber, getResultMultiplier, getWeights, setItems, setRule, setScale
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
See Also:
Constant Field Values

Feedback