com.ibm.commerce.order.calculation
Class NetPriceCalculationScaleLookupCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.command.BusinessPolicyCommandImpl
-
- com.ibm.commerce.order.calculation.CalculationCmdImpl
-
- com.ibm.commerce.order.calculation.NonDiscountedPriceCalculationScaleLookupCmdImpl
-
- com.ibm.commerce.order.calculation.NetPriceCalculationScaleLookupCmdImpl
-
- All Implemented Interfaces:
- BusinessPolicyCommand, com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CalculationCmd, CalculationScaleLookupCmd, NetPriceCalculationScaleLookupCmd, NonDiscountedPriceCalculationScaleLookupCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
- Direct Known Subclasses:
- NetPriceWithQuantityAsResultMultiplierCalculationScaleLookupCmdImpl
public class NetPriceCalculationScaleLookupCmdImpl extends NonDiscountedPriceCalculationScaleLookupCmdImpl implements NetPriceCalculationScaleLookupCmd
This is the default implementation of theNetPriceCalculationScaleLookup
command. This command is suitable for calculating discounts or shipping scales based on a discounted price. The values calculated by this command are as follows:- Base monetary value
- The sum of net prices of the OrderItems
- Look-up number
- The sum of net prices of the OrderItems
- Mathematical weights
- The net price of each OrderItem
- Result multiplier
- One
- See Also:
NetPriceCalculationScaleLookupCmd
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
-
Fields inherited from interface com.ibm.commerce.order.calculation.NetPriceCalculationScaleLookupCmd
defaultCommandClassName, NAME
-
Fields inherited from interface com.ibm.commerce.order.calculation.NonDiscountedPriceCalculationScaleLookupCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description NetPriceCalculationScaleLookupCmdImpl()
-
Method Summary
-
Methods inherited from class com.ibm.commerce.order.calculation.NonDiscountedPriceCalculationScaleLookupCmdImpl
getBaseMonetaryValue, getLookupNumber, getResultMultiplier, getWeights, performExecute, reset, setItems, setRule, setScale
-
Methods inherited from class com.ibm.commerce.order.calculation.CalculationCmdImpl
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
-
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
-
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
-