Instance Property


A prepopulated shipping address.


var shippingContact: PKContact? { get set }


If you have an up-to-date shipping address on file, you can set this property to that address. This shipping address appears in the payment sheet. When the PKPaymentAuthorizationViewController class is presented, the user can either keep the address you specified or enter a different address.

Note that a PKContact object that represents a shipping contact contains information for only the postalAddress, emailAddress, and phoneNumber properties. All other properties in the object are set to nil.

See Also

Providing Known Contact Information

var billingContact: PKContact?

A prepopulated billing address.

class PKContact

Encapsulates contact information needed for billing and shipping.