public final class SwissQRCodetext extends java.lang.Object implements IComplexCodetext
Class for encoding and decoding the text embedded in the SwissQR code.
Constructor and Description |
---|
SwissQRCodetext()
Creates an instance of SwissQRCodetext.
|
SwissQRCodetext(SwissQRBill bill)
Creates an instance of SwissQRCodetext.
|
Modifier and Type | Method and Description |
---|---|
BaseEncodeType |
getBarcodeType()
Gets barcode type.
|
SwissQRBill |
getBill()
SwissQR bill data
|
java.lang.String |
getConstructedCodetext()
Construct codetext from SwissQR bill data
|
void |
initFromString(java.lang.String constructedCodetext)
Initializes Bill with constructed codetext.
|
public SwissQRCodetext(SwissQRBill bill)
Creates an instance of SwissQRCodetext.
bill
- SwissQR bill datapublic SwissQRCodetext()
Creates an instance of SwissQRCodetext.
public SwissQRBill getBill()
SwissQR bill data
public java.lang.String getConstructedCodetext()
Construct codetext from SwissQR bill data
getConstructedCodetext
in interface IComplexCodetext
public void initFromString(java.lang.String constructedCodetext)
Initializes Bill with constructed codetext.
initFromString
in interface IComplexCodetext
constructedCodetext
- Constructed codetext.public BaseEncodeType getBarcodeType()
Gets barcode type.
getBarcodeType
in interface IComplexCodetext