com.ibm.commerce.tools.optools.returns.commands
Class CSRDisplayRefundPaymentInfoCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.command.BusinessPolicyCommandImpl
                    |
                    +--com.ibm.commerce.tools.optools.returns.commands.CSRDisplayRefundPaymentInfoCmdImpl
All Implemented Interfaces:
BusinessPolicyCommand, CSRDisplayRefundPaymentInfoCmd, ECCommand, TaskCommand
Direct Known Subclasses:
CSRDisplayRefundByCreditCmdImpl, CSRDisplayRefundByOriginalPaymentCmdImpl

public abstract class CSRDisplayRefundPaymentInfoCmdImpl
extends BusinessPolicyCommandImpl
implements CSRDisplayRefundPaymentInfoCmd

Brief Description:

  Base class for the return display credit account information command classes.


Field Summary
protected  java.util.Vector creditAccountInformation
           
protected  RMAAccessBean iRMA
           
 
Fields inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
policyId, requestProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.tools.optools.returns.commands.CSRDisplayRefundPaymentInfoCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
CSRDisplayRefundPaymentInfoCmdImpl()
           
 
Method Summary
protected  void addInfoToVector(java.util.Vector v, java.lang.String infoName, java.lang.String labelKey, java.lang.String value)
          Adds credit information to the output data structure of the command.
 java.util.Vector getCreditAccountInformation()
          Get the credit acount information.
 RMAAccessBean getRMA()
          Get the rma.
 void setRMA(RMAAccessBean newRMA)
          Set the rma.
 
Methods inherited from class com.ibm.commerce.command.BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.tools.optools.returns.commands.CSRDisplayRefundPaymentInfoCmd
populateCreditAccountInformation
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

creditAccountInformation

protected java.util.Vector creditAccountInformation

iRMA

protected RMAAccessBean iRMA
Constructor Detail

CSRDisplayRefundPaymentInfoCmdImpl

public CSRDisplayRefundPaymentInfoCmdImpl()
Method Detail

addInfoToVector

protected void addInfoToVector(java.util.Vector v,
                               java.lang.String infoName,
                               java.lang.String labelKey,
                               java.lang.String value)
Adds credit information to the output data structure of the command.
Parameters:
v - Vector that represents the output data structure.
infoName - Information name, for example if the credit card number is added using this method the value passed to this parameter would be "CARD_NUMBER".
labelKey - Label key in the ReturnsNLS.properties file.
value - The value of the key, for example the credit card number.

getCreditAccountInformation

public java.util.Vector getCreditAccountInformation()
Get the credit acount information.
Specified by:
getCreditAccountInformation in interface CSRDisplayRefundPaymentInfoCmd
Returns:
The credit account information name value pairs in a vector.

getRMA

public RMAAccessBean getRMA()
Get the rma.
Returns:
The RMA access bean used.

setRMA

public void setRMA(RMAAccessBean newRMA)
Set the rma.
Specified by:
setRMA in interface CSRDisplayRefundPaymentInfoCmd
Parameters:
newRMA - The RMA access bean used.