Calls and callbacks follow this flow:
Invoke a method to perform a specific action.
The invoked method invokes the synchronization helper method, specifying a parameter to determine which callback should be returned.
The synchronization helper method waits until one of the following occurs:
- The system returns a callback
- A time-out of 20 seconds
- An exception.
if the system returns a callback, the main flow resumes, and the application handles and processes the information returned in the callback.
Callback Parameter Order
The order of parameters is defined in the C library defines the order of parameters but can not enforce it.
createTender callback returns a tender object. Use this to execute subsequent actions on a tender. Evaluate other arguments using the provided helper methods.
Error Messages can be used directly in logging or feedback without helper methods.
Actionable vs. Informational Callbacks
Several callbacks occur during the processing of a tender. There are two types of callback: Actionable and Informational.
- Actionable callbacks require action to complete the transaction.
- Informational callbacks can be logged but are not required to complete a transaction.