Aspose.Barcode for Python via Java Generation and Recognition API docs
PrimaryData Class Reference

Class for storing HIBC LIC primary data. More...

Inherits _MwWrapper.

Public Member Functions

None __init__ (self)
 
bool __eq__ (self, PrimaryData other)
 Returns a value indicating whether this instance is equal to a specified PrimaryData value. More...
 
int __hash__ (self)
 Returns the hash code for the current instance. More...
 
str __str__ (self)
 Converts data to string format according HIBC LIC specification. More...
 
Optional[str] labeler_identification_code (self)
 Gets the identification date of the labeler identification code. More...
 
None labeler_identification_code (self, str value)
 Sets the identification date for the labeler code. More...
 
None parse_from_string (self, str primary_data_codetext)
 Instantiates primary data from string format according HIBC LIC specification. More...
 
Optional[str] product_or_catalog_number (self)
 Identifies product or catalog number. More...
 
None product_or_catalog_number (self, str value)
 Identifies product or catalog number. More...
 
int unit_of_measure_id (self)
 Identifies unit of measure ID. More...
 
None unit_of_measure_id (self, int value)
 Identifies unit of measure ID. More...
 

Detailed Description

Class for storing HIBC LIC primary data.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self)

Member Function Documentation

◆ __eq__()

bool __eq__ (   self,
PrimaryData  other 
)

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

Parameters
obj:An PrimaryData value to compare to this instance.
Returns
: True if obj has the same value as this instance; otherwise, False.

◆ __hash__()

int __hash__ (   self)

Returns the hash code for the current instance.

Returns
A hash code for the current object.

◆ __str__()

str __str__ (   self)

Converts data to string format according HIBC LIC specification.

Returns
:Formatted string.

◆ labeler_identification_code() [1/2]

Optional[str] labeler_identification_code (   self)

Gets the identification date of the labeler identification code.

Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

◆ labeler_identification_code() [2/2]

None labeler_identification_code (   self,
str  value 
)

Sets the identification date for the labeler code.

Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.

◆ parse_from_string()

None parse_from_string (   self,
str  primary_data_codetext 
)

Instantiates primary data from string format according HIBC LIC specification.

Parameters
primaryDataCodetext:Formatted string.

◆ product_or_catalog_number() [1/2]

Optional[str] product_or_catalog_number (   self)

Identifies product or catalog number.

◆ product_or_catalog_number() [2/2]

None product_or_catalog_number (   self,
str  value 
)

Identifies product or catalog number.

◆ unit_of_measure_id() [1/2]

int unit_of_measure_id (   self)

Identifies unit of measure ID.

◆ unit_of_measure_id() [2/2]

None unit_of_measure_id (   self,
int  value 
)

Identifies unit of measure ID.