public class ContractPriceAdditionCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements ContractPriceAdditionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
NAME
Constructor and Description |
---|
ContractPriceAdditionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
MonetaryAmount |
getAddedMonetaryAmount()
Returns total amount of dynamickit components
|
void |
performExecute() |
void |
setBaseMonetaryAmountToAdd(MonetaryAmount bPrice)
Sets base amount to be added
|
void |
setMonetaryAmountToAdd(MonetaryAmount price)
Sets amount to be added
|
void |
setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean orderItemComponentAB)
Sets order item access bean which passed in.
|
void |
setQuantity(java.lang.Double inQuantity)
Sets quantity of each compoent
|
void |
validateParameters() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public MonetaryAmount getAddedMonetaryAmount()
ContractPriceAdditionCmd
getAddedMonetaryAmount
in interface ContractPriceAdditionCmd
ContractPriceAdditionCmd.getAddedMonetaryAmount()
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
com.ibm.websphere.command.TargetableCommand#performExecute()
public void setBaseMonetaryAmountToAdd(MonetaryAmount bPrice)
ContractPriceAdditionCmd
setBaseMonetaryAmountToAdd
in interface ContractPriceAdditionCmd
ContractPriceAdditionCmd.setMonetaryAmountToAdd(MonetaryAmount)
public void setMonetaryAmountToAdd(MonetaryAmount price)
ContractPriceAdditionCmd
setMonetaryAmountToAdd
in interface ContractPriceAdditionCmd
ContractPriceAdditionCmd.setMonetaryAmountToAdd(MonetaryAmount)
public void setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean orderItemComponentAB)
ContractPriceAdditionCmd
setOrderItemComponentAccessBean
in interface ContractPriceAdditionCmd
orderItemComponentAB
- the order item access bean contains components in this dynamickit.ContractPriceAdditionCmd.setOrderItemComponentAccessBean(OrderItemComponentAccessBean)
public void setQuantity(java.lang.Double inQuantity)
ContractPriceAdditionCmd
setQuantity
in interface ContractPriceAdditionCmd
com.ibm.commerce.price.commands.ContractPriceAdditionCmd#setQuantity(Long)
public void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
com.ibm.websphere.command.TargetableCommand#validateParameters()