Library for formatting data for bank transfers for qr code generators.
<dependency>
<groupId>com.github.mateuszjanczak</groupId>
<artifactId>payment-qr-code</artifactId>
<version>1.0.1</version>
</dependency>
PaymentQRCode paymentQRCode = PaymentQRCode.Builder
.paymentQRCode()
.withRecipient("John Smith")
.withAccountNumber("92124012340001567890123456")
.withAmount(53.50)
.withTitle("Bill for dinner")
.withCountry("PL")
.build();
String subject = paymentQRCode.getQRCodeSubject();
Feel free to contribute
Payment-QR-Code is open-sourced software licensed under the MIT license