gn-api-sdk-java-examples
gn-api-sdk-java-examples copied to clipboard
Exemplos de consumo da SDK em Java integrada a API Gerencianet. Neste repositório você encontra exemplos de integração à API Pix e API Boletos da Gerencianet, que lhe permite realizar o gerenciamento...
gn-api-sdk-java Using Examples
This project has some java file examples to test the Java SDK for Gerencianet API.
Requirements
- Java >= 7.0
Running examples
Update src/main/resources/credentials.json file with client_id, client_secret and certificate of your application.
You can run using any Java IDE, like Eclipse or Netbeans, with Maven plugin installed, and follow these steps:
- clone this git repository in a local directory of your choice;
- on your IDE, open the folder as a Maven project. It'll download gn-api-sdk-java as a dependencie;
- choose any project's example and run it as a Java Application. The result will be displayed on the console.
:warning: Some examples require you to change some parameters to work, like br.com.gerencianet.carnet.json.Detail.java where you must change the id parameter.