Country
An enumeration containing the supported countries and varies details
Last updated
An enumeration containing the supported countries and varies details
Last updated
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
case Kenya
Indicates the country is Kenya.
case Philippines
Indicates the country is Philippines.
case SouthAfrica
Indicates the country is South Africa.
case Zimbabwe
Indicates the country is Zimbabwe.
public var fullName: String { get }
Example: "South Africa"
Returns the name of the country.
public var idCardCountryCode: String { get }
Example: "RSA"
Returns the ID card code of the country.
public var passportCountryCode: String { get }
Example: "ZAF"
Returns the passport code of the country.
public var isoCode: String { get }
Example: "ZA"
Returns the ISO code of the country.
public var supportedDocuments: [
DocumentType
] { get }
Example: [DocumentType.DriversLicense, DocumentType.IDCard, DocumentType.Passport]
Returns the document types that we support for the specified country.
Name
Description
Indicates the country is Kenya.
Indicates the country is Philippines.
Indicates the country is South Africa.
Indicates the country is Zimbabwe.
Name
Type
Description
String
Returns the name of the country.
String
Returns the ID card code of the country.
String
Returns the passport code of the country.
String
Returns the ISO code of the country.
Returns the document types that we support for the specified country.