PassKit Namespace

The Passkit namespace provides classes for creating and manipuating passes, including payment and authorization passes.

Classes

PKAddPassButton

A button that adds passes to a Wallet.

PKAddPassButton.PKAddPassButtonAppearance

Appearance class for objects of type PKAddPassButton.

PKAddPassesViewController

A UIViewController that manages the user experience of viewing a PKPass and prompting the user to add it to the PKPassLibrary.

PKAddPassesViewControllerDelegate

A delegate object that gives the application developer fine-grained control over life-cycle events of a PKAddPassesViewController object.

PKAddPassesViewControllerDelegate_Extensions

Extension methods to the IPKAddPassesViewControllerDelegate interface to support all the methods from the PKAddPassesViewControllerDelegate protocol.

PKAddPaymentPassRequest

Used to hold card data being inserted into Apple Pay.

PKAddPaymentPassRequestConfiguration

Holds configuration data needed by a PKAddPaymentPassViewController.

PKAddPaymentPassViewController

A standard UIViewController for adding cards to Apple Pay.

PKAddPaymentPassViewControllerDelegate

Delegate object for PKAddPaymentPassViewController whose members are called when prompting for an add payment request and when an PKAddPaymentPassRequest has failed.

PKContact

Shipping and billing information for a single Apple Pay transaction.

PKContactFieldsExtensions

Extension methods for the PKContactFields enumeration.

PKDisbursementAuthorizationController
PKDisbursementAuthorizationControllerDelegate
PKDisbursementRequest
PKDisbursementVoucher
PKEncryptionScheme

Defines the constant string Ecc_V2.

PKLabeledValue

A labeled value for card details.

PKObject

Base class for PKPass. Defines copy and encoding methods.

PKPass

A pass, which is an abstraction of such things as tickets, boarding passes, or gift or loyalty cards.

PKPassKitErrorCodeExtensions

Extension methods for the PassKit.PKPassKitErrorCode enumeration.

PKPassLibrary

Represents the user's library of passes.

PKPassLibrary.Notifications

Notification posted by the PKPassLibrary class.

PKPassLibraryUserInfoKey

A class whose static members represent keys to be used with the GetLocalizedValue(NSString) method.

PKPayment

The result of an authorized payment request. Contains encrypted payment information.

PKPaymentAuthorizationController

Presents a payment authorization user interface to the user and acts on the user's response.

PKPaymentAuthorizationControllerDelegate

Delegate object that responds to user interactions on behalf of a PKPaymentAuthorizationController.

PKPaymentAuthorizationControllerDelegate_Extensions

Extension methods to the IPKPaymentAuthorizationControllerDelegate interface to support all the methods from the PKPaymentAuthorizationControllerDelegate protocol.

PKPaymentAuthorizationEventArgs

Provides data for the DidAuthorizePayment event.

PKPaymentAuthorizationResult
PKPaymentAuthorizationResultEventArgs

Provides data for the DidAuthorizePayment2 event.

PKPaymentAuthorizationViewController

Standard view controller that prompts the user to authorize a payment.

PKPaymentAuthorizationViewControllerDelegate

Delegate object providing events relating to a payment authorization request made with a PKPaymentAuthorizationViewController.

PKPaymentAuthorizationViewControllerDelegate_Extensions

Extension methods to the IPKPaymentAuthorizationViewControllerDelegate interface to support all the methods from the PKPaymentAuthorizationViewControllerDelegate protocol.

PKPaymentButton

A button used to activate an Apple Pay payment. Available styles and types are defined by PKPaymentButtonStyle and PKPaymentButtonType.

PKPaymentButton.PKPaymentButtonAppearance

Appearance class for objects of type PKPaymentButton.

PKPaymentErrorCodeExtensions

Extension methods for the PassKit.PKPaymentErrorCode enumeration.

PKPaymentErrorKeys

Enumerates fields that caused payment errors.

PKPaymentMethod

Information about Apple Pay cards.

