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
numberDocument number; 1-24 characters
expiryDateDocument expiry date; may be null
frontSideFront side of the document
reverseSideReverse side of the document; only for driver license and identity card
selfieSelfie with the document; may be null
translationList of files containing a certified English translation of the document
View on GitHub
Install in Dash
IdentityDocument Structure Reference