Skip to content

newgotecnologia/plug-boleto-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tecnospeed Client

Disclaimer: This is a non official project. It is in no way associated to Tecnospeed.

TODO

[ ] Refactor the package name from br.com.skywalker to br.com.newgo; [ ] Implement tests;

Usage example

TecnoSpeed tecnoSpeed = TecnoSpeed.getInstance("asdasd", "asdad", Environment.SANDBOX);
TecnoSpeed tecnoSpeed = TecnoSpeed.getInstance();
Cedente cedente = Cedente.builder()
    ...
    .build();
Boleto boleto = Boleto.builder()
    ...
    .build();

tecnoSpeed.boletos().emitir(boleto);

Paged paged = tecnoSpeed.assignors().findAll();
Paged next = paged.next();

Releasing new versions

Configure your GPG passphrase and Sonatype credentials @ ~/.m2/settings.xml as such:

<settings>
  <servers>
    <server>
      <id>sonatypeossrh</id>
      <username>(sonatype username)</username>
      <password>(sonatype password)</password>
    </server>
    <server>
      <id>gpg.passphrase</id>
      <passphrase>(sonatype username)</passphrase>
    </server>
  </servers>
</settings>

Then run GPG_TTY=$(tty) mvn clean deploy and you're done :D

About

A Java library for Tecnospeed's Plug Boleto

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages