Skip to content

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 de cobranças Pix com QR Code e Pix Copia e Cola, boleto/Bolix, carnê, cartão de crédito e muito mais.

Notifications You must be signed in to change notification settings

gerencianet/gn-api-sdk-java-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. clone this git repository in a local directory of your choice;
  2. on your IDE, open the folder as a Maven project. It'll download gn-api-sdk-java as a dependencie;
  3. choose any project's example and run it as a Java Application. The result will be displayed on the console.

⚠️ 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.

About

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 de cobranças Pix com QR Code e Pix Copia e Cola, boleto/Bolix, carnê, cartão de crédito e muito mais.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages