Since the release of the 2.x branch, a few changes must be done in the applications using the API.
Replace dependencies to axiumapi and axiumapi-interface with a dependency to ingenico-api.
implementation 'com.ingenico.tetra.api:axiumapi-interface:1.3.3'
implementation 'com.ingenico.tetra.api:axiumapi:1.3.3'
becomes :
implementation 'com.ingenico.sdk:ingenico-api:2.0.0'
The required API level is now 19 (Kit Kat) instead of 24 (Nougat), and Java 8 is not mandatory anymore.
A Context is now mandatory to initialize all interfaces.
ITransaction transaction = Transaction.getInstance();
becomes :
ITransaction transaction = Transaction.getInstance(getContext());
Replace the naming of the package and classes
com.ingenico.sdk.customerscreendisplay
DisplayStatus
DisplayResult
becomes :
com.ingenico.sdk.customerscreen
ImageDisplayStatus
ImageDisplayResult
Replace the naming of the package
com.ingenico.sdk.basket
becomes :
com.ingenico.sdk.customerscreen.basket
In 1.x branch, some methods used Guava's ImmutableSet as parameter or return value. To be compatible with earlier API level and Java 7, the Guava dependency has been removed, and these method signatures has been changed, now using a standard JDK List object.
Changed methods are :