Country
An enumeration containing the supported countries and varies details
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Cases
Public variables
Cases
Angola
case Angola
Indicates the country is Angola.
Bangladesh
case Bangladesh
Indicates the country is Bangladesh.
Botswana
case Botswana
Indicates the country is Botswana.
DemocraticRepublicOfTheCongo
case DemocraticRepublicOfTheCongo
Indicates the country is DemocraticRepublic of the Congo.
Egypt
case Egypt
Indicates the country is Egypt.
Ethiopia
case Ethiopia
Indicates the country is Ethiopia.
Generic
case Ghana
Indicates the country is Generic.
Ghana
case Ghana
Indicates the country is Ghana.
Kenya
case Kenya
Indicates the country is Kenya.
Lesotho
case Lesotho
Indicates the country is Lesotho.
Malawi
case Malawi
Indicates the country is Malawi.
Mauritius
case Mauritius
Indicates the country is Mauritius.
Mozambique
case Mozambique
Indicates the country is Mozambique.
Namibia
case Namibia
Indicates the country is Namibia.
Nigeria
case Nigeria
Indicates the country is Nigeria.
Pakistan
case Pakistan
Indicates the country is Pakistan.
Philippines
case Philippines
Indicates the country is Philippines.
Somalia
case Somalia
Indicates the country is Somalia.
SouthAfrica
case SouthAfrica
Indicates the country is South Africa.
Tanzania
case Tanzania
Indicates the country is Tanzania.
Uganda
case Uganda
Indicates the country is Uganda.
UnitedKingdom
case UnitedKingdom
Indicates the country is United Kingdom.
Zambia
case Zambia
Indicates the country is Zambia.
Zimbabwe
case Zimbabwe
Indicates the country is Zimbabwe.
Public variables
fullName
public var fullName: String { get }
Example: "South Africa"
Returns the name of the country.
idCardCountryCode
public var idCardCountryCode: String { get }
Example: "RSA"
Returns the ID card code of the country.
passportCountryCode
public var passportCountryCode: String { get }
Example: "ZAF"
Returns the passport code of the country.
isoCode
public var isoCode: String { get }
Example: "ZA"
Returns the ISO code of the country.
supportedDocuments
public var supportedDocuments: [
DocumentType
] { get }
Example: [DocumentType.DriversLicense, DocumentType.IDCard, DocumentType.Passport]
Returns the document types that we support for the specified country.
See also
Where this is used
Last updated