com.ibm.commerce.payment.commands
Interface DoRefundCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
DoRefundCmdImpl

public interface DoRefundCmd
extends TaskCommand

The DoRefundCmd Task Command
Please look at the default implementation, DoRefundCmdImpl, for more detail


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String ERRTASK_NAME
          Name of the Error View for this command.
static java.lang.String NAME
           
 
Method Summary
 void setOrder(OrderAccessBean abOrder)
          Sets the order property of the command.
 void setRefundAmount(java.math.BigDecimal refundAmount)
          Sets the refundAmount property of the command.
 void setReturnPolicyId(java.lang.Long nReturnPolicyId)
          Sets the returnPolicyId property of the command.
 void setRMA(RMAAccessBean abRMA)
          Sets the RMA AccessBean representing the Return Merchandise Authorization record.
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class.

ERRTASK_NAME

public static final java.lang.String ERRTASK_NAME
Name of the Error View for this command. The constant value of this field is "DoRefundErrorView".

NAME

public static final java.lang.String NAME
Method Detail

setOrder

public void setOrder(OrderAccessBean abOrder)
Sets the order property of the command.
Parameters:
abOrder - the OrderAccessBean representing the Order associated with the Return Merchandise Authorization.

setRefundAmount

public void setRefundAmount(java.math.BigDecimal refundAmount)
Sets the refundAmount property of the command.
Parameters:
refundAmount - the amount to be refunded.

setReturnPolicyId

public void setReturnPolicyId(java.lang.Long nReturnPolicyId)
Sets the returnPolicyId property of the command.
Parameters:
nReturnPolicyId - the Return Policy ID for this refund.

setRMA

public void setRMA(RMAAccessBean abRMA)
Sets the RMA AccessBean representing the Return Merchandise Authorization record.