Class

PKAddPaymentPassRequestConfiguration

Contains the configuration data needed to instantiate a new PKAddPaymentPassViewController object.

Declaration

class PKAddPaymentPassRequestConfiguration : NSObject

Overview

The encryption scheme, cardholder name, and primary account suffix are required for configuration. The configuration information is used for setup and display only. It should not contain any sensitive information.

Topics

Creating a Request Configuration

init?(encryptionScheme: PKEncryptionScheme)

Instantiates a new request configuration with the given encryption scheme.

struct PKEncryptionScheme

Encryption schemes.

Filtering Pass Libraries

var primaryAccountIdentifier: String?

A primary account identifier, used to filter out pass libraries.

var requiresFelicaSecureElement: Bool

A Boolean value that indicates whether the payment pass requires the Felica Secure Element.

Payment Pass Request Properties

var cardholderName: String?

The name of the person as shown on the card.

var encryptionScheme: PKEncryptionScheme

The encryption scheme to be used in this request.

struct PKEncryptionScheme

Encryption schemes.

var localizedDescription: String?

A short description of the card.

var primaryAccountSuffix: String?

The last four or five digits of the card’s number.

var cardDetails: [PKLabeledValue]

An array of labeled values that describe a card.

class PKLabeledValue

An object that can represent a detail about a payment card or other item.

Relationships

Inherits From

Conforms To

See Also

Payment Passes

class PKPaymentPass

Represents a provisioned payment card for in-app payments.

class PKAddPaymentPassRequest

Contains the card data needed to add a card to Apple Pay.

class PKLabeledValue

An object that can represent a detail about a payment card or other item.