public class CheckPaymentAcceptTestCmdImpl extends BusinessPolicyCommandImpl implements CheckPaymentAcceptPolicyCmd
This command uses the following AccessBeans:
This command does not call other TaskCommand.
Constructor and Description |
---|
CheckPaymentAcceptTestCmdImpl()
Deprecated.
CheckPaymentAcceptTestCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
protected OrderAccessBean | getOrder()
Deprecated.
Returns the OrderAccessBean representing the order for which the approved amount is to be checked.
|
java.lang.String | getReturnCode()
Deprecated.
Returns the String return code indicating the payment approval status of the specified order.
|
void | performExecute()
Deprecated.
Performs the main business logic of the command.
|
void | setApproveAmount(java.math.BigDecimal approveAmount)
Deprecated.
Sets the approveAmount property of the command.
|
void | setErrorViewName(java.lang.String sEVN)
Deprecated.
Sets the error view to be used to report error.
|
void | setOrder(OrderAccessBean abOrder)
Deprecated.
Sets the order property of the command.
|
public CheckPaymentAcceptTestCmdImpl()
protected OrderAccessBean getOrder()
public java.lang.String getReturnCode()
This sample implementation class for the TestPaymentMethod policy always returns the constant String PaymentConstants.APPROVAL_YES indicating the payment approval status of the order is valid.
public void performExecute() throws ECException
public void setApproveAmount(java.math.BigDecimal approveAmount)
public void setErrorViewName(java.lang.String sEVN)
public void setOrder(OrderAccessBean abOrder)