com.ibm.commerce.returns.commands
Interface ApproveRefundPolicyCmd
- All Superinterfaces:
- BusinessPolicyCommand, ECCommand, TaskCommand
- All Known Implementing Classes:
- ApproveRefundAlwaysPolicyCmdImpl
- public interface ApproveRefundPolicyCmd
- extends BusinessPolicyCommand
Interface for the command used for checking to see if the refund for a return
mechandise authorization (RMA) and its items is approved (policy).
This check is performed just before the actual refund (DoRefund) is made.
Method Summary |
boolean |
isApproved()
Returns whether the refund is approved or not. |
void |
setRMAAB(RMAAccessBean anRMAAB)
Set the RMA for which the refund is being requested. |
void |
setRMAItemABs(java.util.List RMAItemABs)
Set the RMA items being refunded. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
isApproved
public boolean isApproved()
- Returns whether the refund is approved or not.
- Returns:
- true if the refund is approved; false otherwise.
setRMAAB
public void setRMAAB(RMAAccessBean anRMAAB)
- Set the RMA for which the refund is being requested.
- Parameters:
anRMAAB
- The RMA access bean.
setRMAItemABs
public void setRMAItemABs(java.util.List RMAItemABs)
- Set the RMA items being refunded.
- Parameters:
RMAitemABs
- The list of RMA item access beans.