Skip to content

martiner/spayd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geek SPAYD

Build Status

A Java library for generating SPAYD (Short Payment Descriptor) QR codes which doesn't suck.

Usage

<dependency>
	<groupId>cz.geek</groupId>
	<artifactId>geek-spayd</artifactId>
	<version>${spayd.version}</version>
</dependency>
final BankAccount account = new CzechBankAccount("2000009442/2010");
final CzechSpaydPayment payment = new CzechSpaydPayment(account);
payment.setAmount(100);
payment.setDate(new Date());
payment.setVs("123");
payment.setRecipientName("martiner");
payment.setMessage("Thanks for making Geek SPAYD!");

final SpaydQRFactory factory = new SpaydQRFactory();
factory.saveQRCode(payment, "png", new File("payment.png"));

QR Platba

TODO

  • validations

About

A Java library for generating SPAYD QR codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages