public class ReservePaymentVoidCmdImpl extends AEDPStoreTaskCmdImpl implements ReservePaymentCmd
ReservePaymentCmd task command.
com.ibm.commerce.inventory.commands.ReleaseOrdersToFulfillmentCmdImpl.
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 |
|---|
ReservePaymentVoidCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
getReleaseIds()
This method obtains the list of release ids to be reserved.
|
java.util.HashMap |
getReleases()
This method gets the list of releases to be processed in this request.
|
java.math.BigDecimal |
getReservationAmount()
This method gets the total amount to be reserved.
|
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 ,
which does nothing here.
|
void |
reset()
This method resets the command fields.
|
void |
setReleases(java.util.HashMap paramReleases)
This method sets the releases to be reserved.
|
void |
setReservationAmount(java.math.BigDecimal paramReservationAmount)
This method sets the total order amount.
|
getCurrency, getOrderAmount, getPaymentInstructions, setCurrency, setOrderAmount, setPaymentInstructions, validateInsideProcessFGgetErrorMessageMap, getStoreId, insertActionListToActionDetailHash, insertActionListToEditActionDetailHash, isBgJobInWorking, isProcessBGExecutableInFG, setBgJobStatusInDb, setErrorMessageMap, setStoreId, toStringgetEdpException, getEDPOrderId, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, getStatus, isIdempotent, isProcessBGTasksRequired, resetServices, setBGProcessFinished, setEdpException, setEDPOrderId, setEDPResults, setOrderChannel, setOrderId, setProcessBGTasksRequired, setStatusaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, setEDPResults, setOrderIdexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic void setReleases(java.util.HashMap paramReleases)
setReleases in interface ReservePaymentCmdparamReleases - A HashMap that represents the list of release IDs
and their amounts to be reserved.public java.util.HashMap getReleases()
public void setReservationAmount(java.math.BigDecimal paramReservationAmount)
setReservationAmount in interface ReservePaymentCmdparamReservationAmount - A BigDecimal that specifies the total amount to be reserved.public java.math.BigDecimal getReservationAmount()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - This exception is thrown in case of a 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.Commandreset in class AEDPPaymentTaskCmdImplpublic java.util.Collection getReleaseIds()