Document
An enumeration containing the supported documents
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Cases
Public variables
Cases
GhanaPassport
case GhanaPassport
Indicates the document is a Ghana Passport.
KenyaIDCard
case KenyaIDCard
Indicates the document is a Kenya ID Card.
KenyaPassport
case KenyaPassport
Indicates the document is a Kenya Passport.
MalawiPassport
case MalawiPassport
Indicates the document is a Malawi Passport.
MozambiqueIDCard
case MozambiqueIDCard
Indicates the document is a Mozambique ID Card.
MozambiquePassport
case MozambiquePassport
Indicates the document is a Mozambique Passport.
PhilippinesDriversLicense
case PhilippinesDriversLicense
Indicates the document is a Philippines Drivers License.
PhilippinesFirearmsLicense
case PhilippinesFirearmsLicense
Indicates the document is a Philippines Firearms License.
PhilippinesIntegratedBarID
case PhilippinesIntegratedBarID
Indicates the document is a Philippines Integrated Bar ID.
PhilippinesPassport
case PhilippinesPassport
Indicates the document is a Philippines Passport.
PhilippinesPhilHealthInsuranceCard
case PhilippinesPhilHealthInsuranceCard
Indicates the document is a Philippines Phil Health Insurance Card.
PhilippinesPostalID
case PhilippinesPostalID
Indicates the document is a Philippines Postal ID.
PhilippinesProfessionalRegulationCommissionCard
case PhilippinesProfessionalRegulationCommissionCard
Indicates the document is a Philippines Professional Regulation Commission Card.
PhilippinesSeafarerIdentificationDocument
case PhilippinesSeafarerIdentificationDocument
Indicates the document is a Philippines Seafarer Identification Document.
PhilippinesSeafarerIdentificationRecordBook
case PhilippinesSeafarerIdentificationRecordBook
Indicates the document is a Philippines Seafarer Identification Record Book (Seamans Book).
PhilippinesSocialSecurityID
case PhilippinesSocialSecurityID
Indicates the document is a Philippines Social Security ID.
PhilippinesUnifiedMultipurposeID
case PhilippinesUnifiedMultipurposeID
Indicates the document is a Philippines Unified Multipurpose ID.
SouthAfricaDriversLicense
case SouthAfricaDriversLicense
Indicates the document is a South Africa Drivers License.
SouthAfricaGreenBook
case SouthAfricaGreenBook
Indicates the document is a South Africa Green Book.
SouthAfricaIDCard
case SouthAfricaIDCard
Indicates the document is a South Africa ID Card.
SouthAfricaPassport
case SouthAfricaPassport
Indicates the document is a South Africa Passport.
UgandaIDCard
case UgandaIDCard
Indicates the document is a Uganda ID Card.
UgandaPassport
case UgandaPassport
Indicates the document is a Uganda Passport.
ZimbabwePassport
case ZimbabwePassport
Indicates the document is a Zimbabwe Passport.
Public variables
name
public var name: String { get }
Example: "South Africa ID Card"
Returns the document name.
country
public var country:
Country
{ get }
Example: Country.SouthAfrica
Returns the country of the document.
documentType
public var documentType:
DocumentType
{ get }
Example: DocumentType.IDCard
Returns the document type of the document.
See also
Where this is used
Last updated