iOS Developer Library — Pre-Release

Developer

PassKit Framework Reference

Introduction

Classes   Protocols   Other Reference  

The PassKit framework provides access to the user’s pass library.

Classes

Class

Abstract

NSObject

NSObject is the root class of most Objective-C class hierarchies.

PKObject

The PKObject class is the opaque superclass for the PKPass class.

PKPass

The PKPass class represents a single pass.

PKPaymentPass

The PKPaymentPass class represents a provisioned payment card for in-app payments.

PKPassLibrary

The PKPassLibrary class provides an interface to the user’s library of passes.

PKPayment

The PKPayment class represents the result of authorizing a payment request.

PKPaymentRequest

The PKPaymentRequest class encapsulates a request for payment, including information about payment processing capabilities, the payment amount, and shipping information.

PKPaymentSummaryItem

The PKPaymentSummaryItem class defines a summary item in a payment request—for example, total, tax, discount, or grand total.

PKShippingMethod

The PKShippingMethod defines a shipping method for delivering physical goods.

PKPaymentToken

The PKPaymentToken class contains the user’s payment credentials.

UIButton

An instance of the UIButton class implements a button on the touch screen.

PKPaymentButton

The PKPaymentButton class provides a button that is used to trigger payments through Apple Pay.

UIViewController

The UIViewController class provides the fundamental view-management model for all iOS apps.

PKAddPassesViewController

The PKAddPassesViewController class lets your app show a pass and prompt the user to add that pass to the pass library.

PKPaymentAuthorizationViewController

The PKPaymentAuthorizationViewController class prompts the user to authorize a payment request.

Protocols

Protocol

Abstract

PKAddPassesViewControllerDelegate

The PKAddPassesViewControllerDelegate protocol defines methods that an add-passes view controller’s delegate implements.

PKPaymentAuthorizationViewControllerDelegate

The PKPaymentAuthorizationViewControllerDelegate protocol is implemented by the payment authorization view controller’s delegate.

Other Reference

Reference

Passbook Package Format Reference

Payment Token Format Reference