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

NameDescription
initReimplemented from IComplexCodetext.

Methods

NameReturn TypeStaticDescription
eqboolNoReturns a value indicating whether this instance is equal to a specified MaxiCodeStructuredCodetext value.
hashintNoReturns the hash code for this instance.
constructed_codetextOptional[str]NoConstructs codetext.
init_from_stringNoneNoInitializes instance from constructed codetext.

Properties

NameTypeDescription
country_codeintIdentifies 3 digit country code.
postal_codeOptional[str]Identifies the postal code. Must be 9 digits in mode 2 or 6 alphanumeric symbols in mode 3.
second_messageOptional[MaxiCodeSecondMessage]Identifies second message of the barcode.
service_categoryintIdentifies 3 digit service category.

MaxiCodeStructuredCodetext Constructor

__init__(self, _java_class)

Reimplemented from IComplexCodetext.

ParameterTypeDescription
_java_class``

MaxiCodeStructuredCodetext.eq

__eq__(self, MaxiCodeStructuredCodetext other) -> bool

Returns a value indicating whether this instance is equal to a specified MaxiCodeStructuredCodetext value.

ParameterTypeDescription
otherMaxiCodeStructuredCodetext

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.

ParameterTypeDescription
constructed_codetextstr

MaxiCodeStructuredCodetext.country_code

Type: int

Identifies 3 digit country code.

Identifies 3 digit country code.

ParameterTypeDescription
valueint

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.

ParameterTypeDescription
valuestr

MaxiCodeStructuredCodetext.second_message

Type: Optional[MaxiCodeSecondMessage]

Identifies second message of the barcode.

Identifies second message of the barcode.

ParameterTypeDescription
valueMaxiCodeSecondMessage

MaxiCodeStructuredCodetext.service_category

Type: int

Identifies 3 digit service category.

Identifies 3 digit service category.

ParameterTypeDescription
valueint