com.ibm.commerce.payment.extern
Interface AuthorizeAccountPaymentCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
AuthorizeAccountPaymentCmdImpl

public interface AuthorizeAccountPaymentCmd
extends TaskCommand

The AuthorizeAccountPaymentCmd Task Command is called by the DoPaymentMPFCmdImpl command implementation to authorize the payment against 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 setBuyerPOId(java.lang.Long n)
          Deprecated.  
 void setBuyerPONumber(java.lang.String sBPONumber)
          Sets the buyerPONumber property of the command.
 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 authorized.
 void setTotalAmount(java.math.BigDecimal totalAmount)           Sets the totalAmount property of the command.
 

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

setBuyerPONumber

public void setBuyerPONumber(java.lang.String sBPONumber)
Sets the buyerPONumber property of the command.

If no purchase order number is specified, this method should not be called.

Parameters:
sBPONumber - the buyer purchase order number specified by the customer for the purchase

setBuyerPOId

public void setBuyerPOId(java.lang.Long n)
Deprecated.  
Sets the buyerPO ID. This is the internal ID of the BuyerPO record associated with the purchase order number specified by the buyer. If no purchase order number is specified, this method should not be called.
Parameters:
n - the buyerPO ID

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 authorized.
Parameters:
ab - the OrderAccessBean of the order

setTotalAmount

public void setTotalAmount(java.math.BigDecimal totalAmount)
Sets the totalAmount property of the command. This amount is in the currency of the order.
Parameters:
totalAmount - the total amount to be authorized.