public class TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl extends com.ibm.commerce.order.utils.CalculationCmdImpl implements TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmd
PerOfferattribute of the
CalculationCodeis true.)
The "lookup number" and the "base monetary value" are equal. It is the sum of the "taxable net prices" of the OrderItems plus the sum of their shipping charges, divided by the "result multiplier". (Use the
CalculationRuleto determine the
TaxCategory). The "lookup number" is converted to the currency specified by the
currStrattribute of the
CalculationScale. The "result multiplier" is the sum of the OrderItem quantities. The mathematical weights are the "taxable net prices" plus the shipping charge each divided by its OrderItem quantity.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
getBaseMonetaryAmount()
Deprecated.
|
java.math.BigDecimal |
getLookupNumber()
Deprecated.
|
java.math.BigDecimal |
getResultMultiplier()
Deprecated.
|
void |
performExecute()
Deprecated.
This method performs the business logic for this command.
|
void |
setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
Deprecated.
|
void |
setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
Deprecated.
|
void |
setOrderItemABHash(java.util.Hashtable orderItemABHash)
Deprecated.
|
reset, setCalculationCmdCache, setCalculationUsage, setOrderCurrency, validateParameters
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setCalculationCmdCache, setCalculationUsage, setOrderCurrency
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public TaxableUnitPricePlusUnitShippingCalculationScaleLookupCmdImpl()
public MonetaryAmount getBaseMonetaryAmount()
getBaseMonetaryAmount
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
public java.math.BigDecimal getLookupNumber()
getLookupNumber
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
public java.math.BigDecimal getResultMultiplier()
getResultMultiplier
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setCalculationRuleAB(CalculationRuleAccessBean calculationRuleAB)
setCalculationRuleAB
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
public void setCalculationScaleAB(CalculationScaleAccessBean calculationScaleAB)
setCalculationScaleAB
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd
public void setOrderItemABHash(java.util.Hashtable orderItemABHash)
setOrderItemABHash
in interface com.ibm.commerce.order.utils.CalculationScaleLookupCmd