Types of passes.


enum PKPassType : UInt



case barcode

Passes that represent a barcode or other information.

static var payment: PKPassType

Passes that represent payment cards.

case any

Any type of pass.

Enumeration Cases

See Also

Identifying a Pass

var passTypeIdentifier: String

The pass’s type identifier.

var serialNumber: String

A value that uniquely identifies the pass.

var passType: PKPassType

The pass’s type.

var paymentPass: PKPaymentPass?

For passes that represent payment cards, the underlying payment pass.

var deviceName: String

The name of the device hosting the pass.

var localizedName: String

The localized name for the pass’s template.

var localizedDescription: String

The pass’s localized description.

var isRemotePass: Bool

A Boolean value that indicates whether the pass is stored on a device that is paired with the current iOS device (for example, Apple Watch).