com.ibm.commerce.payment.extern
Interface AuthorizeAccountPaymentCmd
- All Superinterfaces:
- ECCommand, 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.
Method Summary |
void |
setBuyerPOId(java.lang.Long n)
Sets the id of the Buyer purchase order record. |
void |
setErrorViewName(java.lang.String sEVN)
Sets the error view name to be used in case of 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. |
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 |
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 "DoPaymentErrorView".
NAME
public static final java.lang.String NAME
setBuyerPOId
public void setBuyerPOId(java.lang.Long n)
- Sets the id of the Buyer purchase order record. This is an optional input parameter.
setErrorViewName
public void setErrorViewName(java.lang.String sEVN)
- Sets the error view name to be used in case of error.
setOrder
public void setOrder(OrderAccessBean ab)
- Sets the order for which payment is to be authorized.
setTotalAmount
public void setTotalAmount(java.math.BigDecimal totalAmount)
- Sets the totalAmount property of the command.
- Parameters:
totalAmount
- the total price of the Order for which payment
is to be processed.