PKPaymentMethodSelectedEventArgs

Provides data for the DidSelectPaymentMethod event.

PKPaymentNetwork

Standard values returned by PaymentNetwork.

PKPaymentPass

A provisioned payment card that may be used for in-app purchases. (All fields are read-only)

PKPaymentRequest

The main class for a payment request, including processing capabilities, amount request, and shipping information.

PKPaymentRequestPaymentMethodUpdate
PKPaymentRequestPaymentMethodUpdateEventArgs

Provides data for the DidSelectPaymentMethod2 event.

PKPaymentRequestShippingContactUpdate
PKPaymentRequestShippingContactUpdateEventArgs

Provides data for the DidSelectShippingContact2 event.

PKPaymentRequestShippingMethodUpdate
PKPaymentRequestShippingMethodUpdateEventArgs

Provides data for the DidSelectShippingMethod2 event.

PKPaymentRequestUpdate
PKPaymentSelectedContactEventArgs

Provides data for the DidSelectShippingContact event.

PKPaymentShippingAddressSelectedEventArgs

Provides data for the DidSelectShippingAddress event.

PKPaymentShippingMethodSelectedEventArgs

Provides data for the DidSelectShippingMethod event.

PKPaymentSummaryItem

A summary item (such as grand total, tax, or discounts) within a payment request.

PKPaymentToken

The user's payment credentials. All fields are read-only.

PKShippingMethod

A shipping method for physical goods.

PKSuicaPassProperties

Contains Suica pass properties.

PKTransitPassProperties

Interfaces

IPKAddPassesViewControllerDelegate

Interface representing the required methods (if any) of the protocol PKAddPassesViewControllerDelegate.

IPKAddPaymentPassViewControllerDelegate

Interface representing the required methods (if any) of the protocol PKAddPaymentPassViewControllerDelegate.

IPKDisbursementAuthorizationControllerDelegate
IPKPaymentAuthorizationControllerDelegate

Interface representing the required methods (if any) of the protocol PKPaymentAuthorizationControllerDelegate.

IPKPaymentAuthorizationViewControllerDelegate

Interface representing the required methods (if any) of the protocol PKPaymentAuthorizationViewControllerDelegate.

Enums

PKAddPassButtonStyle

Enumerates Pass Button styles.

PKAddPaymentPassError

Enumerates error codes relating to PassKit operations.

PKAddPaymentPassStyle
PKAddressField

Holds address information for billing or shipping purposes.

PKAutomaticPassPresentationSuppressionResult

Enumerates results that are used in calls to RequestAutomaticPassPresentationSuppression(Action<PKAutomaticPassPresentationSuppressionResult>).

PKContactFields

Enumerates fields for a contact.

PKDisbursementRequestSchedule
PKErrorCode

An enumeration whose values specify error codes associated with PassKit operations.

PKMerchantCapability

Payment processing capabilities of a merchant.

PKPassKitErrorCode

An enumeration whose values specify errors relating to the passes and passbook functionality.

PKPassLibraryAddPassesStatus

An enumeration whose values define possible results when passes are added.

PKPassType

Enumeration of pass types (whether a pass is a barcode or presents a payment card).

PKPaymentAuthorizationStatus

Enumeration of results of authorization requests.

PKPaymentButtonStyle

Enumerates available styles for PKPaymentButton objects.

PKPaymentButtonType

Enumerates the types of PKPaymentButton objects.

PKPaymentErrorCode

Enumerates error conditions for payment operations.

PKPaymentMethodType

Enumerates the types of cards available to Apple Pay.

PKPaymentPassActivationState

Enumeration of valid states of a PKPaymentPass payment card.

PKPaymentSummaryItemType

Enumerates whether a payment associated with a PKShippingMethod is pending or final.

PKShippingType

Enumerates shipping methods.

Delegates

PKPaymentShippingAddressSelected

Delegate called when the user has selected a shipping address.

PKPaymentShippingMethodSelected

Delegate called when the user has selected a shipping method.