PassKit macOS 12.3 to 13.0 API Differences

PKAddCarKeyPassConfiguration.h
Added PKAddCarKeyPassConfiguration.manufacturerIdentifier
Added PKAddCarKeyPassConfiguration.provisioningTemplateIdentifier
PKAddShareablePassConfiguration.h
Added PKShareablePassMetadataPreview
Added -[PKShareablePassMetadataPreview initWithPassThumbnail:localizedDescription:]
Added -[PKShareablePassMetadataPreview initWithTemplateIdentifier:]
Added +[PKShareablePassMetadataPreview previewWithPassThumbnail:localizedDescription:]
Added +[PKShareablePassMetadataPreview previewWithTemplateIdentifier:]
Added PKShareablePassMetadataPreview.passThumbnailImage
Added PKShareablePassMetadataPreview.localizedDescription
Added PKShareablePassMetadataPreview.ownerDisplayName
Added PKShareablePassMetadataPreview.provisioningTemplateIdentifier
Added -[PKShareablePassMetadata initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardTemplateIdentifier:preview:]
Added -[PKShareablePassMetadata initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardConfigurationIdentifier:preview:]
Added PKShareablePassMetadata.cardTemplateIdentifier
Added PKShareablePassMetadata.serverEnvironmentIdentifier
Added PKShareablePassMetadata.preview
Added +[PKAddShareablePassConfiguration configurationForPassMetadata:primaryAction:completion:]
Modified PKShareablePassMetadata.templateIdentifier
Declaration
From@property (nonatomic, readonly, strong, nonnull) NSString *templateIdentifier
To@property (nonatomic, readonly, strong, nonnull) NSString *templateIdentifier

Modified PKShareablePassMetadata.requiresUnifiedAccessCapableDevice
Declaration
From@property (nonatomic, readonly, assign) BOOL requiresUnifiedAccessCapableDevice
To@property (nonatomic, assign) BOOL requiresUnifiedAccessCapableDevice

Modified PKShareablePassMetadata.accountHash
Declaration
From@property (nonatomic, readonly, strong, nonnull) NSString *accountHash
To@property (nonatomic, strong, nonnull) NSString *accountHash

Modified PKShareablePassMetadata.relyingPartyIdentifier
Declaration
From@property (nonatomic, readonly, strong, nonnull) NSString *relyingPartyIdentifier
To@property (nonatomic, strong, nonnull) NSString *relyingPartyIdentifier

PKAutomaticReloadPaymentRequest.h
Added PKAutomaticReloadPaymentRequest
Added PKAutomaticReloadPaymentRequest.paymentDescription
Added PKAutomaticReloadPaymentRequest.automaticReloadBilling
Added PKAutomaticReloadPaymentRequest.billingAgreement
Added PKAutomaticReloadPaymentRequest.managementURL
Added PKAutomaticReloadPaymentRequest.tokenNotificationURL
Added -[PKAutomaticReloadPaymentRequest initWithPaymentDescription:automaticReloadBilling:managementURL:]
PKAutomaticReloadPaymentSummaryItem.h
Added PKAutomaticReloadPaymentSummaryItem
Added PKAutomaticReloadPaymentSummaryItem.thresholdAmount
PKError.h
Added PKAddSecureElementPassOSVersionNotSupportedError
Added PKShareSecureElementPassErrorDomain
Added PKShareSecureElementPassErrorCode
Added PKShareSecureElementPassUnknownError
Added PKShareSecureElementPassSetupError
PKIdentityError.h
Added PKIdentityError
PKPassLibrary.h
Added -[PKPassLibrary encryptedServiceProviderDataForSecureElementPass:completion:]
PKPaymentRequest.h
Added PKPaymentRequest.multiTokenContexts
Added PKPaymentRequest.recurringPaymentRequest
Added PKPaymentRequest.automaticReloadPaymentRequest
PKPaymentRequestStatus.h
Added PKPaymentAuthorizationResult.orderDetails
Added PKPaymentRequestUpdate.multiTokenContexts
Added PKPaymentRequestUpdate.recurringPaymentRequest
Added PKPaymentRequestUpdate.automaticReloadPaymentRequest
Added PKPaymentOrderDetails
Added -[PKPaymentOrderDetails initWithOrderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:]
Added PKPaymentOrderDetails.orderTypeIdentifier
Added PKPaymentOrderDetails.orderIdentifier
Added PKPaymentOrderDetails.webServiceURL
Added PKPaymentOrderDetails.authenticationToken
PKPaymentTokenContext.h
Added PKPaymentTokenContext
Added PKPaymentTokenContext.merchantIdentifier
Added PKPaymentTokenContext.externalIdentifier
Added PKPaymentTokenContext.merchantName
Added PKPaymentTokenContext.merchantDomain
Added PKPaymentTokenContext.amount
Added -[PKPaymentTokenContext initWithMerchantIdentifier:externalIdentifier:merchantName:merchantDomain:amount:]
PKRecurringPaymentRequest.h
Added PKRecurringPaymentRequest
Added PKRecurringPaymentRequest.paymentDescription
Added PKRecurringPaymentRequest.regularBilling
Added PKRecurringPaymentRequest.trialBilling
Added PKRecurringPaymentRequest.billingAgreement
Added PKRecurringPaymentRequest.managementURL
Added PKRecurringPaymentRequest.tokenNotificationURL
Added -[PKRecurringPaymentRequest initWithPaymentDescription:regularBilling:managementURL:]
PKVehicleConnectionSession.h
Added PKVehicleConnectionErrorCode
Added PKVehicleConnectionErrorCodeUnknown
Added PKVehicleConnectionErrorCodeSessionUnableToStart
Added PKVehicleConnectionErrorCodeSessionNotActive
Added PKVehicleConnectionSessionConnectionState
Added PKVehicleConnectionSessionConnectionStateDisconnected
Added PKVehicleConnectionSessionConnectionStateConnected
Added PKVehicleConnectionSessionConnectionStateConnecting
Added PKVehicleConnectionSessionConnectionStateFailedToConnect
Added PKVehicleConnectionDelegate
Added -[PKVehicleConnectionDelegate sessionDidChangeConnectionState:]
Added -[PKVehicleConnectionDelegate sessionDidReceiveData:]
Added PKVehicleConnectionSession
Added PKVehicleConnectionSession.delegate
Added PKVehicleConnectionSession.connectionStatus
Added +[PKVehicleConnectionSession sessionForPass:delegate:completion:]
Added -[PKVehicleConnectionSession sendData:error:]
Added -[PKVehicleConnectionSession invalidate]