public class FinalizePaymentVoidCmdImpl extends AEDPStoreTaskCmdImpl implements FinalizePaymentCmd
FinalizePaymentCmd
task command.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM Copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
FinalizePaymentVoidCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
executeFinalizePaymentTCs()
This method executes the paymentTCs required to call EDP finalizePayment
|
java.math.BigDecimal |
getFinalizationAmount()
This method returns the amount to be finalized as a BigDecimal Object.
|
OrderAccessBean |
getOrderAccessBean()
This method returns a reference to the order access bean.
|
java.lang.Long |
getReleaseId()
This method returns the current release id.
|
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.Just do nothing.
|
void |
reset()
This method resets the command fields.
|
void |
setFinalizationAmount(java.math.BigDecimal paramFinalizationAmount)
This method sets the amount to be finalized.
|
void |
setReleaseId(java.lang.Long paramReleaseId)
This method sets the ID of the release for which the amount is being finalized.
|
getCurrency, getOrderAmount, getPaymentInstructions, setCurrency, setOrderAmount, setPaymentInstructions, validateInsideProcessFG
getErrorMessageMap, getStoreId, insertActionListToActionDetailHash, insertActionListToEditActionDetailHash, isBgJobInWorking, isProcessBGExecutableInFG, setBgJobStatusInDb, setErrorMessageMap, setStoreId, toString
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 void setFinalizationAmount(java.math.BigDecimal paramFinalizationAmount)
setFinalizationAmount
in interface FinalizePaymentCmd
paramFinalizationAmount
- A BigDecimal that specifies the amount to be finalized.public java.math.BigDecimal getFinalizationAmount()
public OrderAccessBean getOrderAccessBean()
This method returns 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 setReleaseId(java.lang.Long paramReleaseId)
setReleaseId
in interface FinalizePaymentCmd
paramReleaseId
- A Long that specifies the sets the ID of the release.public java.lang.Long getReleaseId()
public void executeFinalizePaymentTCs() throws ECException
ECException
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
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