com.ibm.commerce.payment.commands
Interface UpdateTARefundCmd

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

public interface UpdateTARefundCmd
extends TaskCommand

Update Trading Agreement's Refund amount for the given order and rma.

Parameter:
Parameter Name Type Descriptions
tradingId Long The ID of the Trading Agreement
RMA RMAAccessBean The RMA Access Bean
order OrderAccessBean The Order Access Bean
refundAmount BigDecimal The Refund Amount in the Currency of the RMA.

Assumption:

Behavior: Error View Name: ErrorCodes:


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 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.
 
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 "UpdateTARefundErrorView".

NAME

public static final java.lang.String NAME
Method Detail

setOrder

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

setRefundAmount

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

setRMA

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