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

Class for storing HIBC LIC secondary and additional data. More...

Inherits BaseJavaClass.

Public Member Functions

None __init__ (self)
 
bool equals (self, SecondaryAndAdditionalData obj)
 Returns a value indicating whether this instance is equal to a specified SecondaryAndAdditionalData value. More...
 
datetime getDateOfManufacture (self)
 Identifies date of manufacture. More...
 
datetime getExpiryDate (self)
 Identifies expiry date. More...
 
HIBCLICDateFormat getExpiryDateFormat (self)
 Identifies expiry date format. More...
 
str getLotNumber (self)
 Identifies lot or batch number. More...
 
int getQuantity (self)
 Identifies quantity, must be integer value from 0 to 500. More...
 
str getSerialNumber (self)
 Identifies serial number. More...
 
int hashCode (self)
 Returns the hash code for this instance. More...
 
def init (self)
 
None parseFromString (self, str secondaryDataCodetext)
 Instantiates secondary and additional supplemental data from string format according HIBC LIC specification. More...
 
None setDateOfManufacture (self, datetime value)
 Identifies date of manufacture. More...
 
None setExpiryDate (self, datetime value)
 Identifies expiry date. More...
 
None setExpiryDateFormat (self, HIBCLICDateFormat value)
 Identifies expiry date format. More...
 
None setLotNumber (self, Optional[str] value)
 Identifies lot or batch number. More...
 
None setQuantity (self, int value)
 Identifies quantity, must be integer value from 0 to 500. More...
 
None setSerialNumber (self, Optional[str] value)
 Identifies serial number. More...
 
str toString (self)
 Converts data to string format according HIBC LIC specification. More...
 
- Public Member Functions inherited from BaseJavaClass
None __init__ (self, javaClass)
 
def getJavaClass (self)
 
str getJavaClassName (self)
 
bool isNull (self)
 
None printJavaClassName (self)
 
None setJavaClass (self, javaClass)
 

Static Public Member Functions

SecondaryAndAdditionalData construct (java_class)
 

Static Public Attributes

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwSecondaryAndAdditionalData"
 

Additional Inherited Members

- Public Attributes inherited from BaseJavaClass
 javaClass
 
 javaClassName
 

Detailed Description

Class for storing HIBC LIC secondary and additional data.

Constructor & Destructor Documentation

◆ __init__()

None __init__ (   self)

Member Function Documentation

◆ construct()

SecondaryAndAdditionalData construct (   java_class)
static

◆ equals()

bool equals (   self,
SecondaryAndAdditionalData  obj 
)

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

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

◆ getDateOfManufacture()

datetime getDateOfManufacture (   self)

Identifies date of manufacture.

Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

◆ getExpiryDate()

datetime getExpiryDate (   self)

Identifies expiry date.

Will be used if ExpiryDateFormat is not set to None.

◆ getExpiryDateFormat()

HIBCLICDateFormat getExpiryDateFormat (   self)

Identifies expiry date format.

◆ getLotNumber()

str getLotNumber (   self)

Identifies lot or batch number.

Lot/batch number must be alphanumeric string with up to 18 sybmols length.

◆ getQuantity()

int getQuantity (   self)

Identifies quantity, must be integer value from 0 to 500.

Quantity can be set to -1 in order not to use this field. Default value: -1

◆ getSerialNumber()

str getSerialNumber (   self)

Identifies serial number.

Serial number must be alphanumeric string up to 18 sybmols length.

◆ hashCode()

int hashCode (   self)

Returns the hash code for this instance.

Returns
: A 32-bit signed integer hash code.

◆ init()

def init (   self)

Reimplemented from BaseJavaClass.

◆ parseFromString()

None parseFromString (   self,
str  secondaryDataCodetext 
)

Instantiates secondary and additional supplemental data from string format according HIBC LIC specification.

Parameters
secondaryDataCodetext:Formatted string.

◆ setDateOfManufacture()

None setDateOfManufacture (   self,
datetime  value 
)

Identifies date of manufacture.

Date of manufacture can be set to DateTime.MinValue in order not to use this field. Default value: DateTime.MinValue

◆ setExpiryDate()

None setExpiryDate (   self,
datetime  value 
)

Identifies expiry date.

Will be used if ExpiryDateFormat is not set to None.

◆ setExpiryDateFormat()

None setExpiryDateFormat (   self,
HIBCLICDateFormat  value 
)

Identifies expiry date format.

◆ setLotNumber()

None setLotNumber (   self,
Optional[str]  value 
)

Identifies lot or batch number.

Lot/batch number must be alphanumeric string with up to 18 sybmols length.

◆ setQuantity()

None setQuantity (   self,
int  value 
)

Identifies quantity, must be integer value from 0 to 500.

Quantity can be set to -1 in order not to use this field. Default value: -1

◆ setSerialNumber()

None setSerialNumber (   self,
Optional[str]  value 
)

Identifies serial number.

Serial number must be alphanumeric string up to 18 sybmols length.

◆ toString()

str toString (   self)

Converts data to string format according HIBC LIC specification.

Returns
:Formatted string.

Member Data Documentation

◆ JAVA_CLASS_NAME

string JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwSecondaryAndAdditionalData"
static