ARefundTaskCmdImplpublic abstract class RefundPaymentPolicyCmdImpl extends BusinessPolicyCommandImpl implements RefundPaymentPolicyCmd
Utilizes these access beans
defaultCommandClassName, NAME| Constructor and Description |
|---|
RefundPaymentPolicyCmdImpl()
Deprecated.
RefundPaymentPolicyCmdImpl constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
Deprecated.
Execute the command.
|
void |
reset()
Deprecated.
Reset the command.
|
void |
setErrorViewName(java.lang.String sEVN)
Deprecated.
(Optional) error view name passed in by the caller.
|
void |
setOrder(OrderAccessBean ab)
Deprecated.
The order to be refunded.
|
void |
setPaymentPolicyId(java.lang.Long aPolicyId)
Deprecated.
The id of the policy used to pay for the order originally.
|
void |
setRefundAmount(java.math.BigDecimal refundAmount)
Deprecated.
The amount to refund.
|
void |
setRMA(RMAAccessBean anRMA)
Deprecated.
The RMA to refund to.
|
void |
validateParameters()
Deprecated.
Check mandatory parameters.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, 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, setDefaultPropertiespublic RefundPaymentPolicyCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setErrorViewName(java.lang.String sEVN)
RefundPaymentPolicyCmdsetErrorViewName in interface RefundPaymentPolicyCmdsEVN - The error view name.public void setOrder(OrderAccessBean ab)
RefundPaymentPolicyCmdsetOrder in interface RefundPaymentPolicyCmdab - The order access bean.public void setPaymentPolicyId(java.lang.Long aPolicyId)
RefundPaymentPolicyCmdsetPaymentPolicyId in interface RefundPaymentPolicyCmdaPolicyId - The payment policy Id.public void setRefundAmount(java.math.BigDecimal refundAmount)
RefundPaymentPolicyCmdsetRefundAmount in interface RefundPaymentPolicyCmdrefundAmount - The amount to refund.public void setRMA(RMAAccessBean anRMA)
RefundPaymentPolicyCmdsetRMA in interface RefundPaymentPolicyCmdanRMA - The RMA access bean.public void validateParameters()
throws ECException
Parameters
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - If there is no RMAAccessBean or there is no OrderAccessBean or there is no Payment Policy Id or
there is no amount to be refunded specified, throws com.ibm.commerce.exception.ECApplicationException
with ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException