MaxiCodeStructuredSecondMessage

MaxiCodeStructuredSecondMessage class

Module: aspose_barcode.complex_barcode.maxi_code_structured_second_message

Inherits: MaxiCodeSecondMessage

Class for encoding and decoding structured second message for MaxiCode barcode.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
eqboolNoReturns a value indicating whether this instance is equal to a specified MaxiCodeStructuredSecondMessage value.
hashintNoReturns the hash code for this instance.
addNoneNoAdds new identifier.
clearNoneNoClear identifiers list.
identifiersList[str]NoGets identifiers list.
messageOptional[str]NoGets constructed second message.

Properties

NameTypeDescription
yearintGets year. Year must be 2 digit integer value.

MaxiCodeStructuredSecondMessage Constructor

__init__(self)

MaxiCodeStructuredSecondMessage.eq

__eq__(self, MaxiCodeStructuredSecondMessage other) -> bool

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

ParameterTypeDescription
otherMaxiCodeStructuredSecondMessage

Return Type: bool — True if obj has the same value as this instance; otherwise, false.

MaxiCodeStructuredSecondMessage.hash

__hash__(self) -> int

Returns the hash code for this instance.

Return Type: int — A 32-bit signed integer hash code.

MaxiCodeStructuredSecondMessage.add

add(self, str identifier)

Adds new identifier.

ParameterTypeDescription
identifierstr

MaxiCodeStructuredSecondMessage.clear

clear(self)

Clear identifiers list.

MaxiCodeStructuredSecondMessage.identifiers

identifiers(self) -> List[str]

Gets identifiers list.

Return Type: List[str] — List of identifiers

MaxiCodeStructuredSecondMessage.message

message(self) -> Optional[str]

Gets constructed second message.

Return Type: Optional[str] — Constructed second message

MaxiCodeStructuredSecondMessage.year

Type: int

Gets year. Year must be 2 digit integer value.

Sets year. Year must be 2 digit integer value.

ParameterTypeDescription
valueint