Before the library can be used, you must initialize it using the InitLibrary
method.
POS Object
Name | Description |
---|---|
POS |
POS object representing the cash register application. |
Method
Name | Description |
---|---|
|
Initializes the library and sets the environment, merchant name, cash register name, integrator name, and library flags. |
Parameters
Name | Type | Required | Description |
---|---|---|---|
|
long |
Environment flag. Set as | |
|
String |
The merchant account used for the cash register application registration. | |
|
String |
The cash register name.Format this value like so: Cash register company and product / Cash register product version / Adyen integration name / Adyen integration version. For example, Acme Corp POS / 1.2.1 / Acme Adyen connector / 0.1 | |
|
long |
A set of library flags. | |
|
String |
The name of the integrator company for logging.This value should be the name of the company deploying cash register or Point-of-Sale solution, for example, Retail Consultancy Corp. |
Check the intCallResult
value immediately to indicate if the C library received the request without error.
Callback
Name | Description |
---|---|
InitLibraryCB |
Returns the result of the library initialization. |