Class

PKPaymentMethod

Contains information about Apple Pay cards.

Declaration

class PKPaymentMethod : NSObject

Topics

Accessing Payment Method Data

var displayName: String?

A string, suitable for display, that describes the card.

var network: PKPaymentNetwork?

A string, suitable for display, that describes the payment network backing the card.

var type: PKPaymentMethodType

A value representing the card’s type.

var paymentPass: PKPaymentPass?

An associated payment pass, or nil.

Types of Payment Methods

enum PKPaymentMethodType

The type of cards available in Apple Pay.

Relationships

Inherits From

Conforms To

See Also

Working with Payment Tokens

var paymentData: Data

The payment data as a UTF-8 encoded serialization of a JSON dictionary.

var paymentMethod: PKPaymentMethod

Information about the card used in the transaction.

var transactionIdentifier: String

A unique identifier for this payment.