com.ibm.commerce.payment.commands
Interface DoRefundCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
DoRefundCmdImpl

public interface DoRefundCmd
extends TaskCommand

The DoRefundCmd Task Command

This command handles the refund for the given order and Return Merchandise Authorization (RMA).

See Also:
DoRefundCmdImpl

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String ERRTASK_NAME
          Name of the Error View for this command.
static java.lang.String NAME
          The name of this command.
 
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 Return Merchandise Authorization record that authorizes the return of the merchandise.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation of this command.
See Also:
Constant Field Values

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".
See Also:
Constant Field Values
Method Detail

setOrder

public void setOrder(OrderAccessBean abOrder)
Sets the order property of the command.
Parameters:
abOrder - the OrderAccessBean of 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 in the currency specified in the Return Merchandise Authorization

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 Return Merchandise Authorization record that authorizes the return of the merchandise.
Parameters:
abRMA - the RMAAccessBean for the Return Merchandise Authorization record