PersonalDataRequest

public struct PersonalDataRequest : Encodable

Child structure of CustomerValidateIdDataRequest & CustomerValidateIdFaceMatchDataRequest.

Properties

  • 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?
  • 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?
  • dob

    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?
  • Credit card token, can be optionally provided.

    Declaration

    Swift

    public var cardToken: String?
  • Last four digits of Credit card number, can be optionally provided.

    Declaration

    Swift

    public var cardLast4: String?

Initialization

  • Designated initializer.

    Declaration

    Swift

    public init(uniqueNumber: String? = nil,
                name: 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,
                cardToken: String? = nil,
                cardLast4: String? = nil)

    Parameters

    uniqueNumber

    This is a unique number that will be associated with the customer when enrolling or when performing future verifications.

    name

    Name of the customer, can be optionally provided for any Service.

    phone

    Phone Number of the customer

    phoneCountryCode

    Phone Number country code of the customer.

    email

    Email address of the Customer, can be optionally provided for any Service.

    dob

    Date of birth of the customer, can be optionally provided for any Service. (DD/MM/YYYY)

    gender

    Gender of the Customer, can be optionally provided for any Service.

    addressLine1

    Address Line 1 for the Customer, can be optionally provided for any Service.

    addressLine2

    Address Line 2 for the Customer, can be optionally provided for any Service.

    city

    City address of the Customer, can be optionally provided for any Service.

    district

    District address of the Customer, can be optionally provided for any Service.

    postalCode

    Postal Code of the Customer, can be optionally provided for any Service.

    country

    Country associated with the Customer, can be optionally provided for any Service. This must be the 3 digit ISO Country Code.

    cardToken

    Credit card token, can be optionally provided.

    cardLast4

    Last four digits of Credit card number, can be optionally provided.

Init Method For Backward compatibility