com.ibm.commerce.payment.extern
Interface CreditAccountCmd

All Superinterfaces:
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
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String ERRTASK_NAME
          Name of the default error view for this command.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setErrorViewName(java.lang.String sEVN)
          Sets the error view to be used to report error.
 void setOrder( OrderAccessBean ab)
          Sets the order associated with the Return Merchandise Authorization.
 void setRefundAmount(java.math.BigDecimal refundAmount)
          Sets the refund amount in the currency specified in the Return Merchandise Authorization.
 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 default error view for this command. The constant value of this field is "DoRefundErrorView".
See Also:
Constant Field Values
Method Detail

setErrorViewName

public void setErrorViewName(java.lang.String sEVN)
Sets the error view to be used to report error. This overrides the default error view of the command.
Parameters:
sEVN - the Error View name

setOrder

public void setOrder(OrderAccessBean ab)
Sets the order associated with the Return Merchandise Authorization.
Parameters:
ab - the OrderAccessBean of the order

setRefundAmount

public void setRefundAmount(java.math.BigDecimal refundAmount)
Sets the refund amount in the currency specified in the Return Merchandise Authorization.
Parameters:
refundAmount - the amount to be refunded

setRMA

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