com.ibm.commerce.tools.optools.returns.commands
Class CSRDisplayRefundByCreditCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.command.BusinessPolicyCommandImpl
|
+--com.ibm.commerce.tools.optools.returns.commands.CSRDisplayRefundPaymentInfoCmdImpl
|
+--com.ibm.commerce.tools.optools.returns.commands.CSRDisplayRefundByCreditCmdImpl
- All Implemented Interfaces:
-
BusinessPolicyCommand,
CSRDisplayRefundPaymentInfoCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class CSRDisplayRefundByCreditCmdImpl
- extends
CSRDisplayRefundPaymentInfoCmdImpl
Policy command which retrieves credit line information for a return. This
command gets executed for RMAs whose refund policy type is set to 'Credit
Line' meaning the credit will go to the line of credit account of the
organization who owns the RMA.
Utilizes these access beans
- See Also:
-
CreateAccountCmdImpl
,
Serialized Form
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
CSRDisplayRefundByCreditCmdImpl
public CSRDisplayRefundByCreditCmdImpl()
public void performExecute()
throws ECException
- Executes the policy command. Calls populateCreditAccountInformation.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
public void populateCreditAccountInformation()
throws ECException
- Populates refund mechanism information with credit line specific data.
-
- Throws:
-
ECException
validateParameters
public void validateParameters()
throws ECException
- Validate input parameters. Requires that RMA is set.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- If no RMA is passed in, throw ECApplicationException
specifying _ERR_BAD_MISSING_CMD_PARAMETER
- See Also:
-
ECCommand.validateParameters()