Structure

ApplePayPaymentContact

Information fields that are used for billing and shipping contacts.

Declaration

dictionary ApplePayPaymentContact {
    DOMString phoneNumber;
    DOMString emailAddress;
    DOMString givenName;
    DOMString familyName;
    DOMString phoneticGivenName;
    DOMString phoneticFamilyName;
    sequence < DOMString > addressLines;
    DOMString subLocality;
    DOMString locality;
    DOMString postalCode;
    DOMString subAdministrativeArea;
    DOMString administrativeArea;
    DOMString country;
    DOMString countryCode;
};

Overview

All payment contact fields are available in all versions of the API, with these exceptions:

  • phoneticGivenName and phoneticFamilyName fields are available starting in API version 3.

Topics

Contact Properties

emailAddress

An email address for the contact.

familyName

The contact’s family name.

givenName

The contact’s given name.

phoneNumber

A phone number for the contact.

phoneticFamilyName

The phonetic spelling of the contact's family name.

phoneticGivenName

The phonetic spelling of the contact's given name.

Address Properties

addressLines

The street portion of the address for the contact.

locality

The city for the contact.

subLocality

Additional information associated with the location, typically defined at the city or town level (such as district or neighborhood), in a postal address.

administrativeArea

The state for the contact.

subAdministrativeArea

The subadministrative area (such as a county or other region) in a postal address.

postalCode

The zip code or postal code, where applicable, for the contact.

country

The name of the country for the contact.

countryCode

The contact’s two-letter ISO 3166 country code.

See Also

Known Contact Information

billingContact

Billing contact information for the user.

shippingContact

Shipping contact information for the user.