Welcome to the repository. Here you will find how this framework was made, example usages, and more Issues & Pull-Requests are welcome in this repository, thanks.
- Actual Version: 1.1.3 (Stable).
<repositories>
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.mattnicee7</groupId>
<artifactId>PixQRCodeGenerator</artifactId>
<version>1.1.3</version>
</dependency>
</dependencies>
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.mattnicee7:PixQRCodeGenerator:1.1.3'
}
final PixQRCode myPixWithoutValue = new PixQRCodeBuilder()
.receiverFullName("Fantasy Name")
.transactionIdentifier("SalaryPayment")
.receiverCity("Sao Paulo")
.pixKey("mypix@tests.com")
.withValue(false)
.build();
System.out.println(myPixWithoutValue.getAsText());
final PixQRCode myPixWithValue = new PixQRCodeBuilder()
.receiverFullName("Other Fantasy Name")
.transactionIdentifier("13thSalaryPayment")
.receiverCity("Brasilia")
.pixKey("mypix@tests.com")
.withValue(true)
.value(123.45)
.build();
System.out.println(myPixWithValue.getAsText());
- Lombok - Makes building code easier with your annotations.
- Jetbrains Annotations - Use annotations in your fields/methods to point out something important.
- Pix-API - Official Repository of PIX API.