public class CheckAccountPaymentCmdImpl extends TaskCommandImpl implements CheckAccountPaymentCmd
This implementation class is empty. It is intended for third-parties to extend and write implementation code for integration with an external accounting system.
Constructor and Description |
---|
CheckAccountPaymentCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.math.BigDecimal | getApproveAmount()
Gets the amount to be checked and reapproved if necessary.
|
protected java.lang.String | getErrorViewName()
Returns the name of the error view to use for reporting error.
|
protected OrderAccessBean | getOrder()
Gets the order for which payment is to be checked.
|
java.lang.String | getReturnCode()
Returns the String return code indicating the approval status of the payment for the specified order.
|
void | performExecute()
Performs the main business logic of the command.
|
void | reset()
Resets the instance variables of the command.
|
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.
|
protected java.math.BigDecimal getApproveAmount()
protected java.lang.String getErrorViewName()
protected OrderAccessBean getOrder()
public java.lang.String getReturnCode()
Possible values for the return code String are:
public void performExecute() throws ECException
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
public void setApproveAmount(java.math.BigDecimal approveAmount)
public void setErrorViewName(java.lang.String sEVN)
public void setOrder(OrderAccessBean ab)