This API Client is a wrapper around https://checkbox.ua/ REST API. Please see the API documentation for more information.
Use as Maven dependency. Add to your pom.xml repository and dependency:
<repository>
<id>checkbox</id>
<name>Checkbox API</name>
<url>https://maven.pkg.github.com/deniskristov/checkbox-api-client</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<dependency>
<groupId>ua.in.checkbox</groupId>
<artifactId>checkbox-api-client</artifactId>
<version>{latest-version}</version>
</dependency>
Example of usage:
CheckboxApiClient client = new CheckboxApiClient(
"login",
"password",
"https://dev-api.checkbox.in.ua",
apiVersion);
client.signIn();
ShiftWithCashierAndCashRegister shift = client.openShift("X-License-Key");