Class

PKPayment

Represents the result of authorizing a payment request and contains payment information, encrypted in the payment token.

Declaration

class PKPayment : NSObject

Topics

Working with the Payment Token

var token: PKPaymentToken

The encrypted payment information.

class PKPaymentToken

Contains the user’s payment credentials.

Working with Billing and Shipping Information

var billingContact: PKContact?

The user-selected billing address for this transaction.

var shippingContact: PKContact?

The user-selected shipping address for this transaction.

var shippingMethod: PKShippingMethod?

The user-selected shipping method for this transaction.

class PKContact

Encapsulates contact information needed for billing and shipping.

class PKShippingMethod

Defines a shipping method for delivering physical goods.

Deprecated

var billingAddress: ABRecord?

The user-selected billing address for this transaction.

Deprecated
var shippingAddress: ABRecord?

The user-selected shipping address for this transaction.

Deprecated

Relationships

Inherits From

Conforms To

See Also

Payment Sheet Interactions and Authorization

class PKPaymentAuthorizationResult

Reports the status code and errors that you return when a payment is authorized.

class PKPaymentAuthorizationController

Presents a sheet that prompts the user to authorize a payment request.

class PKPaymentAuthorizationViewController

Prompts the user to authorize a payment request.