-
Notifications
You must be signed in to change notification settings - Fork 514
PassKit macOS xcode13.0 rc
Alex Soto edited this page Sep 14, 2021
·
1 revision
#PassKit.framework
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h 2021-08-07 05:20:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h 2021-08-03 21:48:32.000000000 -0400
@@ -5,9 +5,6 @@
// Copyright © 2018 Apple, Inc. All rights reserved.
//
-#ifndef __PKADDPAYMENTPASSREQUEST_H
-#define __PKADDPAYMENTPASSREQUEST_H
-
#import <Foundation/Foundation.h>
#import <PassKit/PKConstants.h>
@@ -78,5 +75,3 @@
@end
NS_ASSUME_NONNULL_END
-
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2021-08-07 05:20:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2021-08-03 21:48:32.000000000 -0400
@@ -22,24 +22,9 @@
ownerDisplayName:(NSString *)ownerDisplayName
localizedDescription:(NSString *)localizedDescription;
-- (instancetype)initWithProvisioningCredentialIdentifier:(NSString *)credentialIdentifier
- sharingInstanceIdentifier:(NSString *)sharingInstanceIdentifier
- passThumbnailImage:(CGImageRef)passThumbnailImage
- ownerDisplayName:(NSString *)ownerDisplayName
- localizedDescription:(NSString *)localizedDescription
- accountHash:(NSString *)accountHash
- templateIdentifier:(NSString *)templateIdentifier
- relyingPartyIdentifier:(NSString *)relyingPartyIdentifier
- requiresUnifiedAccessCapableDevice:(BOOL)requiresUnifiedAccessCapableDevice
-API_AVAILABLE(ios(15.0), watchos(8.0));
-
@property (nonatomic, strong, readonly) NSString *credentialIdentifier;
@property (nonatomic, strong, readonly) NSString *cardConfigurationIdentifier;
@property (nonatomic, strong, readonly) NSString *sharingInstanceIdentifier;
-@property (nonatomic, strong, readonly) NSString *accountHash API_AVAILABLE(ios(15.0), watchos(8.0));
-@property (nonatomic, strong, readonly) NSString *templateIdentifier API_AVAILABLE(ios(15.0), watchos(8.0));
-@property (nonatomic, strong, readonly) NSString *relyingPartyIdentifier API_AVAILABLE(ios(15.0), watchos(8.0));
-@property (nonatomic, assign, readonly) BOOL requiresUnifiedAccessCapableDevice;
@property (nonatomic, readonly) CGImageRef passThumbnailImage CF_RETURNS_NOT_RETAINED;
@@ -59,9 +44,7 @@
+ (void)configurationForPassMetadata:(NSArray<PKShareablePassMetadata *> *)passMetadata
provisioningPolicyIdentifier:(NSString *)provisioningPolicyIdentifier
primaryAction:(PKAddShareablePassConfigurationPrimaryAction)action
- completion:(void(^)(PKAddShareablePassConfiguration * _Nullable shareableCredentialConfiguration, NSError * _Nullable error))completion
-NS_SWIFT_NAME(forPassMetaData(_:provisioningPolicyIdentifier:action:completion:))
-NS_SWIFT_ASYNC(4);
+ completion:(void(^)(PKAddShareablePassConfiguration * _Nullable shareableCredentialConfiguration, NSError * _Nullable error))completion NS_SWIFT_NAME(forPassMetaData(_:provisioningPolicyIdentifier:action:completion:));
@property (nonatomic, readonly) PKAddShareablePassConfigurationPrimaryAction primaryAction;
@property (nonatomic, strong, readonly) NSArray<PKShareablePassMetadata *> *credentialsMetadata;
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2021-08-03 21:52:57.000000000 -0400
@@ -83,8 +83,7 @@
PKPaymentButtonTypeRent API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)),
PKPaymentButtonTypeSupport API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)),
PKPaymentButtonTypeContribute API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)),
- PKPaymentButtonTypeTip API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)),
- PKPaymentButtonTypeContinue API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0))
+ PKPaymentButtonTypeTip API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0))
} API_AVAILABLE(macos(11.0), ios(8.3), watchos(3.0));
typedef NS_OPTIONS(NSUInteger, PKRadioTechnology) {
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h 2021-08-03 21:48:30.000000000 -0400
@@ -4,9 +4,6 @@
// Copyright © 2015 Apple, Inc. All rights reserved.
//
-#ifndef __PKCONTACT_H
-#define __PKCONTACT_H
-
#import <Foundation/Foundation.h>
#if !TARGET_OS_TV
@@ -33,5 +30,3 @@
@property (nonatomic, retain, nullable) NSString *supplementarySubLocality API_DEPRECATED("Use subLocality and subAdministrativeArea on -postalAddress instead", ios(9.2, 10.3), watchos(3.0, 3.2));
@end
-
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,29 +0,0 @@
-//
-// PKDateComponentsRange.h
-//
-// Copyright © 2020 Apple, Inc. All rights reserved.
-//
-
-#ifndef __PKDATECOMPONENTSRANGE_H
-#define __PKDATECOMPONENTSRANGE_H
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-API_AVAILABLE(ios(15.0), macos(12.0), watchos(8.0))
-@interface PKDateComponentsRange : NSObject <NSCopying, NSSecureCoding>
-
-- (instancetype)init NS_UNAVAILABLE;
-// The date components must have valid dates and a calendar.
-- (nullable instancetype)initWithStartDateComponents:(NSDateComponents *)startDateComponents
- endDateComponents:(NSDateComponents *)endDateComponents;
-
-@property (copy, readonly, nonatomic) NSDateComponents *startDateComponents;
-@property (copy, readonly, nonatomic) NSDateComponents *endDateComponents;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h 2021-08-07 05:20:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,24 +0,0 @@
-//
-// PKDeferredPaymentSummaryItem.h
-//
-// Copyright © 2021 Apple, Inc. All rights reserved.
-//
-
-#import <PassKit/PKPaymentSummaryItem.h>
-
-#ifndef __PKDEFERREDPAYMENTSUMMARYITEM_H__
-#define __PKDEFERREDPAYMENTSUMMARYITEM_H__
-
-NS_ASSUME_NONNULL_BEGIN
-
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0))
-@interface PKDeferredPaymentSummaryItem : PKPaymentSummaryItem
-
-// The timestamp to which the payment is deferred.
-@property (nonatomic, copy) NSDate *deferredDate;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif // __PKDEFERREDPAYMENTSUMMARYITEM_H__
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2021-08-03 21:48:29.000000000 -0400
@@ -35,8 +35,7 @@
PKPaymentShippingContactInvalidError = 1, // the user's contact information has an error. Use the PKPaymentErrorKeys in the userInfo to detail the problem.
PKPaymentBillingContactInvalidError, // the user's billing contact information has an error. Use the PKPaymentErrorKeys in the userInfo to detail the problem.
PKPaymentShippingAddressUnserviceableError, // the user's shipping address is otherwise valid but not serviceable. For example, the address is in Canada and you only ship to the United States, or you don't deliver to PO Boxes.
- PKPaymentCouponCodeInvalidError API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos), // The coupon code entered by the user is invalid.
- PKPaymentCouponCodeExpiredError API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos), // The coupon code entered by the user has expired.
+
} API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
typedef NSString * PKPaymentErrorKey NS_STRING_ENUM;
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h 2021-08-03 00:05:11.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h 2021-03-16 04:44:16.000000000 -0400
@@ -9,6 +9,7 @@
#define __PKOBJECT_H
#import <Foundation/Foundation.h>
+#import <PassKit/PKError.h>
@interface PKObject : NSObject
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2021-08-03 21:48:30.000000000 -0400
@@ -93,16 +93,12 @@
// These methods may be utilized to activate a payment pass that is provisioned but currently in the inactive state, by providing
// either a cryptographic OTP, or an activation code.
-- (void)activatePaymentPass:(PKPaymentPass *)paymentPass withActivationData:(NSData *)activationData completion:(nullable void(^)(BOOL success, NSError *error))completion API_DEPRECATED("Use activateSecureElementPass:withActivationData:completion: instead", ios(8.0, API_TO_BE_DEPRECATED)) NS_SWIFT_DISABLE_ASYNC;
-- (void)activatePaymentPass:(PKPaymentPass *)paymentPass withActivationCode:(NSString *)activationCode completion:(nullable void(^)(BOOL success, NSError *error))completion API_DEPRECATED("Use activatePaymentPass:withActivationData:completion: instead", ios(8.0, 9.0)) __WATCHOS_PROHIBITED NS_SWIFT_DISABLE_ASYNC;
+- (void)activatePaymentPass:(PKPaymentPass *)paymentPass withActivationData:(NSData *)activationData completion:(nullable void(^)(BOOL success, NSError *error))completion API_DEPRECATED("Use activateSecureElementPass:withActivationData:completion: instead", ios(8.0, API_TO_BE_DEPRECATED));
+- (void)activatePaymentPass:(PKPaymentPass *)paymentPass withActivationCode:(NSString *)activationCode completion:(nullable void(^)(BOOL success, NSError *error))completion API_DEPRECATED("Use activatePaymentPass:withActivationData:completion: instead", ios(8.0, 9.0)) __WATCHOS_PROHIBITED;
- (void)activateSecureElementPass:(PKSecureElementPass *)secureElementPass withActivationData:(NSData *)activationData completion:(nullable void(^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_NAME(activate(_:activationData:completion:)) API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos);
// Sign a payload using the pass
- (void)signData:(NSData *)signData withSecureElementPass:(PKSecureElementPass *)secureElementPass completion:(void(^)(NSData * _Nullable signedData, NSData * _Nullable signature, NSError * _Nullable error))completion NS_SWIFT_NAME(sign(_:using:completion:)) API_AVAILABLE(ios(13.4), watchos(6.2));
-
-// Returns custom data for a given secure element pass, if supported by that pass
-- (void)serviceProviderDataForSecureElementPass:(PKSecureElementPass *)secureElementPass completion:(void(^)(NSData * _Nullable serviceProviderData, NSError* _Nullable error))completion NS_SWIFT_NAME(serviceProviderData(for:completion:)) API_AVAILABLE(ios(15.0), watchos(8.0));
-
@end
// This notification is issued by a library instance, with that instance as the sender. If there are no instantiated library objects,
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2021-08-07 05:20:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2021-08-03 21:48:32.000000000 -0400
@@ -4,9 +4,6 @@
// Copyright (c) 2014 Apple, Inc. All rights reserved.
//
-#ifndef __PKPAYMENT_H
-#define __PKPAYMENT_H
-
#import <TargetConditionals.h>
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
@@ -53,4 +50,3 @@
@end
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2021-08-07 05:23:13.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2021-08-03 21:52:58.000000000 -0400
@@ -28,7 +28,6 @@
@class PKPaymentAuthorizationResult;
@class PKPaymentAuthorizationController;
@class PKPaymentRequestPaymentMethodUpdate;
-@class PKPaymentRequestCouponCodeUpdate;
@class PKPaymentRequestShippingMethodUpdate;
@class PKPaymentRequestShippingContactUpdate;
@class PKPaymentRequestMerchantSessionUpdate;
@@ -66,11 +65,7 @@
- (void)paymentAuthorizationControllerWillAuthorizePayment:(PKPaymentAuthorizationController *)controller;
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
- didRequestMerchantSessionUpdate:(void (^)(PKPaymentRequestMerchantSessionUpdate *update))handler API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)) NS_SWIFT_ASYNC_NAME(paymentAuthorizationControllerDidRequestMerchantSessionUpdate(controller:));
-
-- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
- didChangeCouponCode:(NSString *)couponCode
- handler:(void (^)(PKPaymentRequestCouponCodeUpdate *update))completion API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
+ didRequestMerchantSessionUpdate:(void (^)(PKPaymentRequestMerchantSessionUpdate *update))handler API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0));
// Sent when the user has selected a new shipping method. The delegate should determine
// shipping costs based on the shipping method and either the shipping address contact in the original
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2021-08-07 05:20:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2021-08-03 21:48:31.000000000 -0400
@@ -5,9 +5,6 @@
// Copyright (c) 2014 Apple, Inc. All rights reserved.
//
-#ifndef __PKPAYMENTAUTHORIZATIONVIEWCONTROLLER_H
-#define __PKPAYMENTAUTHORIZATIONVIEWCONTROLLER_H
-
#import <TargetConditionals.h>
#if !TARGET_OS_WATCH && !TARGET_OS_TV
@@ -79,4 +76,3 @@
NS_ASSUME_NONNULL_END
#endif
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2021-08-06 23:46:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2021-08-03 21:53:00.000000000 -0400
@@ -27,7 +27,6 @@
@class PKPaymentSummaryItem;
@class PKPaymentAuthorizationResult;
@class PKPaymentRequestPaymentMethodUpdate;
-@class PKPaymentRequestCouponCodeUpdate;
@class PKPaymentAuthorizationViewController;
@class PKPaymentRequestShippingMethodUpdate;
@class PKPaymentRequestShippingContactUpdate;
@@ -64,12 +63,7 @@
- (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController *)controller
- didRequestMerchantSessionUpdate:(void (^)(PKPaymentRequestMerchantSessionUpdate *update))handler API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)) NS_SWIFT_ASYNC_NAME(paymentAuthorizationViewControllerDidRequestMerchantSessionUpdate(controller:));
-
-
-- (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController *)controller
- didChangeCouponCode:(NSString *)couponCode
- handler:(void (^)(PKPaymentRequestCouponCodeUpdate *update))completion API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
+ didRequestMerchantSessionUpdate:(void (^)(PKPaymentRequestMerchantSessionUpdate *update))handler API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0));
// Sent when the user has selected a new shipping method. The delegate should determine
// shipping costs based on the shipping method and either the shipping address supplied in the original
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h 2021-08-03 21:48:30.000000000 -0400
@@ -23,8 +23,7 @@
PKPaymentMethodTypeDebit = 1,
PKPaymentMethodTypeCredit = 2,
PKPaymentMethodTypePrepaid = 3,
- PKPaymentMethodTypeStore = 4,
- PKPaymentMethodTypeEMoney = 5,
+ PKPaymentMethodTypeStore = 4
} API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
// A string describing the instrument that's suitable for display
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2021-08-09 03:21:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2021-08-03 21:48:31.000000000 -0400
@@ -6,15 +6,13 @@
#import <Foundation/Foundation.h>
#import <PassKit/PKConstants.h>
-#import <PassKit/PKDeferredPaymentSummaryItem.h>
-#import <PassKit/PKRecurringPaymentSummaryItem.h>
-#import <PassKit/PKPaymentSummaryItem.h>
-#import <PassKit/PKShippingMethod.h>
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
#import <AddressBook/ABRecord.h>
#endif // TARGET_OS_IOS
+#import <PassKit/PKConstants.h>
+
#ifndef __PKPAYMENTREQUEST_H__
#define __PKPAYMENTREQUEST_H__
@@ -45,10 +43,44 @@
PKShippingTypeServicePickup
} API_AVAILABLE(macos(11.0), ios(8.3), watchos(3.0));
-typedef NS_ENUM(NSUInteger, PKShippingContactEditingMode) {
- PKShippingContactEditingModeEnabled = 1,
- PKShippingContactEditingModeStorePickup
-} API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
+typedef NS_ENUM(NSUInteger, PKPaymentSummaryItemType) {
+ PKPaymentSummaryItemTypeFinal, // The payment summary item's amount is known to be correct
+ PKPaymentSummaryItemTypePending // The payment summary item's amount is estimated or unknown - e.g, a taxi fare
+} API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
+
+// PKPaymentSummaryItem Defines a line-item for a payment such as tax, shipping, or discount.
+API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0))
+@interface PKPaymentSummaryItem : NSObject
+
++ (instancetype)summaryItemWithLabel:(NSString *)label amount:(NSDecimalNumber *)amount;
++ (instancetype)summaryItemWithLabel:(NSString *)label amount:(NSDecimalNumber *)amount type:(PKPaymentSummaryItemType)type API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
+
+// A short localized description of the item, e.g. "Tax" or "Gift Card".
+@property (nonatomic, copy) NSString *label;
+
+// Same currency as the enclosing PKPaymentRequest. Negative values are permitted, for example when
+// redeeming a coupon. An amount is always required unless the summary item's type is set to pending
+@property (nonatomic, copy) NSDecimalNumber *amount;
+
+// Defaults to PKPaymentSummaryItemTypeFinal
+// Set to PKPaymentSummaryItemTypePending if the amount of the item is not known at this time
+@property (nonatomic, assign) PKPaymentSummaryItemType type API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
+
+@end
+
+// Defines a shipping method for delivering physical goods.
+API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0))
+@interface PKShippingMethod : PKPaymentSummaryItem
+
+// Application-defined unique identifier for this shipping method. The application will receive this
+// in paymentAuthorizationViewController:didAuthorizePayment:completion:.
+@property (nonatomic, copy, nullable) NSString *identifier;
+
+// Additional localized information about the shipping method, e.g. "Ships in 24 hours" or
+// "Arrives Friday April 4."
+@property (nonatomic, copy, nullable) NSString *detail;
+
+@end
// PKPaymentRequest defines an application's request to produce a payment instrument for the
// purchase of goods and services. It encapsulates information about the selling party's payment
@@ -76,12 +108,6 @@
// Convenience method to create a payment shipping address service error with the supplied description
+ (NSError *)paymentShippingAddressUnserviceableErrorWithLocalizedDescription:(nullable NSString *)localizedDescription API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
-// Convenience method to create a payment coupon code invalid error with the supplied description.
-+ (NSError *)paymentCouponCodeInvalidErrorWithLocalizedDescription:(nullable NSString *)localizedDescription API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos) NS_REFINED_FOR_SWIFT;
-
-// Convenience method to create a payment coupon code expired error with the supplied description.
-+ (NSError *)paymentCouponCodeExpiredErrorWithLocalizedDescription:(nullable NSString *)localizedDescription API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos) NS_REFINED_FOR_SWIFT;
-
// Identifies the merchant, as previously agreed with Apple. Must match one of the merchant
// identifiers in the application's entitlement.
@property (nonatomic, copy) NSString *merchantIdentifier;
@@ -96,12 +122,6 @@
// The payment processing capabilities of the merchant.
@property (nonatomic, assign) PKMerchantCapability merchantCapabilities;
-// Indicates whether the merchant supports coupon code entry and validation. Defaults to NO.
-@property (nonatomic, assign) BOOL supportsCouponCode API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
-
-// An optional coupon code that is valid and has been applied to the payment request already.
-@property (nonatomic, copy, nullable) NSString *couponCode API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
-
// Array of PKPaymentSummaryItem objects which should be presented to the user.
// The last item should be the total you wish to charge, and should not be pending
@property (nonatomic, copy) NSArray<PKPaymentSummaryItem *> *paymentSummaryItems;
@@ -138,9 +158,6 @@
// The default is PKShippingTypeShipping
@property (nonatomic, assign) PKShippingType shippingType API_AVAILABLE(macos(11.0), ios(8.3), watchos(3.0));
-// Indicates the editing mode for the shipping contact. The default is PKShippingContactEditingModeEnabled.
-@property (nonatomic, assign) PKShippingContactEditingMode shippingContactEditingMode API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
-
// Optional merchant-supplied information about the payment request. Examples of this are an order
// or cart identifier. It will be signed and included in the resulting PKPaymentToken.
@property (nonatomic, copy, nullable) NSData *applicationData;
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2021-08-03 21:48:30.000000000 -0400
@@ -12,7 +12,6 @@
@class PKShippingMethod;
@class PKPaymentSummaryItem;
@class PKPaymentMerchantSession;
-@class PKPaymentTokenConfiguration;
API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0))
@interface PKPaymentAuthorizationResult : NSObject
@@ -43,10 +42,6 @@
// The new payment summary items to update the payment request with
@property (nonatomic, copy) NSArray<PKPaymentSummaryItem *> *paymentSummaryItems;
-// The new shipping methods to update the payment request with. An empty array, the default value,
-// indicates that the shipping methods don't need updating.
-@property (nonatomic, copy) NSArray<PKShippingMethod *> *shippingMethods API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
-
@end
API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0))
@@ -90,17 +85,4 @@
@end
-API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos)
-@interface PKPaymentRequestCouponCodeUpdate : PKPaymentRequestUpdate
-
-// You may optionally supply errors here.
-// See PKError for specific NSError keys to use.
-- (instancetype)initWithErrors:(nullable NSArray<NSError *> *)errors
- paymentSummaryItems:(NSArray<PKPaymentSummaryItem *> *)paymentSummaryItems
- shippingMethods:(NSArray<PKShippingMethod *> *)shippingMethods NS_DESIGNATED_INITIALIZER;
-
-@property (nonatomic, copy, null_resettable) NSArray<NSError *> *errors;
-
-@end
-
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h 2021-08-07 05:20:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,44 +0,0 @@
-//
-// PKPaymentSummaryItem.h
-//
-// Copyright © 2021 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <PassKit/PKConstants.h>
-
-#ifndef __PKPAYMENTSUMMARYITEM_H__
-#define __PKPAYMENTSUMMARYITEM_H__
-
-@class PKDateComponentsRange;
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NS_ENUM(NSUInteger, PKPaymentSummaryItemType) {
- PKPaymentSummaryItemTypeFinal, // The payment summary item's amount is known to be correct
- PKPaymentSummaryItemTypePending // The payment summary item's amount is estimated or unknown - e.g, a taxi fare
-} API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
-
-// PKPaymentSummaryItem Defines a line-item for a payment such as tax, shipping, or discount.
-API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0))
-@interface PKPaymentSummaryItem : NSObject
-
-+ (instancetype)summaryItemWithLabel:(NSString *)label amount:(NSDecimalNumber *)amount;
-+ (instancetype)summaryItemWithLabel:(NSString *)label amount:(NSDecimalNumber *)amount type:(PKPaymentSummaryItemType)type API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
-
-// A short localized description of the item, e.g. "Tax" or "Gift Card".
-@property (nonatomic, copy) NSString *label;
-
-// Same currency as the enclosing PKPaymentRequest. Negative values are permitted, for example when
-// redeeming a coupon. An amount is always required unless the summary item's type is set to pending
-@property (nonatomic, copy) NSDecimalNumber *amount;
-
-// Defaults to PKPaymentSummaryItemTypeFinal
-// Set to PKPaymentSummaryItemTypePending if the amount of the item is not known at this time
-@property (nonatomic, assign) PKPaymentSummaryItemType type API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif // __PKPAYMENTSUMMARYITEM_H__
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h 2021-08-03 21:48:30.000000000 -0400
@@ -4,9 +4,6 @@
// Copyright (c) 2014, Apple Inc. All rights reserved.
//
-#ifndef __PKPAYMENTTOKEN_H
-#define __PKPAYMENTTOKEN_H
-
#import <Foundation/Foundation.h>
@class PKPaymentMethod;
@@ -39,5 +36,3 @@
@end
NS_ASSUME_NONNULL_END
-
-#endif
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,33 +0,0 @@
-//
-// PKRecurringPaymentSummaryItem.h
-//
-// Copyright © 2021 Apple, Inc. All rights reserved.
-//
-
-#import <PassKit/PKPaymentSummaryItem.h>
-
-#ifndef __PKRECURRINGPAYMENTSUMMARYITEM_H__
-#define __PKRECURRINGPAYMENTSUMMARYITEM_H__
-
-NS_ASSUME_NONNULL_BEGIN
-
-API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0))
-@interface PKRecurringPaymentSummaryItem : PKPaymentSummaryItem
-
-// The timestamp at which the first payment will be taken; nil indicates immediately. The default value is nil.
-@property (nonatomic, copy, nullable) NSDate *startDate;
-
-// The interval at which payments will be taken (daily, weekly, monthly, yearly, etc.). The default value is NSCalendarUnitMonth.
-@property (nonatomic, assign) NSCalendarUnit intervalUnit;
-
-// The number of intervals between payments. Default is 1.
-@property (nonatomic, assign) NSInteger intervalCount;
-
-// If set, the date at which the recurring payments will end. Default is nil.
-@property (nonatomic, copy, nullable) NSDate *endDate;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif // __PKRECURRINGPAYMENTSUMMARYITEM_H__
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h 2021-08-07 05:20:01.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,36 +0,0 @@
-//
-// PKShippingMethod.h
-//
-// Copyright © 2021 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-#import <PassKit/PKPaymentSummaryItem.h>
-#import <PassKit/PKDateComponentsRange.h>
-
-#ifndef __PKSHIPPINGMETHOD_H__
-#define __PKSHIPPINGMETHOD_H__
-
-NS_ASSUME_NONNULL_BEGIN
-
-// Defines a shipping method for delivering physical goods.
-API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0))
-@interface PKShippingMethod : PKPaymentSummaryItem
-
-// Application-defined unique identifier for this shipping method. The application will receive this
-// in paymentAuthorizationViewController:didAuthorizePayment:completion:.
-@property (nonatomic, copy, nullable) NSString *identifier;
-
-// Additional localized information about the shipping method, e.g. "Ships in 24 hours" or
-// "Arrives Friday April 4."
-@property (nonatomic, copy, nullable) NSString *detail;
-
-// Localized date range for this shipping method e.g. "Shipping by May 12 - 19"
-// Setting this results in the detail property not being displayed.
-@property (nonatomic, copy, nullable) PKDateComponentsRange *dateComponentsRange API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif // __PKSHIPPINGMETHOD_H__
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h 2021-08-07 05:20:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,31 +0,0 @@
-//
-// PKStoredValuePassBalance.h
-// PassKit
-//
-// Copyright © 2020 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NSString * PKStoredValuePassBalanceType NS_TYPED_ENUM NS_SWIFT_NAME(PKStoredValuePassBalance.BalanceType);
-extern PKStoredValuePassBalanceType const PKStoredValuePassBalanceTypeCash API_AVAILABLE(ios(15.0), watchos(8.0));
-extern PKStoredValuePassBalanceType const PKStoredValuePassBalanceTypeLoyaltyPoints API_AVAILABLE(ios(15.0), watchos(8.0));
-
-API_AVAILABLE(ios(15.0), watchos(8.0))
-@interface PKStoredValuePassBalance : NSObject
-
-@property (nonatomic, strong, readonly) NSDecimalNumber *amount NS_REFINED_FOR_SWIFT;
-@property (nonatomic, copy, readonly, nullable) NSString *currencyCode;
-@property (nonatomic, copy, readonly) PKStoredValuePassBalanceType balanceType;
-@property (nonatomic, strong, readonly, nullable) NSDate *expiryDate;
-
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
-
-- (BOOL)isEqualToBalance:(PKStoredValuePassBalance *)balance NS_REFINED_FOR_SWIFT;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h 1969-12-31 19:00:00.000000000 -0500
@@ -1,30 +0,0 @@
-//
-// PKStoredValuePassProperties.h
-// PassKit
-//
-// Copyright © 2020 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class PKPass;
-@class PKStoredValuePassBalance;
-
-API_AVAILABLE(ios(15.0), watchos(8.0))
-@interface PKStoredValuePassProperties : NSObject
-
-+ (nullable instancetype)passPropertiesForPass:(PKPass *)pass;
-
-@property (nonatomic, assign, readonly, getter=isBlacklisted) BOOL blacklisted API_DEPRECATED_WITH_REPLACEMENT("isBlocked", ios(15.0, 15.0), watchos(8.0, 8.0), macos(12.0, 12.0));
-
-@property (nonatomic, assign, readonly, getter=isBlocked) BOOL blocked API_AVAILABLE(ios(15.0), watchos(8.0), macos(12.0)) NS_REFINED_FOR_SWIFT;
-
-@property (nonatomic, nullable, copy, readonly) NSDate *expirationDate; // nil if pass does not expire
-
-@property (nonatomic, copy, readonly) NSArray<PKStoredValuePassBalance*> *balances;
-
-@end
-
-NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h 2021-08-07 05:19:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h 2021-08-03 21:48:29.000000000 -0400
@@ -30,7 +30,7 @@
@property (nonatomic, assign, readonly, getter=isGreenCarTicketUsed) BOOL greenCarTicketUsed;
-@property (nonatomic, assign, readonly, getter=isBlacklisted) BOOL blacklisted API_DEPRECATED_WITH_REPLACEMENT("isBlocked", ios(10.1, 15.0), watchos(3.1, 8.0));
+@property (nonatomic, assign, readonly, getter=isBlacklisted) BOOL blacklisted API_DEPRECATED_WITH_REPLACEMENT("isBlocked", ios(10.1, 14.5), watchos(3.1, 7.0));
@end
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h 2021-08-07 05:19:59.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h 2021-08-03 21:48:30.000000000 -0400
@@ -5,24 +5,28 @@
// Copyright © 2017 Apple, Inc. All rights reserved.
//
-#import <PassKit/PKStoredValuePassProperties.h>
+#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
+@class PKPass;
+
API_AVAILABLE(ios(11.3), watchos(4.3))
-@interface PKTransitPassProperties : PKStoredValuePassProperties
+@interface PKTransitPassProperties : NSObject
-@property (nonatomic, copy, readonly) NSDecimalNumber *transitBalance API_DEPRECATED_WITH_REPLACEMENT("balances", ios(11.3, 15.0), watchos(4.3, 8.0), macos(11.0, 12.0));
-@property (nonatomic, copy, readonly) NSString *transitBalanceCurrencyCode API_DEPRECATED_WITH_REPLACEMENT("balances", ios(11.3, 15.0), watchos(4.3, 8.0), macos(11.0, 12.0));
++ (nullable instancetype)passPropertiesForPass:(PKPass *)pass;
-@property (nonatomic, assign, readonly, getter=isBlacklisted) BOOL blacklisted API_DEPRECATED_WITH_REPLACEMENT("isBlocked", ios(11.3, 15.0), watchos(4.3, 8.0), macos(11.0, 12.0));
+@property (nonatomic, copy, readonly) NSDecimalNumber *transitBalance;
+@property (nonatomic, copy, readonly) NSString *transitBalanceCurrencyCode;
-@property (nonatomic, nullable, copy, readonly) NSDate *expirationDate API_AVAILABLE(ios(11.3), watchos(4.3), macos(11.0)); // nil if pass does not expire
+@property (nonatomic, assign, readonly, getter=isBlacklisted) BOOL blacklisted API_DEPRECATED_WITH_REPLACEMENT("isBlocked", ios(11.3, 14.5), watchos(4.3, 6.4));
-@property (nonatomic, assign, readonly, getter=isBlocked) BOOL blocked API_AVAILABLE(ios(14.5), watchos(7.5), macos(11.3));
+@property (nonatomic, assign, readonly, getter=isBlocked) BOOL blocked API_AVAILABLE(ios(14.5), watchos(6.4));
@property (nonatomic, assign, readonly, getter=isInStation) BOOL inStation;
+@property (nonatomic, nullable, copy, readonly) NSDate *expirationDate; // nil if pass does not expire
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2021-08-03 00:05:11.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2021-03-16 04:44:16.000000000 -0400
@@ -16,12 +16,6 @@
#import <PassKit/PKLabeledValue.h>
#endif
#import <PassKit/PKContact.h>
-#if __has_include(<PassKit/PKStoredValuePassProperties.h>)
-#import <PassKit/PKStoredValuePassProperties.h>
-#endif
-#if __has_include(<PassKit/PKStoredValuePassBalance.h>)
-#import <PassKit/PKStoredValuePassBalance.h>
-#endif
#if __has_include(<PassKit/PKTransitPassProperties.h>)
#import <PassKit/PKTransitPassProperties.h>
#endif
@@ -34,15 +28,15 @@
#if __has_include(<PassKit/PKPaymentRequestStatus.h>)
#import <PassKit/PKPaymentRequestStatus.h>
#endif
-#if __has_include(<PassKit/PKPaymentToken.h>)
-#import <PassKit/PKPaymentToken.h>
-#endif
#if __has_include(<PassKit/PKPayment.h>)
#import <PassKit/PKPayment.h>
#endif
#if __has_include(<PassKit/PKPaymentMethod.h>)
#import <PassKit/PKPaymentMethod.h>
#endif
+#if __has_include(<PassKit/PKPaymentToken.h>)
+#import <PassKit/PKPaymentToken.h>
+#endif
#if TARGET_OS_IPHONE || TARGET_OS_OSX
#if __has_include(<PassKit/PKPaymentAuthorizationViewController.h>)
#import <PassKit/PKPaymentAuthorizationViewController.h>
@@ -74,12 +68,12 @@
#if __has_include(<PassKit/PKDisbursementAuthorizationController.h>)
#import <PassKit/PKDisbursementAuthorizationController.h>
#endif
-#if __has_include(<PassKit/PKBarcodeEventMetadataRequest.h>)
-#import <PassKit/PKBarcodeEventMetadataRequest.h>
-#endif
#if __has_include(<PassKit/PKPaymentInformationEventExtension.h>)
#import <PassKit/PKPaymentInformationEventExtension.h>
#endif
+#if __has_include(<PassKit/PKBarcodeEventMetadataRequest.h>)
+#import <PassKit/PKBarcodeEventMetadataRequest.h>
+#endif
#if __has_include(<PassKit/PKAddSecureElementPassViewController.h>)
#import <PassKit/PKAddSecureElementPassViewController.h>
#endif
@@ -110,7 +104,4 @@
#if __has_include(<PassKit/PKIssuerProvisioningExtensionPaymentPassEntry.h>)
#import <PassKit/PKIssuerProvisioningExtensionPaymentPassEntry.h>
#endif
-#if __has_include(<PassKit/PKDateComponentsRange.h>)
-#import <PassKit/PKDateComponentsRange.h>
-#endif
#endif // TARGET_OS_IPHONE || TARGET_OS_OSX
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status