com.ibm.commerce.payment.extern
Interface CreditAccountCmd

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

public interface CreditAccountCmd
extends TaskCommand

The CreditAccountCmd Task Command is called by the DoRefundCmdImpl command implementation to credit the customer account through an external accounting system.


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 setErrorViewName(java.lang.String sEVN)
          Sets the optional error view name to be used in case of error.
 void setOrder(OrderAccessBean ab)
          Sets the order associated with the Return Merchandise Authorization (RMA) record.
 void setRefundAmount(java.math.BigDecimal refundAmount)
          Sets the refund amount.
 void setRMA(RMAAccessBean abRMA)
          Sets 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 "DoRefundErrorView".

NAME

public static final java.lang.String NAME
Method Detail

setErrorViewName

public void setErrorViewName(java.lang.String sEVN)
Sets the optional error view name to be used in case of error.

setOrder

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

setRefundAmount

public void setRefundAmount(java.math.BigDecimal refundAmount)
Sets the refund amount.

setRMA

public void setRMA(RMAAccessBean abRMA)
Sets the Return Merchandise Authorization record that authorizes the return of the merchandise.