IdentityDocument
public struct IdentityDocument : Codable, Equatable, FunctionResult
An identity document
-
Document number; 1-24 characters
Declaration
Swift
public let number: String
-
Document expiry date; may be null
Declaration
Swift
public let expiryDate: Date?
-
Front side of the document
Declaration
Swift
public let frontSide: DatedFile
-
Reverse side of the document; only for driver license and identity card
Declaration
Swift
public let reverseSide: DatedFile
-
Selfie with the document; may be null
Declaration
Swift
public let selfie: DatedFile?
-
List of files containing a certified English translation of the document
Declaration
Swift
public let translation: [DatedFile]
-
An identity document
Declaration
Parameters
number
Document number; 1-24 characters
expiryDate
Document expiry date; may be null
frontSide
Front side of the document
reverseSide
Reverse side of the document; only for driver license and identity card
selfie
Selfie with the document; may be null
translation
List of files containing a certified English translation of the document