com.ibm.commerce.order.calculation
Interface WeightCalculationScaleLookupCmd
- All Superinterfaces:
- BusinessPolicyCommand, CalculationCmd, CalculationScaleLookupCmd, ECCommand, TaskCommand
- All Known Implementing Classes:
- WeightCalculationScaleLookupCmdImpl
- public interface WeightCalculationScaleLookupCmd
- extends CalculationScaleLookupCmd
This version of the CalculationScaleLookup
command is intended for calculation scales that are based on physical
weight. It returns:
Property | Value |
base monetary value | sum of net prices |
lookup number | sum of physical weights |
result multiplier | 1 |
weight of each item | physical weight of each item |
Appropriate for shipping scales. ( (The charge is determined from the
"shipping weight", and spread back to the OrderItems in proportion to their
"shipping weights".)
The "lookup number" is the sum of the "shipping weights" of the OrderItems,
converted to the QuantityUnit specified by the quantityUnit attribute of the
CalculationScale. The "base monetary value" is the sum of the "net prices" of
the OrderItems. The "result multiplier" is one. The mathematical weights are
the "shipping weights" of the OrderItems.
- 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