Prior to calling the initialization request, the client application
must initialize an object that implements the
com.ibm.paydir.apiPDAPIInit interface.
PDAPIRequest is an abstract interface and is extends
the
com.ibm.paydir.apiPDAPIInitEx interface.
Table 1. PDAPIInitEx Interface
| Interface |
Methods |
| PDAPIInitEx extends PDAPIConnect |
- String getWorkflowName()
- String getClientReference()
- BrFieldList getFieldList()
|
The format of the call is:
PayDirector pd = new PayDirector();
int returnCode = pd.apiInit(PDAPIInit aRqst);
The control block equivalent structure is
PD_API_INIT_EX_REQUEST.
Table 2. PDAPIConnect Interface
| Interface |
Methods |
| PDAPIConnect extends PDAPIRequest |
- short getVersion ()
- String getPrimaryIpHost ()
- short getPrimaryIPPort ()
- String getSecondaryIPHost ()
- short getSecondaryIPPort ()
- int getDecisionResponseTimer ()
- int getDecisionRequestTimer ()
- String getClientReference ()
|