---
title: PKObject
framework: passkit
role: symbol
role_heading: Class
path: passkit/pkobject
---

# PKObject

An opaque type that acts as the superclass for the pass object.

## Declaration

```swift
class PKObject
```

## Overview

Overview Never use this class directly. Use the PKPass or PKPaymentPass classes instead.

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [PKPass](passkit/pkpass.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

### Related Documentation

- [Apple Pay Programming Guide](apple-archive/ApplePay_Guide.md)
- [Wallet Developer Guide](apple-archive/documentation/UserExperience/Conceptual/PassKit_PG.md)

### Common data types

- [PKAddPassButton](passkit/pkaddpassbutton.md)
- [PKLabeledValue](passkit/pklabeledvalue.md)
- [AddPassToWalletButton](passkit/addpasstowalletbutton.md)
- [AddPassToWalletButtonFilter](passkit/addpasstowalletbuttonfilter.md)
- [AddPassToWalletButtonResponse](passkit/addpasstowalletbuttonresponse.md)
- [AddPassToWalletButtonStyle](passkit/addpasstowalletbuttonstyle.md)
