The Enterprise class has the following basic flow:
- Instantiate Enterprise class
- Set the Gateway and the CertificateID.
These can be set within the Enterprise constructor, or as separate methods (properties in iVeriClient.net) - You may choose to override the (properties in iVeriClient.java):
- CertificatePath
- KeyStoreFile
- CertificateFile
- KeyStorePassword
- CertificatePassword
- You may choose to override the (properties in iVeriClient.net):
- CertificatePath
- CertificateFile
- CertificatePassword
- Prepare the command to be sent to the gateway
Call one of the following methods:- prepare
- authorisation
- authorisationReversal
- debit
- credit
- ping
- set the various input parameters: generally, via setTag, or setAttribute
- submit the request to the iVeri Gateway: via execute or executeAsync
- check the results returned, particularly ResultStatus and ResultCode
- check other output parameters: generally, via getTag, or getAttribute