public class TriggerPaymentActionsVoidCmdImpl extends AEDPPaymentTaskCmdImpl implements TriggerPaymentActionsCmd
TriggerPaymentActionsCmd
task command.
defaultCommandClassName, NAME
Constructor and Description |
---|
TriggerPaymentActionsVoidCmdImpl() |
Modifier and Type | Method and Description |
---|---|
OrderAccessBean |
getOrderAccessBean()
This method gets a reference to the order access bean.
|
boolean |
isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters
have been set for this command.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method resets the command fields.
|
void |
setInitialAmount(java.math.BigDecimal initialAmount)
This method sets the initial amount to be used in the prime payment request.
|
void |
setOrderAccessBean(OrderAccessBean abOrder)
This method sets a reference to the order access bean.
|
void |
setTotalAmount(java.math.BigDecimal totalAmount)
This method sets the total amount of the order.
|
getErrorMessageMap, getStoreId, insertActionListToActionDetailHash, insertActionListToEditActionDetailHash, isBgJobInWorking, isProcessBGExecutableInFG, setBgJobStatusInDb, setErrorMessageMap, setStoreId, toString, validateInsideProcessFG
getCurrency, getEdpException, getEDPOrderId, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, getStatus, isIdempotent, isProcessBGTasksRequired, resetServices, setBGProcessFinished, setEdpException, setEDPOrderId, setEDPResults, setOrderChannel, setOrderId, setProcessBGTasksRequired, setStatus
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, wait, wait, wait
getCurrency, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, setEDPResults, setOrderId
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 void setOrderAccessBean(OrderAccessBean abOrder)
abOrder
- A reference to the order access bean.public OrderAccessBean getOrderAccessBean()
This method gets a reference to the order access bean.
This method will first check if there is a local reference to the order access bean. If not present, it will create a new one.
OrderAccessBean
that corresponds to the Order to paid for.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
Do nothing
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- This exception is thrown in case of any failure.public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPPaymentTaskCmdImpl
public void setInitialAmount(java.math.BigDecimal initialAmount)
setInitialAmount
in interface TriggerPaymentActionsCmd
initialAmount
- A BigDecimal that specifies the initial amount
to be used in the prime payment request.public void setTotalAmount(java.math.BigDecimal totalAmount)
setTotalAmount
in interface TriggerPaymentActionsCmd
totalAmount
- A BigDecimal that specifies the total amount of the order.