SwissQRCodetext

SwissQRCodetext class

Module: aspose_barcode.complex_barcode.swiss_qr_codetext

Inherits: IComplexCodetext

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

Constructors

NameDescription
initCreates an instance of SwissQRCodetext.

Methods

NameReturn TypeStaticDescription
barcode_typeEncodeTypesNoGets barcode type.
billOptional[SwissQRBill]NoSwissQR bill data.
constructed_codetextOptional[str]NoConstruct codetext from SwissQR bill data.
init_from_stringNoneNoInitializes Bill with constructed codetext.

SwissQRCodetext Constructor

__init__(self, Optional[SwissQRBill] bill)

Creates an instance of SwissQRCodetext.

ParameterTypeDescription
billOptional[SwissQRBill]SwissQR bill data

SwissQRCodetext.barcode_type

barcode_type(self) -> EncodeTypes

Gets barcode type.

Return Type: EncodeTypes — Barcode type.

SwissQRCodetext.bill

bill(self) -> Optional[SwissQRBill]

SwissQR bill data.

Return Type: Optional[SwissQRBill]

SwissQRCodetext.constructed_codetext

constructed_codetext(self) -> Optional[str]

Construct codetext from SwissQR bill data.

Return Type: Optional[str] — Constructed codetext

SwissQRCodetext.init_from_string

init_from_string(self, str constructed_codetext)

Initializes Bill with constructed codetext.

ParameterTypeDescription
constructed_codetextstr