Class SecondaryAndAdditionalData

Class SecondaryAndAdditionalData

Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.2.0)

Class for storing HIBC LIC secondary and additional data.

public class SecondaryAndAdditionalData

Inheritance

objectSecondaryAndAdditionalData

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

SecondaryAndAdditionalData()

public SecondaryAndAdditionalData()

Properties

DateOfManufacture

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

public DateTime DateOfManufacture { get; set; }

Property Value

DateTime

ExpiryDate

Identifies expiry date. Will be used if ExpiryDateFormat is not set to None.

public DateTime ExpiryDate { get; set; }

Property Value

DateTime

ExpiryDateFormat

Identifies expiry date format.

public HIBCLICDateFormat ExpiryDateFormat { get; set; }

Property Value

HIBCLICDateFormat

LotNumber

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

public string LotNumber { get; set; }

Property Value

string

Quantity

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

public int Quantity { get; set; }

Property Value

int

SerialNumber

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

public string SerialNumber { get; set; }

Property Value

string

Methods

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

An Aspose.BarCode.ComplexBarcode.SecondaryAndAdditionalData value to compare to this instance.

Returns

bool

true if obj has the same value as this instance; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

ParseFromString(string)

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

public void ParseFromString(string secondaryDataCodetext)

Parameters

secondaryDataCodetext string

Formatted string.

ToString()

Converts data to string format according HIBC LIC specification.

public override string ToString()

Returns

string

Formatted string.

 English