public abstract class CSRDisplayRefundPaymentInfoCmdImpl extends BusinessPolicyCommandImpl implements CSRDisplayRefundPaymentInfoCmd
The selected refund mechanism for an RMA is set by passing in a refund policy id to
ReturnProcessCmdImpl. To determine which mechanism was chosen, use
RMAAccessBean.getPolicyId.
Utilizes these access beans
COPYRIGHT, defaultCommandClassName, NAME| Constructor and Description |
|---|
CSRDisplayRefundPaymentInfoCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getCreditAccountInformation()
Gets refund mechanism information for the set RMA.
|
RMAAccessBean |
getRMA()
Gets the RMA set for the command
|
void |
setRMA(RMAAccessBean newRMA)
Sets the RMA for which to get refund mechanism information.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, 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, toString, wait, wait, waitpopulateCreditAccountInformationgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, 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 java.util.Vector getCreditAccountInformation()
CSRDisplayRefundPaymentInfoCmd
Vector creditInfo = getCreditAccountInformation()
if ( creditInfo != null && creditInfo.size() != 0 )
{
for (int i = 0; i < creditInfo.size(); i++ )
{
Hashtable ht1 = (Hashtable) creditInfo.elementAt(i);
Enumeration enum = ht1.elements();
Hashtable ht2 = (Hashtable) enum.nextElement(); // only 1 element in this hashtable
String labelKey = (String) ht2.get("LABEL_KEY"); // gets the label key from the ReturnNLS.properties file
String value = (String) ht2.get("VALUE"); // gets the value
}
}
getCreditAccountInformation in interface CSRDisplayRefundPaymentInfoCmdpublic RMAAccessBean getRMA()
public void setRMA(RMAAccessBean newRMA)
CSRDisplayRefundPaymentInfoCmdsetRMA in interface CSRDisplayRefundPaymentInfoCmdnewRMA - RMA access bean to use