ARefundTaskCmdImpl
public 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, setRequestProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
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, toString, wait, wait, wait
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
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
public RefundPaymentPolicyCmdImpl()
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()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setErrorViewName(java.lang.String sEVN)
RefundPaymentPolicyCmd
setErrorViewName
in interface RefundPaymentPolicyCmd
sEVN
- The error view name.public void setOrder(OrderAccessBean ab)
RefundPaymentPolicyCmd
setOrder
in interface RefundPaymentPolicyCmd
ab
- The order access bean.public void setPaymentPolicyId(java.lang.Long aPolicyId)
RefundPaymentPolicyCmd
setPaymentPolicyId
in interface RefundPaymentPolicyCmd
aPolicyId
- The payment policy Id.public void setRefundAmount(java.math.BigDecimal refundAmount)
RefundPaymentPolicyCmd
setRefundAmount
in interface RefundPaymentPolicyCmd
refundAmount
- The amount to refund.public void setRMA(RMAAccessBean anRMA)
RefundPaymentPolicyCmd
setRMA
in interface RefundPaymentPolicyCmd
anRMA
- The RMA access bean.public void validateParameters() throws ECException
Parameters
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- 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