com.ibm.commerce.order.calculation
Interface NonDiscountedPriceCalculationScaleLookupCmd
- All Superinterfaces:
- BusinessPolicyCommand, CalculationCmd, CalculationScaleLookupCmd, ECCommand, TaskCommand
- All Known Implementing Classes:
- NonDiscountedPriceCalculationScaleLookupCmdImpl
- public interface NonDiscountedPriceCalculationScaleLookupCmd
- extends CalculationScaleLookupCmd
This version of the CalculationScaleLookup
command is intended for calculation scales that are based on non-discounted
price. It returns:
Property | Value |
base monetary value | sum of non-discounted prices |
lookup number | sum of non-discounted prices |
result multiplier | 1 |
weight of each item | non-discounted price of each item |
Appropriate for shipping scales based on the non-discounted price. May
sometimes also be appropriate for some kinds of discounts.
Both the "lookup number" and the "base monetary value" are the sum of the
price*quantity 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 price*quantity
of each OrderItem.
- See Also:
CalculationScaleLookupCmd
,
Item
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME