---
title: PKPass
framework: passkit
role: symbol
role_heading: Class
path: passkit/pkpass
---

# PKPass

An object that represents a single pass.

## Declaration

```swift
class PKPass
```

## Overview

Overview The properties of this class correspond to fields of the pass. For details about what individual fields mean, see Pass.

## Topics

### Creating a pass

- [init(data:)](passkit/pkpass/init(data:).md)

### Identifying a pass

- [passType](passkit/pkpass/passtype.md)
- [PKPassType](passkit/pkpasstype.md)
- [secureElementPass](passkit/pkpass/secureelementpass.md)
- [serialNumber](passkit/pkpass/serialnumber.md)
- [passTypeIdentifier](passkit/pkpass/passtypeidentifier.md)
- [deviceName](passkit/pkpass/devicename.md)
- [localizedName](passkit/pkpass/localizedname.md)
- [localizedDescription](passkit/pkpass/localizeddescription.md)
- [isRemotePass](passkit/pkpass/isremotepass.md)
- [paymentPass](passkit/pkpass/paymentpass.md)

### Getting the web service information

- [webServiceURL](passkit/pkpass/webserviceurl.md)
- [authenticationToken](passkit/pkpass/authenticationtoken.md)

### Getting the display attributes

- [icon](passkit/pkpass/icon.md)
- [localizedValue(forFieldKey:)](passkit/pkpass/localizedvalue(forfieldkey:).md)
- [organizationName](passkit/pkpass/organizationname.md)
- [relevantDate](passkit/pkpass/relevantdate.md)
- [PKPassRelevantDate](passkit/pkpassrelevantdate.md)

### Getting the Wallet URL

- [passURL](passkit/pkpass/passurl.md)

### Providing contextual information

- [userInfo](passkit/pkpass/userinfo.md)

### Instance Properties

- [relevantDates](passkit/pkpass/relevantdates.md)

## Relationships

### Inherits From

- [PKObject](passkit/pkobject.md)

### Inherited By

- [PKSecureElementPass](passkit/pksecureelementpass.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### General purpose passes

- [PKSecureElementPass](passkit/pksecureelementpass.md)
- [PKAddSecureElementPassConfiguration](passkit/pkaddsecureelementpassconfiguration.md)
- [PKAddSecureElementPassViewController](passkit/pkaddsecureelementpassviewcontroller.md)
- [PKAddPassesViewController](passkit/pkaddpassesviewcontroller.md)
- [AsyncShareablePassConfiguration](passkit/asyncshareablepassconfiguration.md)
- [PKShareSecureElementPassViewController](passkit/pksharesecureelementpassviewcontroller.md)
- [PKShareSecureElementPassViewControllerDelegate](passkit/pksharesecureelementpassviewcontrollerdelegate.md)
- [PKShareablePassMetadata.Preview](passkit/pkshareablepassmetadata/preview-swift.class.md)
- [PKShareSecureElementPassResult](passkit/pksharesecureelementpassresult.md)
