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
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| eq | bool | No | Returns a value indicating whether this instance is equal to a specified MaxiCodeStructuredSecondMessage value. |
| hash | int | No | Returns the hash code for this instance. |
| add | None | No | Adds new identifier. |
| clear | None | No | Clear identifiers list. |
| identifiers | List[str] | No | Gets identifiers list. |
| message | Optional[str] | No | Gets constructed second message. |
Properties
| Name | Type | Description |
|---|---|---|
| year | int | Gets 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.
| Parameter | Type | Description |
|---|---|---|
other | MaxiCodeStructuredSecondMessage |
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.
| Parameter | Type | Description |
|---|---|---|
identifier | str |
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.
| Parameter | Type | Description |
|---|---|---|
value | int |