com.ibm.commerce.payment.extern
Interface DebitAccountCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
DebitAccountCmdImpl

public interface DebitAccountCmd
extends TaskCommand

The DebitAccountCmd Task Command is called by the DoDepositCmdImpl command implementation to debit 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 setDepositAmount(java.math.BigDecimal depositAmount)
          Sets the amount to be deposited in the currency of the order.
 void setErrorViewName(java.lang.String sEVN)
          Sets the error view to be used to report error.
 void setOrder( OrderAccessBean ab)           Sets the order for which payment is to be deposited.
 

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

setDepositAmount

public void setDepositAmount(java.math.BigDecimal depositAmount)
Sets the amount to be deposited in the currency of the order.
Parameters:
depositAmount - the deposit amount

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 for which payment is to be deposited.
Parameters:
ab - the OrderAccessBean of the order