public class DoCancelCmdImpl extends TaskCommandImpl implements DoCancelCmd
Parameters:
Parameter Name | Type | Descriptions |
orderId | Order ID | ID of the order whose payment is to be canceled |
sPurge | String | Flag to indicate cleanup of the ORDPAYMTHD record is required. |
Behavior:
Error View Name:
ErrorCodes:
This command uses the following AccessBeans:
This command calls the following BusinessPolicyCommands:
Constructor and Description |
---|
DoCancelCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected OrderAccessBean | getOrder()
Deprecated.
Returns the OrderAccessBean representing the order whose payment is to be canceled.
|
protected java.lang.Long | getOrderId()
Deprecated.
Returns the orderId property of the command.
|
boolean | isReadyToCallExecute()
Deprecated.
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
Deprecated.
Performs the main business logic of the command.
|
void | reset()
Deprecated.
Resets the instance variables of the command.
|
void | setOrderId(java.lang.Long orderId)
Deprecated.
Sets the orderId property of the command.
|
void | setPurge(java.lang.String sPurge)
Deprecated.
Sets the purge property of the command.
|
protected OrderAccessBean getOrder()
This method first checks if the local variable is set or not. If not set, it will attempt to get it by creating a new AccessBean.
protected java.lang.Long getOrderId()
public boolean isReadyToCallExecute()
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 setOrderId(java.lang.Long orderId)
public void setPurge(java.lang.String sPurge)