Constructor.
GTIN type.
Static
zeroStatic
validateValidate any GTIN, optionally against a level.
GTIN.
Level at which GTIN is to be validated.
Static
validateGTIN14Protected
Static
validatorGet the character set validator for a character set.
Character set.
Character set validator.
Protected
Static
padPad an identification key on the left with zeroes for validation purposes. This is done to align an identification key with a position offset for any error message that may be thrown by the reference validator.
Identification key.
Identification key validation parameters.
Padded identification key.
Protected
validateOptional
validation: IdentificationKeyValidation
GTIN validator.