This package provides an SDK to simplify the development of POS applications which use the Linkly Online API. The solution contains the following projects:
The SDK class library for interacting with the Linkly API. Compatible with Java 1.8 and above.
- Java 8 or higher
- org.asynchttpclient:async-http-client
- com.squareup.moshi:moshi
- com.squareup.moshi:moshi-adapters
- com.squareup.moshi:json
Unit tests the functionality in linkly-posApi-sdk. Compatible with Java 8 or higher
Sample Web-based POS application which showcases the functionality in linkly-posApi-sdk and can be used as a reference when writing a POS implementation using the SDK. Compatible with Java 11.
Java is backwards compatible. Demo app uses Java 11 while Java 8 is built using Java 8. This is to show that the SDK will work using higher versions of Java. If you opted to use Java 8 for the Demo App, minor code changes must be applied.
Add JAVA_HOME to environment variables with the installed Java bin path.
-
Press the Fork button (top right the page) to save copy of this project on your account.
-
Download the repository files (project) from the download section or clone this project by typing in the bash the following command:
git clone https://github.com/LinklyCo/POSAPI-v2-sdk-java.git
-
Imported it in STS.
-
Find main class and Run as SpringBoot Application.
- 1.0.1
- Initial release.