MBPCroatiaReferenceNumberStatus
Objective-C
enum MBPCroatiaReferenceNumberStatus : NSInteger {}
Swift
enum MBPCroatiaReferenceNumberStatus : Int, @unchecked Sendable
Reference status after validation. Can be one of the below values
-
valid (model matches the check digits)
Declaration
Objective-C
MBPCroatiaReferenceNumberStatusValid
Swift
case valid = 0
-
Invalid (wrong format of the reference)
Declaration
Objective-C
MBPCroatiaReferenceNumberStatusInvalid
Swift
case invalid = 1
-
Invalid checksum (model doesn’t match check digits)
Declaration
Objective-C
MBPCroatiaReferenceNumberStatusInvalidChecksum
Swift
case invalidChecksum = 2
-
Model is unkown (maybe it’s missing)
Declaration
Objective-C
MBPCroatiaReferenceNumberStatusModelUnknown
Swift
case modelUnknown = 3
-
Reference format doesn’t define check digits
Declaration
Objective-C
MBPCroatiaReferenceNumberStatusNoChecksum
Swift
case noChecksum = 4