Validation
public enum Validation : UInt32
Optional AI validation procedures that may be applied to detect invalid inputs.
These validation procedures are applied when AI data is provided using
setAIdataStr(_:), setDataStr(_:) or setScanData(_:).
Note
Some validation procedures are “locked” (always enabled and cannot be modified). All validation procedures are listed to maintain correct enum value alignment with the native library.-
Mutually exclusive AIs (locked: always enabled)
Declaration
Swift
case MutexAIs = 0 -
Mandatory associations between AIs
Declaration
Swift
case RequisiteAIs = 1 -
Repeated AIs having same value (locked: always enabled)
Declaration
Swift
case RepeatedAIs = 2 -
Serialisation qualifier AIs must be present with Digital Signature (locked: always enabled)
Declaration
Swift
case DigSigSerialKey = 3 -
Unknown AIs not permitted as GS1 DL URI data attributes
Declaration
Swift
case UnknownAInotDLattr = 4 -
Value is the number of validations
Declaration
Swift
case NUMVALIDATIONS = 5
View on GitHub
Install in Dash