public class QRCode
extends java.lang.Object
Also provides functions to generate and decode the string embedded in the QR code.
| Constructor and Description |
|---|
QRCode(Bill bill)
Creates an instance of the QR code for the specified bill data.
|
| Modifier and Type | Method and Description |
|---|---|
static Bill |
decodeQRCodeText(java.lang.String text)
Decodes the specified text and returns the bill data.
|
java.lang.String |
getText()
Gets the text embedded in the QR code (according to the data structure defined by SIX)
|
public QRCode(Bill bill)
bill - bill datapublic java.lang.String getText()
public static Bill decodeQRCodeText(java.lang.String text)
The Text is assumed to be in the data structured for the QR code defined by SIX.
The returned data is not validated. Only the format and the header are checked.
text - the text to decode