PersonalCustomerCommonRequestEnrollData
public struct PersonalCustomerCommonRequestEnrollData : Encodable
Child structure of CustomerEnrollDataRequest.
-
This is a unique number that will be associated with the customer when enrolling or when performing future verifications.
Declaration
Swift
public var uniqueNumber: String -
Name of the customer, can be optionally provided for any Service.
Declaration
Swift
public var name: String? -
First name of the customer, can be optionally provided for any Service.
Declaration
Swift
public var firstName: String? -
Middle name of the customer, can be optionally provided for any Service.
Declaration
Swift
public var middleName: String? -
Last name of the customer, can be optionally provided for any Service.
Declaration
Swift
public var lastName: String? -
Phone Number of the customer
Declaration
Swift
public var phone: String? -
Phone Number country code of the customer.
Declaration
Swift
public var phoneCountryCode: String? -
Email address of the Customer, can be optionally provided for any Service.
Declaration
Swift
public var email: String? -
Date of birth of the customer, can be optionally provided for any Service. (DD/MM/YYYY)
Declaration
Swift
public var dob: String? -
Gender of the Customer, can be optionally provided for any Service.
Declaration
Swift
public var gender: Gender? -
Address Line 1 for the Customer, can be optionally provided for any Service.
Declaration
Swift
public var addressLine1: String? -
Address Line 2 for the Customer, can be optionally provided for any Service.
Declaration
Swift
public var addressLine2: String? -
City address of the Customer, can be optionally provided for any Service.
Declaration
Swift
public var city: String? -
District address of the Customer, can be optionally provided for any Service.
Declaration
Swift
public var district: String? -
Postal Code of the Customer, can be optionally provided for any Service.
Declaration
Swift
public var postalCode: String? -
Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.
Declaration
Swift
public var country: String?
-
init(uniqueNumber:name: firstName: middleName: lastName: phone: phoneCountryCode: email: dob: gender: addressLine1: addressLine2: city: district: postalCode: country: ) Designated initializer.
Declaration
Swift
public init(uniqueNumber: String, name: String? = nil, firstName: String? = nil, middleName: String? = nil, lastName: String? = nil, phone: String? = nil, phoneCountryCode: String? = nil, email: String? = nil, dob: String? = nil, gender: Gender? = nil, addressLine1: String? = nil, addressLine2: String? = nil, city: String? = nil, district: String? = nil, postalCode: String? = nil, country: String? = nil)Parameters
uniqueNumberThis is a unique number that will be associated with the customer when enrolling or when performing future verifications.
nameName of the customer, can be optionally provided for any Service.
firstNameFirst name of the customer, can be optionally provided for any Service.
middleNameMiddle name of the customer, can be optionally provided for any Service.
lastNameLast name of the customer, can be optionally provided for any Service.
phonePhone Number of the customer
phoneCountryCodePhone Number country code of the customer.
emailEmail address of the Customer, can be optionally provided for any Service.
dobDate of birth of the customer, can be optionally provided for any Service. (DD/MM/YYYY)
genderGender of the Customer, can be optionally provided for any Service.
addressLine1Address Line 1 for the Customer, can be optionally provided for any Service.
addressLine2Address Line 2 for the Customer, can be optionally provided for any Service.
cityCity address of the Customer, can be optionally provided for any Service.
districtDistrict address of the Customer, can be optionally provided for any Service.
postalCodePostal Code of the Customer, can be optionally provided for any Service.
countryCountry associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.
-
Declaration
Swift
public init(from oldObject: PersonalCustomerCommonRequestEnrollDataV3)