Ingenico-ePayments / connect-sdk-java

Ingenico Connect Java Server SDK
https://docs.connect.worldline-solutions.com/documentation/sdk/server/java/
Other
31 stars 23 forks source link
globalcollect ingenico ingenico-connect java-sdk

Ingenico Connect Java SDK

This SDK has been rebranded to Worldline. As part of the rebranding the SDK has moved to https://github.com/Worldline-Global-Collect/connect-sdk-java.

Introduction

The Java SDK helps you to communicate with the Ingenico Connect Server API. Its primary features are:

Its use is demonstrated by an example for each possible call. The examples execute a call using the provided API keys.

See the Ingenico Connect Developer Hub for more information on how to use the SDK.

Structure of this repository

This repository consists out of four main components:

  1. The source code of the SDK itself: /src/main/java/ and /src/main/generated/
  2. The source code of the SDK unit tests: /src/test/java/
  3. The source code of the example integration tests: /src/it/java/
  4. The source code of the example calls: /src/examples/java/

Installation

Assuming you have Maven installed, simply include the SDK as a Maven dependency:

<dependency>
  <groupId>com.ingenico.connect.gateway</groupId>
  <artifactId>connect-sdk-java</artifactId>
  <version>x.y.z</version>
</dependency>

Alternatively, download the latest version of the SDK from GitHub. Choose the connect-sdk-java-x.y.z-bin.zip file from the releases page, where x.y.z is the version number. Add all JAR files inside the lib folder of this file to your project, except for connect-sdk-java-x.y.z-javadoc.jar and connect-sdk-java-x.y.z-sources.jar

Building the repository

This repository uses Maven to build. To build the SDK, execute the following command from its root directory (which contains the pom.xml file):

mvn -clean package

The build will generate the following files in the target directory, where x.y.z is the version number:

To use it add all JAR files inside the lib folder of the connect-sdk-java-x.y.z-bin.zip file to your project, except for connect-sdk-java-x.y.z-javadoc.jar and connect-sdk-java-x.y.z-sources.jar.