PassKit watchOS 3.2 to 4.0 API Differences

PKConstants.h
Modified PKPaymentNetworkCarteBancaire
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentNetworkCarteBancaires instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentBillingAddressInvalidErrorWithKey:localizedDescription: in the errors array.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentShippingAddressInvalidErrorWithKey:localizedDescription: in the errors array.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKPaymentAuthorizationResult with PKPaymentAuthorizationStatusFailure and include the result of -paymentContactInvalidErrorWithContactField:localizedDescription: in the errors array.

PKError.h
Declaration
FromNSString *const PKPassKitErrorDomain
ToNSString *const _Nonnull PKPassKitErrorDomain

PKPaymentAuthorizationController.h
OptionalAvailabilityDeprecation Message
FromRequiredAvailablenone
ToOptionalDeprecatedUse paymentAuthorizationController:didAuthorizePayment:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectShippingMethod:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectShippingContact:handler: instead to provide more granular errors

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse paymentAuthorizationController:didSelectPaymentMethod:handler: instead to provide more granular errors

PKPaymentRequest.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

Availability
FromAvailable
ToDeprecated

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PKContactField and -requiredShippingContactFields / -requiredBillingContactFields

AvailabilityReplacement
FromAvailablenone
ToDeprecatedrequiredBillingContactFields

AvailabilityReplacement
FromAvailablenone
ToDeprecatedrequiredShippingContactFields

PKPaymentRequestStatus.h