iOS Guides | Samples

PassKit Namespace

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


IPKAddPassesViewControllerDelegateInterface representing the required methods (if any) of the protocol PKAddPassesViewControllerDelegate.
IPKAddPaymentPassViewControllerDelegateInterface representing the required methods (if any) of the protocol PKAddPaymentPassViewControllerDelegate.
IPKPaymentAuthorizationControllerDelegateInterface representing the required methods (if any) of the protocol PKPaymentAuthorizationControllerDelegate.
IPKPaymentAuthorizationViewControllerDelegateInterface representing the required methods (if any) of the protocol PKPaymentAuthorizationViewControllerDelegate.
PKAddPassButtonA button that adds passes to a Wallet.
PKAddPassButton+PKAddPassButtonAppearanceAppearance class for objects of type PKAddPassButton.
PKAddPassButtonStyleEnumerates Pass Button styles.
PKAddPassesViewControllerA UIViewController that manages the user experience of viewing a PKPass and prompting the user to add it to the PKPassLibrary.
PKAddPassesViewControllerDelegateA delegate object that gives the application developer fine-grained control over life-cycle events of a PKAddPassesViewController object.
PKAddPassesViewControllerDelegate_ExtensionsExtension methods to the IPKAddPassesViewControllerDelegate interface to support all the methods from the PKAddPassesViewControllerDelegate protocol.
PKAddPaymentPassErrorEnumerates error codes relating to PassKit operations.
PKAddPaymentPassRequestUsed to hold card data being inserted into Apple Pay.
PKAddPaymentPassRequestConfigurationHolds configuration data needed by a PKAddPaymentPassViewController.
PKAddPaymentPassViewControllerA standard UIViewController for adding cards to Apple Pay.
PKAddPaymentPassViewControllerDelegateDelegate object for PKAddPaymentPassViewController whose members are called when prompting for an add payment request and when an PKAddPaymentPassRequest has failed.
PKAddressFieldHolds address information for billing or shipping purposes.
PKAutomaticPassPresentationSuppressionResultEnumerates results that are used in calls to PKPassLibrary.RequestAutomaticPassPresentationSuppression.
PKContactShipping and billing information for a single Apple Pay transaction.
PKEncryptionSchemeDefines the constant string PKEncryptionScheme.Ecc_V2.
PKErrorCodeAn enumeration whose values specify error codes associated with PassKit operations.
PKMerchantCapabilityPayment processing capabilities of a merchant.
PKObjectBase class for PKPass. Defines copy and encoding methods.
PKPassA pass, which is an abstraction of such things as tickets, boarding passes, or gift or loyalty cards.
PKPassKitErrorCodeAn enumeration whose values specify errors relating to the passes and passbook functionality.
PKPassLibraryRepresents the user's library of passes.
PKPassLibrary+NotificationsNotification posted by the PKPassLibrary class.
PKPassLibraryAddPassesStatusAn enumeration whose values define possible results when passes are added.
PKPassLibraryUserInfoKeyA class whose static members represent keys to be used with the PKPass.GetLocalizedValue method.
PKPassTypeEnumeration of pass types (whether a pass is a barcode or presents a payment card).
PKPaymentThe result of an authorized payment request. Contains encrypted payment information.
PKPaymentAuthorizationControllerPresents a payment authorization user interface to the user and acts on the user's response.
PKPaymentAuthorizationControllerDelegateDelegate object that responds to user interactions on behalf of a PKPaymentAuthorizationController.
PKPaymentAuthorizationControllerDelegate_ExtensionsExtension methods to the IPKPaymentAuthorizationControllerDelegate interface to support all the methods from the PKPaymentAuthorizationControllerDelegate protocol.
PKPaymentAuthorizationEventArgsProvides data for the PKPaymentAuthorizationEventArgs.DidAuthorizePayment event.
PKPaymentAuthorizationStatusEnumeration of results of authorization requests.
PKPaymentAuthorizationViewControllerStandard view controller that prompts the user to authorize a payment.
PKPaymentAuthorizationViewControllerDelegateDelegate object providing events relating to a payment authorization request made with a PKPaymentAuthorizationViewController.
PKPaymentAuthorizationViewControllerDelegate_ExtensionsExtension methods to the IPKPaymentAuthorizationViewControllerDelegate interface to support all the methods from the PKPaymentAuthorizationViewControllerDelegate protocol.
PKPaymentButtonA button used to activate an Apple Pay payment. Available styles and types are defined by PKPaymentButtonStyle and PKPaymentButtonType.
PKPaymentButton+PKPaymentButtonAppearanceAppearance class for objects of type PKPaymentButton.
PKPaymentButtonStyleEnumerates available styles for PKPaymentButton objects.
PKPaymentButtonTypeEnumerates the types of PKPaymentButton objects.
PKPaymentMethodInformation about Apple Pay cards.
PKPaymentMethodSelectedEventArgsProvides data for the PKPaymentMethodSelectedEventArgs.DidSelectPaymentMethod event.
PKPaymentMethodTypeEnumerates the types of cards available to Apple Pay.
PKPaymentNetworkStandard values returned by PKPayment.Network.
PKPaymentPassA provisioned payment card that may be used for in-app purchases. (All fields are read-only)
PKPaymentPassActivationStateEnumeration of valid states of a PKPaymentPass payment card.
PKPaymentRequestThe main class for a payment request, including processing capabilities, amount request, and shipping information.
PKPaymentSelectedContactEventArgsProvides data for the PKPaymentSelectedContactEventArgs.DidSelectShippingContact event.
PKPaymentShippingAddressSelectedDelegate called when the user has selected a shipping address.
PKPaymentShippingAddressSelectedEventArgsProvides data for the PKPaymentShippingAddressSelectedEventArgs.DidSelectShippingAddress event.
PKPaymentShippingMethodSelectedDelegate called when the user has selected a shipping method.
PKPaymentShippingMethodSelectedEventArgsProvides data for the PKPaymentShippingMethodSelectedEventArgs.DidSelectShippingMethod event.
PKPaymentSummaryItemA summary item (such as grand total, tax, or discounts) within a payment request.
PKPaymentSummaryItemTypeEnumerates whether a payment associated with a PKShippingMethod is pending or final.
PKPaymentTokenThe user's payment credentials. All fields are read-only.
PKShippingMethodA shipping method for physical goods.
PKShippingTypeEnumerates shipping methods.