public class PIRemoveCmdImpl extends AEDPPIEditCtrlCmdImpl implements PIRemoveCmd
This is the default implementation of the PIRemoveCmdcontroller command.
Name | XPath | Description |
---|---|---|
orderId | /XML/orderId | The identifier of the order for which the payment method is to be changed. Mandatory. |
URL | /XML/URL | The URL to be called when the command completes successfully. Mandatory. |
piId | /XML/piId | The numeric identifier (big integer) of the payment instruction to remove. The piId can be obtained from the EDPPaymentInstructionsDataBean data bean and represents the combination of the payment method, payment amount, and any protocol data. This parameter can be repeated if there are more payment instructions to be removed in this request. |
errorViewName | /XML/errorViewName | The view name which is redirected to when the execution fails. If this parameter is provided, the default error view name is PaymentInstructionErrorView. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
PIRemoveCmdImpl()
The default Constructor.
|
Modifier and Type | Method and Description |
---|---|
void | performExecute()
This method contains the actual business logic of the command.
|
void | reset()
This method resets the command fields.
|
void | setPIIDs(java.lang.Long[] aPIIDs)
This method sets the list of IDs of payment instructions to be canceled.
|
void | setRequestProperties(TypedProperty reqProperties)
This method sets the input parameters from the request.
|
void | validateParameters()
This method verifies input parameters.
|
public static final java.lang.String COPYRIGHT
public void setPIIDs(java.lang.Long[] aPIIDs)
This method sets the list of IDs of payment instructions to be canceled.
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void performExecute() throws ECException
public void reset()
This method resets the command fields.
After this method is invoked, and proper attributes are set, the command can be executed again.
public void validateParameters() throws ECException