public abstract class ARefundTaskCmdImpl extends AEDPTaskCmdImpl implements ARefundTaskCmd
| Constructor and Description |
|---|
ARefundTaskCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrency()
This method returns the current currency.
|
java.lang.Integer |
getCurrentStoreId()
This method returns the store id through RMA.
|
java.lang.Long |
getPaymentPolicyId()
This method returns the payment policy ID and the corresponding policy
will be used as the refund method.
|
java.util.ArrayList |
getRefundInstructions()
This method returns the refund instructions.
|
java.lang.Long |
getRmaId()
This method returns the identifier of current RMA.
|
boolean |
isProcessBGExecutableInFG()
This method checks if the background tasks can be processed in the foreground thread.
|
void |
reset()
This method resets the instance variable of this command.
|
void |
setBgJobStatusInDb(java.lang.Integer bgJobStatus)
This method sets the background status on the current refund.
|
void |
setCurrency(java.lang.String localCurrency)
This method sets the current currency.
|
void |
setPaymentPolicyId(java.lang.Long localPaymentPolicyId)
This method sets the payment policy ID and the corresponding policy will
be used as the refund method, this value is set by
ReturnProcessCmdImpl. |
void |
setRefundInstructions(java.util.ArrayList localRefundInstructions)
This method sets the refund instructions.
|
void |
setRMAAB(RMAAccessBean anRMAAB)
This method sets the RMA being accessed.
|
void |
setRmaId(java.lang.Long localRmaId)
This method sets the identifier of current RMA(Return Merchandise Authorization).
|
java.lang.String |
toString()
This method converts this request data into a human-readable string.
|
void |
validateInsideProcessFG()
This method validates if the required parameters are present for the foreground tasks.
|
getEdpException, 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, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, 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, waitgetEDPResults, getLanguageId, getLocale, getOrderChannel, getOrderId, setEDPResults, setOrderIdexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic void setRmaId(java.lang.Long localRmaId)
setRmaId in interface ARefundTaskCmdlocalRmaId - The identifier of current RMApublic final java.lang.Long getRmaId()
public void setCurrency(java.lang.String localCurrency)
localCurrency - The currency to setpublic java.lang.String getCurrency()
getCurrency in interface AEDPTaskCmdgetCurrency in class AEDPTaskCmdImplpublic java.util.ArrayList getRefundInstructions()
public void setRefundInstructions(java.util.ArrayList localRefundInstructions)
localRefundInstructions - ArrayList The current refund instructions to processpublic java.lang.String toString()
toString in class AEDPTaskCmdImplpublic void validateInsideProcessFG()
throws EDPException
AEDPTaskCmdImpl.validateInsideProcessFG(),
then check if RMA ID is present.validateInsideProcessFG in class AEDPTaskCmdImplEDPException - In case Payment Rules errorpublic boolean isProcessBGExecutableInFG()
isProcessBGExecutableInFG in class AEDPTaskCmdImplpublic void setBgJobStatusInDb(java.lang.Integer bgJobStatus)
throws J2EEException,
InputException,
ECException
bgJobStatus - The new statusJ2EEException - If EJBs cannot be accessedInputException - If an invalid status or invalid order is selectedECException - If store cannot be retrievedpublic java.lang.Integer getCurrentStoreId()
throws ECException
ECException - If store id cannot be retrieved from the RMApublic void setRMAAB(RMAAccessBean anRMAAB)
anRMAAB - The RMA access beanpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AEDPTaskCmdImplpublic java.lang.Long getPaymentPolicyId()
public void setPaymentPolicyId(java.lang.Long localPaymentPolicyId)
ReturnProcessCmdImpl.localPaymentPolicyId - The payment policy ID to set.