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, setRequestProperties
accessControlCheck, 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, validateParameters
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
populateCreditAccountInformation
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public 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 CSRDisplayRefundPaymentInfoCmd
public RMAAccessBean getRMA()
public void setRMA(RMAAccessBean newRMA)
CSRDisplayRefundPaymentInfoCmd
setRMA
in interface CSRDisplayRefundPaymentInfoCmd
newRMA
- RMA access bean to use