Structure

PKContactField

The fields that describe a contact.

Declaration

struct PKContactField

Overview

Use PKContactField field types to indicate which contact fields you require for a billing or shipping contact in order to complete the transaction.

Topics

Initializing a Contact Field

init(rawValue: String)

Create a contact field given the raw value.

Types of Contact Fields

static let emailAddress: PKContactField

A constant that indicates a contact's email address.

static let name: PKContactField

A constant that indicates a contact's name.

static let phoneNumber: PKContactField

A constant that indicates a contact's telephone number.

static let phoneticName: PKContactField

A constant that indicates a contact's phonetic name.

static let postalAddress: PKContactField

A constant that indicates a contact's postal address.

Relationships

See Also

Requesting Billing and Shipping Contact Fields

var requiredBillingContactFields: Set<PKContactField>

A list of fields that you need for a billing contact in order to process the transaction.

var requiredShippingContactFields: Set<PKContactField>

A list of fields that you need for a shipping contact in order to process the transaction.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software