public class CheckOrderPaymentAuthorizedVoidCmdImpl extends AEDPPaymentTaskCmdImpl implements CheckOrderPaymentAuthorizedCmd
CheckOrderPaymentAuthorizedCmd
.
It always returns true
The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base.
Note that please use the void implementation of all commands once you decide to disable the command implementation.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckOrderPaymentAuthorizedVoidCmdImpl()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
isOrderTotalAuthorized()
This method returns if the order is totally approved in Payment Rule.
|
boolean |
isReadyToCallExecute()
This method checks if the command is ready to be executed.
|
void |
performExecute()
This method provides the business logic of this command.
|
void |
reset()
This method resets the command fields.
|
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 static final java.lang.String COPYRIGHT
public CheckOrderPaymentAuthorizedVoidCmdImpl()
public java.lang.Boolean isOrderTotalAuthorized()
isOrderTotalAuthorized
in interface CheckOrderPaymentAuthorizedCmd
public boolean isReadyToCallExecute()
performExecute()
.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- this exception is thrown when
any kind of failure in event-driven payments subcomponent.public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AEDPPaymentTaskCmdImpl