AIDC Toolkit / GS1 / GTINDescriptor
Interface: GTINDescriptor ​
Defined in: src/gtin-descriptor.ts:9
GTIN descriptor.
Extends ​
Properties ​
identifierType ​
readonlyidentifierType:"GTIN"
Defined in: src/gtin-descriptor.ts:13
Identifier type. Per the GS1 General Specifications, the identifier type determines the remaining properties.
Overrides ​
NumericIdentifierDescriptor.identifierType
length ​
readonlylength:GTINBaseLength
Defined in: src/gtin-descriptor.ts:18
Length. For numeric identifier types, the length is fixed; for non-numeric identifier types, the length is the maximum.
Overrides ​
NumericIdentifierDescriptor.length
leaderType ​
readonlyleaderType:"Indicator digit"
Defined in: src/gtin-descriptor.ts:23
Leader type.
Overrides ​
NumericIdentifierDescriptor.leaderType
referenceCharacterSet ​
readonlyreferenceCharacterSet:"Numeric"
Defined in: src/numeric-identifier-descriptor.ts:18
Reference character set.
Inherited from ​
NumericIdentifierDescriptor.referenceCharacterSet
prefixType ​
readonlyprefixType:PrefixType
Defined in: src/identifier-descriptor.ts:18
Prefix type supported by the identifier type. For all identifier types except the GTIN, this is a GS1 Company Prefix. For the GTIN, the prefix type determines the length.