public class SynchronizeOrderWithBackendCmdImpl extends AEDPPaymentTaskCmdImpl implements SynchronizeOrderWithBackendCmd
commandContext | The command context. |
orderId | A Long that indicates the id of the current order. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM Copyright notice field.
|
Constructor and Description |
---|
SynchronizeOrderWithBackendCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean | isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
This method executes the business logic of this command implementation.
|
void | processBG()
If there are some payment actions required after synchronizing with the payment processing system, these actions will be executed here.
|
void | processFG()
This method synchronizes the order payment status with the status in payment processing system.
|
void | reset()
This method resets the command fields.
|
void | validateParameters()
This method checks the validity of customer-supplied parameters.
|
public static final java.lang.String COPYRIGHT
public boolean isReadyToCallExecute()
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
public void processBG() throws EDPException, ECException
public void processFG() throws EDPException, ECException