SwissQRCodetext

SwissQRCodetext class

Class for encoding and decoding the text embedded in the SwissQR code.

new SwissQRCodetext(bill)

Creates an instance of SwissQRCodetext.

ParameterDescription
billSwissQR bill data

Throws: BarcodeException

Methods

NameDescription
getBarcodeType()Gets barcode type.
getBill()SwissQR bill data
getConstructedCodetext()Construct codetext from SwissQR bill data
initFromString(constructedCodetext)Initializes Bill with constructed codetext.

getBarcodeType()

Gets barcode type.

Returns: Barcode type.

getBill()

SwissQR bill data

getConstructedCodetext()

Construct codetext from SwissQR bill data

Returns: Constructed codetext

initFromString(constructedCodetext)

Initializes Bill with constructed codetext.

ParameterDescription
constructedCodetextConstructed codetext.