SwissQRCodetext
Contents
[
Hide
]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
| Name | Description |
|---|---|
| init | Creates an instance of SwissQRCodetext. |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| barcode_type | EncodeTypes | No | Gets barcode type. |
| bill | Optional[SwissQRBill] | No | SwissQR bill data. |
| constructed_codetext | Optional[str] | No | Construct codetext from SwissQR bill data. |
| init_from_string | None | No | Initializes Bill with constructed codetext. |
SwissQRCodetext Constructor
__init__(self, Optional[SwissQRBill] bill)
Creates an instance of SwissQRCodetext.
| Parameter | Type | Description |
|---|---|---|
bill | Optional[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.
| Parameter | Type | Description |
|---|---|---|
constructed_codetext | str |