com.ibm.commerce.payment.extern
Interface CheckAccountPaymentCmd

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

public interface CheckAccountPaymentCmd
extends TaskCommand

The CheckAccountPaymentCmd Task Command is called by the CheckPaymentAcceptCmdImpl command implementation to check the payment against 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
 java.lang.String getReturnCode()
          Returns the String return code indicating the approval status of the payment for the specified order.
 void setApproveAmount(java.math.BigDecimal approveAmount)
          The amount of the order to be checked and approved if necessary.
 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 for which payment is to be checked.
 
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 "CheckPaymentAcceptErrorView".

NAME

public static final java.lang.String NAME
Method Detail

getReturnCode

public java.lang.String getReturnCode()
Returns the String return code indicating the approval status of the payment for the specified order.

Possible values for the return code String are:

Returns:
String the String return code indicating the payment approval status.

setApproveAmount

public void setApproveAmount(java.math.BigDecimal approveAmount)
The amount of the order to be checked and approved if necessary.

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 for which payment is to be checked.