MaxiCodeStructuredCodetext
MaxiCodeStructuredCodetext class
Module: aspose_barcode.complex_barcode.maxi_code_structured_codetext
Inherits: MaxiCodeCodetext
Base class for encoding and decoding the text embedded in the MaxiCode code for modes 2 and 3.
Constructors
| Name | Description |
|---|---|
| init | Reimplemented from IComplexCodetext. |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| eq | bool | No | Returns a value indicating whether this instance is equal to a specified MaxiCodeStructuredCodetext value. |
| hash | int | No | Returns the hash code for this instance. |
| constructed_codetext | Optional[str] | No | Constructs codetext. |
| init_from_string | None | No | Initializes instance from constructed codetext. |
Properties
| Name | Type | Description |
|---|---|---|
| country_code | int | Identifies 3 digit country code. |
| postal_code | Optional[str] | Identifies the postal code. Must be 9 digits in mode 2 or 6 alphanumeric symbols in mode 3. |
| second_message | Optional[MaxiCodeSecondMessage] | Identifies second message of the barcode. |
| service_category | int | Identifies 3 digit service category. |
MaxiCodeStructuredCodetext Constructor
__init__(self, _java_class)
Reimplemented from IComplexCodetext.
| Parameter | Type | Description |
|---|---|---|
_java_class | `` |
MaxiCodeStructuredCodetext.eq
__eq__(self, MaxiCodeStructuredCodetext other) -> bool
Returns a value indicating whether this instance is equal to a specified MaxiCodeStructuredCodetext value.
| Parameter | Type | Description |
|---|---|---|
other | MaxiCodeStructuredCodetext |
Return Type: bool — True if obj has the same value as this instance; otherwise, False.
MaxiCodeStructuredCodetext.hash
__hash__(self) -> int
Returns the hash code for this instance.
Return Type: int — A 32-bit signed integer hash code.
MaxiCodeStructuredCodetext.constructed_codetext
constructed_codetext(self) -> Optional[str]
Constructs codetext.
Return Type: Optional[str] — Constructed codetext
MaxiCodeStructuredCodetext.init_from_string
init_from_string(self, str constructed_codetext)
Initializes instance from constructed codetext.
| Parameter | Type | Description |
|---|---|---|
constructed_codetext | str |
MaxiCodeStructuredCodetext.country_code
Type: int
Identifies 3 digit country code.
Identifies 3 digit country code.
| Parameter | Type | Description |
|---|---|---|
value | int |
MaxiCodeStructuredCodetext.postal_code
Type: Optional[str]
Identifies the postal code. Must be 9 digits in mode 2 or 6 alphanumeric symbols in mode 3.
Identifies the postal code. Must be 9 digits in mode 2 or 6 alphanumeric symbols in mode 3.
| Parameter | Type | Description |
|---|---|---|
value | str |
MaxiCodeStructuredCodetext.second_message
Type: Optional[MaxiCodeSecondMessage]
Identifies second message of the barcode.
Identifies second message of the barcode.
| Parameter | Type | Description |
|---|---|---|
value | MaxiCodeSecondMessage |
MaxiCodeStructuredCodetext.service_category
Type: int
Identifies 3 digit service category.
Identifies 3 digit service category.
| Parameter | Type | Description |
|---|---|---|
value | int |