Instance Property

paymentPass

An associated payment pass, or nil.

Declaration

@NSCopying var paymentPass: PKPaymentPass? { get }

Discussion

If your app is associated with the current payment pass, this property contains information about that pass. Otherwise, it is set to nil.

Use this property to detect your own custom-branded credit or debit cards. For example, you could provide a discount whenever a customer uses your store-branded credit card.

See Also

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.