PrefixType
GS1 prefix-types for GTINs. They determine how to validate and duplicate check the GTIN. They also help define special logic should it be needed for certain ranges of GTINs.
enum PrefixType {
NORMAL
PRICE
WEIGHT
PRICE_WEIGHT
RESTRICTED
RESERVED_GS1
ISSN
ISBN
COUPONS
DEPOSIT
BLOCKED
PIECE
LENGTH
PIECE_WEIGHT
RESERVED_GTIN8
}
Values
PrefixType.NORMAL
Regular GTIN with no special handling.
PrefixType.PRICE
A variable measure GTIN that contains information about price in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.WEIGHT
A variable measure GTIN that contains information about weight in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.PRICE_WEIGHT
A variable measure GTIN that contains information about price or weight in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.RESTRICTED
A GS1-defined prefix range that is restricted from being assigned to products by companies. These prefixes have a designated purpose within the GS1 standard and must not be used for general product GTINs.
PrefixType.RESERVED_GS1
Prefix that is reserved for GS1 internal use and should not be used by companies when assigning GTINs to their products.
PrefixType.ISSN
Serial publications.
PrefixType.ISBN
Books.
PrefixType.COUPONS
Coupons and vouchers.
PrefixType.DEPOSIT
Refund and deposit GTINs like reverse vending machines.
PrefixType.BLOCKED
A prefix that has been explicitly blocked from use in the system.
PrefixType.PIECE
A variable measure GTIN that contains information about piece count in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.LENGTH
A variable measure GTIN that contains information about length in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.PIECE_WEIGHT
A variable measure GTIN that contains information about piece count or weight in the defined positions as specified in the corresponding prefix definition configuration.
PrefixType.RESERVED_GTIN8
Prefix that is never used for GTIN-12, GTIN-13, or GTIN-14, but is used for GTIN-8s.
Member Of
ItemIdentifier object