The CheckAccountPaymentCmd
Task Command is called by the
CheckPaymentAcceptCmdImpl command implementation to check the payment against
the customer account through an external accounting system.
This command returns one of three possible answers. See getReturnCode() method for details.
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 | |
---|---|
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 reapproved if necessary. |
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 checked. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
public static final java.lang.String ERRTASK_NAME
Method Detail |
---|
public java.lang.String getReturnCode()
Possible values for the return code String are:
public void setApproveAmount(java.math.BigDecimal approveAmount)
approveAmount
- the amount in the currency of the
orderpublic void setErrorViewName(java.lang.String sEVN)
sEVN
- the Error View namepublic void setOrder(OrderAccessBean ab)
ab
- the OrderAccessBean representing the
order