com.ibm.commerce.payment.commands
Interface UpdateTARefundCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
UpdateTARefundRecordsCmdImpl

public interface UpdateTARefundCmd
extends TaskCommand

Update Trading Agreement's refund amount for the given order and Return Merchandise Authorization (RMA). Parameters:

Parameter Name Type Descriptions
tradingId Long The ID of the Trading Agreement
RMA RMAAccessBean The RMAAccessBean of the RMA
order OrderAccessBean The OrderAccessBean of the order associated with the RMA
refundAmount BigDecimal The Refund Amount in the currency specified in the RMA

Assumption: Behavior: Error View Name: ErrorCodes:

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 associated with the Return Merchandise Authorization (RMA) record.
 void setRefundAmount(java.math.BigDecimal refundAmount)
          Sets the refundAmount property of the command.
 void setRMA( RMAAccessBean ab)           Sets the RMA AccessBean representing 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 "UpdateTARefundErrorView".
See Also:
Constant Field Values
Method Detail

setOrder

public void setOrder(OrderAccessBean abOrder)
Sets the order associated with the Return Merchandise Authorization (RMA) record.
Parameters:
abOrder - the OrderAccessBean for the order

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 (RMA)

setRMA

public void setRMA(RMAAccessBean ab)
Sets the RMA AccessBean representing the Return Merchandise Authorization record that authorizes the return of the merchandise.
Parameters:
ab - the RMA AccessBean for the Return Merchandise Authorization record