SQIPContact

@interface SQIPContact : NSObject

This represents the optional fields that can be passed in as part of the verification process. The more fields you provide, the greater the chance the user will not be challenged or rejected.

  • First name of the contact.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *givenName;
  • Last name of the contact.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *familyName;
  • Email address of the contact.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *email;
  • The contact street address parts.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSString *> *addressLines;
  • The contact address city.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *city;
  • The applicable administrative region (e.g., province, state) of the contact address.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *region;
  • The contact address postal code.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *postalCode;
  • A 2-letter string containing the ISO 3166-1 country code of the contact address. This field is returned in uppercase and maps to the Apple Pay countryCode field.

    Declaration

    Objective-C

    @property (nonatomic) SQIPCountry country;
  • The telephone number of the contact.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *phone;
  • Creates a new Contact object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Creates a new Contact object.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGivenName:(nullable NSString *)givenName
                                   familyName:(nullable NSString *)familyName
                                        email:(nullable NSString *)email
                                 addressLines:
                                     (nullable NSArray<NSString *> *)addressLines
                                         city:(nullable NSString *)city
                                       region:(nullable NSString *)region
                                   postalCode:(nullable NSString *)postalCode
                                      country:(SQIPCountry)country
                                        phone:(nullable NSString *)phone;

    Parameters

    givenName

    First name of the contact.

    familyName

    Last name of the contact.

    email

    Email address of the contact.

    addressLines

    The contact street address parts.

    city

    The contact address city.

    region

    The applicable administrative region (e.g., province, state) of the contact address.

    postalCode

    A 2-letter string containing the ISO 3166-1 country code of the contact address.

    country

    The telephone number of the contact.

    phone

    The telephone number of the contact.