-
Notifications
You must be signed in to change notification settings - Fork 516
PassKit iOS xcode15.0 b1
tj_devel709 edited this page Oct 16, 2023
·
3 revisions
#PassKit.framework https://github.com/xamarin/xamarin-macios/pull/19139
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h 2023-05-25 02:29:03
@@ -30,4 +30,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAddCarKeyPassConfiguration.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h 2023-05-25 02:29:03
@@ -45,4 +45,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKAddPassButton.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h 2023-05-25 02:29:02
@@ -50,4 +50,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKAddPassesViewController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h 2023-05-25 02:29:03
@@ -85,4 +85,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAddPaymentPassRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h 2023-05-25 02:29:02
@@ -65,4 +65,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKAddPaymentPassViewController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h 2023-05-25 02:29:02
@@ -27,4 +27,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAddSecureElementPassConfiguration.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h 2023-05-25 02:29:02
@@ -53,4 +53,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKAddSecureElementPassViewController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2023-03-09 19:23:13
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2023-05-23 06:21:02
@@ -16,8 +16,8 @@
API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_NAME(PKShareablePassMetadata.Preview)
@interface PKShareablePassMetadataPreview : NSObject
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
- (instancetype)initWithPassThumbnail:(CGImageRef)passThumbnail localizedDescription:(NSString *)description;
- (instancetype)initWithTemplateIdentifier:(NSString *)templateIdentifier;
@@ -138,4 +138,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAddShareablePassConfiguration.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2023-05-25 02:29:02
@@ -54,4 +54,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAutomaticReloadPaymentRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h 2023-05-25 02:29:03
@@ -30,4 +30,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKAutomaticReloadPaymentSummaryItem.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h 2023-05-25 02:29:02
@@ -73,4 +73,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKBarcodeEventMetadataRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2023-03-09 19:20:20
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2023-05-23 06:37:24
@@ -45,6 +45,7 @@
extern PKPaymentNetwork const PKPaymentNetworkWaon API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
extern PKPaymentNetwork const PKPaymentNetworkNanaco API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
extern PKPaymentNetwork const PKPaymentNetworkPostFinance API_AVAILABLE(macos(13.3), ios(16.4), watchos(9.4));
+extern PKPaymentNetwork const PKPaymentNetworkTmoney API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0));
typedef NSString * PKContactField NS_STRING_ENUM;
extern PKContactField const PKContactFieldPostalAddress API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
@@ -105,4 +106,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKConstants.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h 2023-05-25 02:29:02
@@ -40,4 +40,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKContact.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h 2023-05-25 02:29:02
@@ -32,4 +32,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKDateComponentsRange.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h 2023-05-25 02:29:02
@@ -55,4 +55,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKDeferredPaymentRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h 2023-05-25 02:29:03
@@ -27,4 +27,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKDeferredPaymentSummaryItem.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementAuthorizationController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementAuthorizationController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementAuthorizationController.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementAuthorizationController.h 1969-12-31 19:00:00
@@ -1,53 +0,0 @@
-#if !__has_include(<PassKitCore/PKDisbursementAuthorizationController.h>) || PK_USE_PUBLIC_PASSKIT
-//
-// PKDisbursementAuthorizationController.h
-// PassKit
-// Copyright © 2019 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class PKDisbursementRequest;
-@class PKDisbursementVoucher;
-@class PKDisbursementAuthorizationController;
-
-@protocol PKDisbursementAuthorizationControllerDelegate <NSObject>
-
-@required
-
-// Sent to the delegate when disbursement controller has authorized the disbursement request.
-- (void)disbursementAuthorizationController:(PKDisbursementAuthorizationController *)controller
- didAuthorizeWithDisbursementVoucher:(PKDisbursementVoucher *)disbursementVoucher API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-
-// Sent to the delegate when disbursement controller is finished. This may occur when
-// the user cancels the request or after the disbursement has been authorized.
-- (void)disbursementAuthorizationControllerDidFinish:(PKDisbursementAuthorizationController *)controller API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-@end
-
-@interface PKDisbursementAuthorizationController : NSObject
-
-// Initializes and returns a newly created controller for the supplied disbursement request.
-- (nullable instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)disbursementRequest
- delegate:(id<PKDisbursementAuthorizationControllerDelegate>)delegate API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-// The controller's delegate.
-@property (nonatomic, weak, readonly) id<PKDisbursementAuthorizationControllerDelegate> delegate API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-// This presents the Apple Pay sheet. If the sheet is presented successfully, success is YES. Otherwise, an error will be returned.
-- (void)authorizeDisbursementWithCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-// Determine whether this user's account supports disbursements.
-+ (BOOL)supportsDisbursements API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#else
-#import <TargetConditionals.h>
-#import <PassKitCore/PKDisbursementAuthorizationController.h>
-#endif
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2023-05-25 02:29:02
@@ -5,40 +5,77 @@
// Copyright © 2019 Apple, Inc. All rights reserved.
//
+
#import <Foundation/Foundation.h>
+#import <PassKit/PKPaymentRequest.h>
NS_ASSUME_NONNULL_BEGIN
@class PKPaymentSummaryItem;
-typedef NS_ENUM(NSInteger, PKDisbursementRequestSchedule) {
- PKDisbursementRequestScheduleOneTime,
- PKDisbursementRequestScheduleFuture,
-} NS_SWIFT_NAME(PKDisbursementRequest.Schedule);
-
-// PKDisbursementRequest defines an application's request to disburse an amount
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, tvos, watchos);
@interface PKDisbursementRequest : NSObject
-// An amount is always required. If the disbursement amount is pending, the amount should be zero
-@property (nonatomic, copy) NSDecimalNumber *amount API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
+// 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;
-// Currency code for this disbursement. The currency code is required unless the requestType is future
-@property (nonatomic, copy, nullable) NSString *currencyCode API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
+// The merchant's ISO 3166 region code.
+@property (nonatomic, copy) NSString *regionCode NS_REFINED_FOR_SWIFT;
-// The merchant's ISO country code.
-@property (nonatomic, copy) NSString *countryCode API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
+// The payment networks supported by the merchant, for example `@[ PKPaymentNetworkVisa,
+// PKPaymentNetworkMasterCard ]`. This property constrains payment cards that may receive the funds.
+@property (nonatomic, copy) NSArray<PKPaymentNetwork> *supportedNetworks;
-// Specifies if the disbursement is a one time request or a future request
-@property (nonatomic, assign) PKDisbursementRequestSchedule requestSchedule API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
+// The payment processing capabilities of the merchant.
+@property (nonatomic, assign) PKMerchantCapability merchantCapabilities;
-// The summary items are optional. The final amount summary item will be prepopulated by the amount specified above.
-@property (nonatomic, copy, nullable) NSArray<PKPaymentSummaryItem *> *summaryItems API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
+// Array of PKPaymentSummaryItem objects which should be presented to the user.
+// The last item should be the total you wish to disburse, and should not be pending.
+@property (nonatomic, copy) NSArray<PKPaymentSummaryItem *> *summaryItems;
+// Currency code for this disbursement.
+@property (nonatomic, copy) NSString *currencyCode NS_REFINED_FOR_SWIFT;
+
+// Indicates which of the recipient's contact details the merchant requires in order to process a disbursement.
+// The order of the elements is ignored.
+@property (nonatomic, strong) NSArray<PKContactField> *requiredRecipientContactFields;
+
+// If the merchant already has recipient contact information on file, set it here.
+@property (nonatomic, strong, nullable) PKContact *recipientContact;
+
+// Set of two-letter ISO 3166 region codes. When provided, it will filter the selectable payment passes to those
+// issued in the supported regions. The order of the elements is ignored.
+@property (nonatomic, copy, nullable) NSArray<NSString *> *supportedRegions NS_REFINED_FOR_SWIFT;
+
+// Optional merchant-supplied information about the disbursement request.
+// It will be signed and included in the resulting PKPaymentToken.
+@property (nonatomic, copy, nullable) NSData *applicationData;
+
+// Initialise a disbursement request with all required fields.
+- (instancetype)initWithMerchantIdentifier:(NSString *)merchantIdentifier
+ currencyCode:(NSString *)currencyCode
+ regionCode:(NSString *)regionCode
+ supportedNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks
+ merchantCapabilities:(PKMerchantCapability)merchantCapabilities
+ summaryItems:(NSArray<PKPaymentSummaryItem *> *)summaryItems NS_REFINED_FOR_SWIFT;
+
+// Convenience method to create a receipient contact error with the supplied field
+// You may optionally provide a localized description to be displayed to the user.
+// Available display space for descriptions may be limited, so you should keep your messages concise
++ (NSError *)disbursementContactInvalidErrorWithContactField:(PKContactField)field
+ localizedDescription:(nullable NSString *)localizedDescription;
+
+// Convenience method to create an error indicating that the selected card does not support receiving
+// funds via disbursements.
++ (NSError *)disbursementCardUnsupportedError;
+
@end
NS_ASSUME_NONNULL_END
+
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKDisbursementRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h 2023-05-25 02:29:03
@@ -0,0 +1,24 @@
+#if !__has_include(<PassKitCore/PKDisbursementSummaryItem.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKDisbursementSummaryItem.h
+// PassKit
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <PassKit/PKPaymentSummaryItem.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, tvos, watchos);
+@interface PKDisbursementSummaryItem : PKPaymentSummaryItem
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKDisbursementSummaryItem.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementVoucher.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementVoucher.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementVoucher.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementVoucher.h 1969-12-31 19:00:00
@@ -1,28 +0,0 @@
-#if !__has_include(<PassKitCore/PKDisbursementVoucher.h>) || PK_USE_PUBLIC_PASSKIT
-//
-// PKDisbursementVoucher.h
-// PassKit
-// Copyright © 2019 Apple, Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-// PKDisbursementVoucher defines information for disbursement
-@interface PKDisbursementVoucher : NSObject
-
-// The data containing information for the disbursement
-@property (nonatomic, copy, readonly) NSData *data API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-// The URL for redeeming the voucher
-@property (nonatomic, copy, readonly) NSURL *redemptionURL API_AVAILABLE(ios(12.2)) API_UNAVAILABLE(tvos, watchos, macos);
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#else
-#import <TargetConditionals.h>
-#import <PassKitCore/PKDisbursementVoucher.h>
-#endif
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2023-05-25 02:29:02
@@ -44,6 +44,19 @@
extern PKPaymentErrorKey const PKPaymentErrorContactFieldUserInfoKey API_AVAILABLE(ios(11.0), watchos(4.0)); // a PKContactField the error relates to. Use with PKPaymentShippingContactInvalidError
extern PKPaymentErrorKey const PKPaymentErrorPostalAddressUserInfoKey API_AVAILABLE(ios(11.0), watchos(4.0)); // if the error relates to PKContactFieldPostalAddress you may set the specific key here
+// PKDisbursementErrorDomain is used for errors with in-app disbursements.
+// You create your own PKDisbursementErrors and return them to indicate problems with a transfer.
+extern NSString * const PKDisbursementErrorDomain API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+typedef NS_ERROR_ENUM(PKDisbursementErrorDomain, PKDisbursementErrorCode) {
+ PKDisbursementUnknownError = -1, // there was an unknown error processing the disbursement. The user should try again.
+ PKDisbursementUnsupportedCardError = 1, // the selected card does not support receiving funds in.
+ PKDisbursementRecipientContactInvalidError, // the recipient contact information has an error. Use the PKDisbursementErrorKeys in the userInfo to detail the problem.
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+typedef NSString * PKDisbursementErrorKey NS_STRING_ENUM;
+extern PKDisbursementErrorKey const PKDisbursementErrorContactFieldUserInfoKey API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos); // a PKContactField the error relates to. Use with PKDisbursementRecipientContactInvalidError
+
typedef NS_ENUM(NSInteger, PKAddPaymentPassError) {
PKAddPaymentPassErrorUnsupported,
PKAddPaymentPassErrorUserCancelled,
@@ -78,4 +91,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKError.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h 2023-05-25 02:29:02
@@ -51,4 +51,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityAuthorizationController.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h 2023-05-25 02:29:03
@@ -67,4 +67,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKIdentityButton.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h 2023-05-25 02:29:02
@@ -32,4 +32,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityDocument.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2023-05-25 02:29:02
@@ -45,4 +45,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityDocumentDescriptor.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h 2023-05-25 02:29:03
@@ -70,4 +70,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityElement.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h 2023-05-25 02:29:03
@@ -49,4 +49,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityError.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h 2023-05-25 02:29:02
@@ -38,4 +38,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityIntentToStore.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h 2023-05-25 02:29:03
@@ -37,4 +37,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIdentityRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h 2023-05-25 02:29:02
@@ -0,0 +1,30 @@
+#if !__has_include(<PassKitCore/PKInstantFundsOutFeeSummaryItem.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKInstantFundsOutFeeSummaryItem.h
+// PassKit
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <PassKit/PKPaymentSummaryItem.h>
+
+
+#ifndef __PKINSTANTFUNDSOUTFEESUMMARYITEM_H__
+#define __PKINSTANTFUNDSOUTFEESUMMARYITEM_H__
+
+NS_ASSUME_NONNULL_BEGIN
+
+// A summary item representing a fee for an Instant Funds Out transfer.
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface PKInstantFundsOutFeeSummaryItem : PKPaymentSummaryItem
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif // __PKINSTANTFUNDSOUTFEESUMMARYITEM_H__
+
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKInstantFundsOutFeeSummaryItem.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h 2023-05-25 02:29:02
@@ -28,4 +28,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKIssuerProvisioningExtensionAuthorizationProviding.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h 2023-05-25 02:29:02
@@ -38,4 +38,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIssuerProvisioningExtensionHandler.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h 2023-05-25 02:29:02
@@ -31,4 +31,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIssuerProvisioningExtensionPassEntry.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h 2023-05-25 02:29:03
@@ -34,4 +34,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIssuerProvisioningExtensionPaymentPassEntry.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h 2023-05-25 02:29:02
@@ -30,4 +30,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKIssuerProvisioningExtensionStatus.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h 2023-05-25 02:29:02
@@ -25,4 +25,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKLabeledValue.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h 2023-03-07 00:32:33
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h 2023-05-25 02:29:01
@@ -20,4 +20,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKObject.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h 2023-05-25 02:29:02
@@ -65,4 +65,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPass.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2023-03-09 19:23:11
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2023-05-23 02:54:37
@@ -132,4 +132,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPassLibrary.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterUtilities.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterUtilities.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterUtilities.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterUtilities.h 2023-05-25 02:29:02
@@ -0,0 +1,51 @@
+#if !__has_include(<PassKitCore/PKPayLaterUtilities.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKPayLaterUtilities.h
+// PassKit
+//
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#ifndef __PKPAYLATERUTILITIES_H
+#define __PKPAYLATERUTILITIES_H
+
+#import <TargetConditionals.h>
+
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+
+typedef NS_ENUM(NSUInteger, PKPayLaterDisplayStyle) {
+ PKPayLaterDisplayStyleStandard = 0, /// The Standard Merchandising Widget
+ PKPayLaterDisplayStyleBadge, /// Displays a simple Pay badge with the pay later info graphic
+ PKPayLaterDisplayStyleCheckout, /// To be displayed inside of a toggleable checkout view
+ PKPayLaterDisplayStylePrice, /// To be shown beneath a products price
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+typedef NS_ENUM(NSUInteger, PKPayLaterAction) {
+ PKPayLaterActionLearnMore = 0, /// Displays a simple info sheet on the learn more details of pay later
+ PKPayLaterActionCalculator, /// The Standard Price breakdown calculator for pay later, that features an interactive calculator
+} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+@interface PKPayLaterUtilities : NSObject
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/// Checks if a Pay Later Merchandising information can be displayed for the given values
+/// - Parameters:
+/// - amount: The users bag price or item pricing
+/// - locale: The localization data for the how the returned configuration will be
+/// - completion: The block that is called when the eligibility result is calculated
++ (void)validateWithAmount:(NSDecimalNumber *)amount
+ locale:(NSLocale *)locale
+ completion:(void(^)(BOOL eligible))completion NS_REFINED_FOR_SWIFT;
+
+@end
+
+#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+
+#endif // __PKPAYLATERVIEW_H
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKPayLaterUtilities.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h 2023-05-25 02:29:02
@@ -0,0 +1,72 @@
+#if !__has_include(<PassKitUI/PKPayLaterView.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKPayLaterView.h
+// PassKit
+//
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#ifndef __PKPAYLATERVIEW_H
+#define __PKPAYLATERVIEW_H
+
+#import <TargetConditionals.h>
+
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+
+#import <UIKit/UIKit.h>
+#import <PassKit/PKPayLaterUtilities.h>
+
+@class PKPayLaterView;
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@protocol PKPayLaterViewDelegate <NSObject>
+/// If rendering this view using manual layout, then conform to this protocol to layout the view when PKPayLaterView's height changes.
+- (void)payLaterViewDidUpdateHeight:(PKPayLaterView *)view;
+@end
+
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface PKPayLaterView : UIView
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
+- (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE;
+
+/// Constructs a view displaying Pay Later Merchandising information given a configuration
+/// - Parameters:
+/// - amount: The users bag price or item pricing
+/// - locale: The localization data for the how the returned configuration will be
+- (instancetype)initWithAmount:(NSDecimalNumber *)amount
+ locale:(NSLocale *)locale NS_REFINED_FOR_SWIFT;
+
+/// Delegate used to receive callbacks about size changes
+@property (nonatomic, assign) id<PKPayLaterViewDelegate> delegate;
+
+/// The users bag price or item pricing
+@property (nonatomic, copy) NSDecimalNumber *amount NS_REFINED_FOR_SWIFT;
+
+/// The currency, region, and langauge localization data for the how the pay later view will be displayed.
+@property (nonatomic, copy) NSLocale *locale;
+
+/// The kind of Pay Later Merchandising widget look, such as a standalone product item view. Can be badge, plain, price or checkout.
+@property (nonatomic, assign) PKPayLaterDisplayStyle displayStyle;
+
+/// The kind of Pay Later Merchandising Modal informational, such as a learnMore modal. Can be learnMore, or calculator. Default is learnMore
+@property (nonatomic, assign) PKPayLaterAction action;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+
+#endif // __PKPAYLATERVIEW_H
+
+#else
+#if !TARGET_OS_OSX
+#import <TargetConditionals.h>
+#import <PassKitUI/PKPayLaterView.h>
+#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2023-03-09 23:52:04
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2023-05-25 02:29:03
@@ -10,9 +10,9 @@
#import <TargetConditionals.h>
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
#import <AddressBook/ABRecord.h>
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif
#import <PassKit/PKPaymentToken.h>
@class PKShippingMethod;
@@ -34,9 +34,9 @@
// the requiredBillingAddressFields property of the PKPaymentRequest.
@property (nonatomic, strong, readonly, nullable) PKContact *billingContact API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
@property (nonatomic, assign, readonly, nullable) ABRecordRef billingAddress API_DEPRECATED("Use billingContact instead", ios(8.0, 9.0)) __WATCHOS_PROHIBITED;
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif
// The full shipping address that the user selected for this transaction. Fields are
// constrained to those specified in the requiredShippingAddressFields property of the original
@@ -44,9 +44,9 @@
// the requiredShippingAddressFields property of the PKPaymentRequest.
@property (nonatomic, strong, readonly, nullable) PKContact *shippingContact API_AVAILABLE(macos(11.0), ios(9.0), watchos(3.0));
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
@property (nonatomic, assign, readonly, nullable) ABRecordRef shippingAddress API_DEPRECATED("Use shippingContact instead", ios(8.0, 9.0)) __WATCHOS_PROHIBITED;
-#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#endif
// The shipping method that the user chose. This property is only set when the
// application has set the shippingMethods property of the PKPaymentRequest.
@@ -59,4 +59,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPayment.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2023-05-23 06:21:02
@@ -37,6 +37,8 @@
@class PKPaymentRequestShippingContactUpdate;
@class PKPaymentRequestMerchantSessionUpdate;
+@class PKDisbursementRequest;
+
@protocol PKPaymentAuthorizationControllerDelegate <NSObject>
@required
@@ -46,7 +48,7 @@
// paymentAuthorizationController:didAuthorizePayment:completion: has been shown to the user.
//
// The delegate is responsible for dismissing and releasing the controller in this method.
-- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController *)controller;
+- (void)paymentAuthorizationControllerDidFinish:(PKPaymentAuthorizationController *)controller NS_SWIFT_UI_ACTOR;
@optional
@@ -59,7 +61,7 @@
// by submitting the payment credential to a processing gateway for payment authorization.
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didAuthorizePayment:(PKPayment *)payment
- handler:(void (^)(PKPaymentAuthorizationResult *result))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+ handler:(void (^)(PKPaymentAuthorizationResult *result))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didAuthorizePayment:(PKPayment *)payment
@@ -67,14 +69,14 @@
// Sent to the delegate before the payment is authorized, but after the user has authenticated using
// the side button. Optional.
-- (void)paymentAuthorizationControllerWillAuthorizePayment:(PKPaymentAuthorizationController *)controller;
+- (void)paymentAuthorizationControllerWillAuthorizePayment:(PKPaymentAuthorizationController *)controller NS_SWIFT_UI_ACTOR;
- (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:));
+ didRequestMerchantSessionUpdate:(void (^)(PKPaymentRequestMerchantSessionUpdate *update))handler API_AVAILABLE(macos(11.0), ios(14.0), watchos(7.0)) NS_SWIFT_ASYNC_NAME(paymentAuthorizationControllerDidRequestMerchantSessionUpdate(controller:)) NS_SWIFT_UI_ACTOR;
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didChangeCouponCode:(NSString *)couponCode
- handler:(void (^)(PKPaymentRequestCouponCodeUpdate *update))completion API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
+ handler:(void (^)(PKPaymentRequestCouponCodeUpdate *update))completion API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR;
// 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
@@ -87,11 +89,11 @@
// until it has invoked the completion block.
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didSelectShippingMethod:(PKShippingMethod *)shippingMethod
- handler:(void (^)(PKPaymentRequestShippingMethodUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+ handler:(void (^)(PKPaymentRequestShippingMethodUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didSelectShippingContact:(PKContact *)contact
- handler:(void (^)(PKPaymentRequestShippingContactUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+ handler:(void (^)(PKPaymentRequestShippingContactUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
// Sent when the user has selected a new payment card. Use this delegate callback if you need to
@@ -102,7 +104,7 @@
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didSelectPaymentMethod:(PKPaymentMethod *)paymentMethod
- handler:(void (^)(PKPaymentRequestPaymentMethodUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+ handler:(void (^)(PKPaymentRequestPaymentMethodUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
// These delegate methods are deprecated and have been replaced with new callbacks that allow more granular
// and comprehensive errors to be surfaced to users
@@ -121,13 +123,15 @@
#if TARGET_OS_OSX || TARGET_OS_MACCATALYST
@required
-#endif // TARGET_OS_OSX || TARGET_OS_MACCATALYST
+#elif defined(TARGET_OS_XR) && TARGET_OS_XR
+@required
+#endif
#if TARGET_OS_OSX
- (nullable NSWindow *)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController *)controller API_AVAILABLE(macos(11.0));
-#else // TARGET_OS_IPHONE
+#else
- (nullable UIWindow *)presentationWindowForPaymentAuthorizationController:(PKPaymentAuthorizationController *)controller API_AVAILABLE(ios(14.0), watchos(7.0));
@@ -171,6 +175,20 @@
// Dismisses the Apple Pay UI. Call this when you receive the paymentAuthorizationControllerDidFinish delegate
// callback, or otherwise wish a dismissal to occur
- (void)dismissWithCompletion:(nullable void(^)(void))completion;
+
+// Determine whether this device can process disbursement requests.
++ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Determine whether this device can process disbursement requests using specific payment network brands.
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Determine whether this device can process disbursements to cards issued in any of the indicated regions using the specified networks and capabilities bitmask.
+// supportedRegions is a list of ISO 3166 country codes. Duplicates are ignored.
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks
+ capabilities:(PKMerchantCapability)capabilties NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Initialize the controller with a request to send money to a user.
+- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
@end
@@ -184,4 +202,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKPaymentAuthorizationController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2023-05-25 01:34:36
@@ -15,9 +15,6 @@
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
-#if !TARGET_OS_MACCATALYST
-#import <AddressBook/ABRecord.h>
-#endif
#else
#import <AppKit/AppKit.h>
#endif
@@ -42,6 +39,8 @@
@class PKPaymentRequestShippingMethodUpdate;
@class PKPaymentRequestShippingContactUpdate;
+@class PKDisbursementRequest;
+
// PKPaymentAuthorizationViewController prompts the user to authorize a PKPaymentRequest, funding the
// payment amount with a valid payment card.
#if TARGET_OS_IPHONE
@@ -78,6 +77,19 @@
// It is your responsibility to present and dismiss the view controller using the
// appropriate means for the given device idiom.
- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest *)request NS_DESIGNATED_INITIALIZER;
+
+// Determine whether this device can process disbursement requests.
++ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Determine whether this device can process disbursement requests using specific payment network brands.
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Determine whether this device can process disbursements to cards using the specified networks and capabilities bitmask.
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks
+ capabilities:(PKMerchantCapability)capabilities NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+
+// Initialize the controller with a request to send money to a user.
+- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
@end
@@ -93,4 +105,4 @@
#else
#import <PassKitUI/PKPaymentAuthorizationViewController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2023-03-09 19:20:23
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2023-05-23 06:21:02
@@ -13,11 +13,9 @@
#if !TARGET_OS_WATCH && !TARGET_OS_TV
-#if TARGET_OS_IPHONE
-#if !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
#import <AddressBook/ABRecord.h>
#endif
-#endif
#import <PassKit/PKConstants.h>
#import <PassKit/PKPaymentRequest.h>
@@ -118,7 +116,7 @@
didSelectShippingMethod:(PKShippingMethod *)shippingMethod
completion:(void (^)(PKPaymentAuthorizationStatus status, NSArray<PKPaymentSummaryItem *> *summaryItems))completion API_DEPRECATED("Use paymentAuthorizationViewController:didSelectShippingMethod:handler: instead to provide more granular errors", ios(8.0, 11.0));
-#if !TARGET_OS_MACCATALYST && !TARGET_OS_OSX
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
- (void)paymentAuthorizationViewController:(PKPaymentAuthorizationViewController *)controller
didSelectShippingAddress:(ABRecordRef)address
completion:(void (^)(PKPaymentAuthorizationStatus status, NSArray<PKShippingMethod *> *shippingMethods,
@@ -146,4 +144,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKPaymentAuthorizationViewControllerDelegate.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h 2023-05-25 02:29:03
@@ -46,4 +46,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKPaymentButton.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h 2023-05-25 02:29:02
@@ -38,4 +38,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentInformationEventExtension.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h 2023-05-25 02:29:03
@@ -26,4 +26,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentMerchantSession.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h 2023-05-25 02:29:02
@@ -56,4 +56,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentMethod.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h 2023-05-25 02:29:02
@@ -34,4 +34,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentPass.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2023-03-09 19:23:12
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2023-05-23 02:54:38
@@ -16,9 +16,9 @@
#import <PassKit/PKDeferredPaymentRequest.h>
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
#import <AddressBook/ABRecord.h>
-#endif // TARGET_OS_IOS
+#endif
#ifndef __PKPAYMENTREQUEST_H__
#define __PKPAYMENTREQUEST_H__
@@ -29,10 +29,12 @@
NS_ASSUME_NONNULL_BEGIN
typedef NS_OPTIONS(NSUInteger, PKMerchantCapability) {
- PKMerchantCapability3DS = 1UL << 0, // Merchant supports 3DS
- PKMerchantCapabilityEMV = 1UL << 1, // Merchant supports EMV
- PKMerchantCapabilityCredit NS_ENUM_AVAILABLE(11_0, 9_0) = 1UL << 2, // Merchant supports credit
- PKMerchantCapabilityDebit NS_ENUM_AVAILABLE(11_0, 9_0) = 1UL << 3 // Merchant supports debit
+ PKMerchantCapability3DS NS_SWIFT_NAME(threeDSecure) = 1UL << 0, // Merchant supports 3DS
+ PKMerchantCapabilityEMV NS_SWIFT_NAME(emv) = 1UL << 1, // Merchant supports EMV
+ PKMerchantCapabilityCredit NS_SWIFT_NAME(credit) NS_ENUM_AVAILABLE(11_0, 9_0) = 1UL << 2, // Merchant supports credit
+ PKMerchantCapabilityDebit NS_SWIFT_NAME(debit) NS_ENUM_AVAILABLE(11_0, 9_0) = 1UL << 3 // Merchant supports debit
+ , PKMerchantCapabilityInstantFundsOut NS_SWIFT_NAME(instantFundsOut) NS_ENUM_AVAILABLE(14_0, 17_0) = 1UL << 7 // Merchant supports instant funds out
+ // There are more PKMerchantCapability constants defined in PKPaymentRequest_Private.h; beware of conflicting values when adding new public cases
} API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0));
typedef NS_OPTIONS(NSUInteger, PKAddressField) {
@@ -52,10 +54,17 @@
} API_AVAILABLE(macos(11.0), ios(8.3), watchos(3.0));
typedef NS_ENUM(NSUInteger, PKShippingContactEditingMode) {
- PKShippingContactEditingModeEnabled = 1,
- PKShippingContactEditingModeStorePickup
+ PKShippingContactEditingModeAvailable = 1,
+ PKShippingContactEditingModeStorePickup,
+ PKShippingContactEditingModeEnabled __deprecated_enum_msg("Use PKShippingContactEditingModeAvailable instead") = PKShippingContactEditingModeAvailable,
} API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0));
+typedef NS_ENUM(NSInteger, PKApplePayLaterAvailability) {
+ PKApplePayLaterAvailable, /// Default state where Apple Pay Later is available
+ PKApplePayLaterUnavailableItemIneligible, /// One or more ineligible items are in the basket, such as items with long fulfillment or prohibited MCCs
+ PKApplePayLaterUnavailableRecurringTransaction, /// There is a recurring payment or subscription in the basket
+} API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0));
+
// 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
// processing capabilities, an amount to pay, and the currency code.
@@ -155,7 +164,7 @@
// issued in the supported countries.
@property (nonatomic, copy, nullable) NSSet<NSString *> *supportedCountries API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0));
-#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
// These properties have been deprecated and should not be used.
@property (nonatomic, assign, nullable) ABRecordRef shippingAddress __WATCHOS_PROHIBITED API_DEPRECATED("ABRecordRef has been deprecated, and does not support all available address properties. You should migrate to shippingContact.", ios(8.0, 9.0));
@@ -199,6 +208,11 @@
//
// Merchant-specific payment tokens are not supported on watchOS.
@property (nonatomic, strong, nullable) PKDeferredPaymentRequest *deferredPaymentRequest API_AVAILABLE(macos(13.3), ios(16.4)) API_UNAVAILABLE(watchos);
+
+// Opt out of Apple Pay Later. Defaults to enabled.
+// Only set this property if you have a specific requirement to disable Apple Pay Later.
+// Be sure to select the correct mode that matches your requirement, since this will be displayed to the user.
+@property (nonatomic, assign) PKApplePayLaterAvailability applePayLaterAvailability API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) NS_REFINED_FOR_SWIFT;
@end
@@ -209,4 +223,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2023-05-25 02:29:02
@@ -166,4 +166,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentRequestStatus.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h 2023-05-25 02:29:03
@@ -47,4 +47,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentSummaryItem.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h 2023-05-25 02:29:02
@@ -46,4 +46,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentToken.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h 2023-05-25 02:29:02
@@ -56,4 +56,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKPaymentTokenContext.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2023-05-25 02:29:03
@@ -57,4 +57,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKRecurringPaymentRequest.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h 2023-05-25 02:29:02
@@ -36,4 +36,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKRecurringPaymentSummaryItem.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h 2023-05-25 02:29:02
@@ -42,4 +42,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKSecureElementPass.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h 2023-05-25 02:29:02
@@ -78,4 +78,4 @@
#import <TargetConditionals.h>
#import <PassKitUI/PKShareSecureElementPassViewController.h>
#endif
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h 2023-03-09 23:52:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h 2023-05-25 02:29:03
@@ -39,4 +39,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKShippingMethod.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h 2023-05-25 02:29:02
@@ -34,4 +34,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKStoredValuePassBalance.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h 2023-05-25 02:29:02
@@ -33,4 +33,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKStoredValuePassProperties.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h 2023-05-25 02:29:02
@@ -40,4 +40,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKSuicaPassProperties.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h 2023-03-09 23:52:02
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h 2023-05-25 02:29:02
@@ -31,4 +31,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKTransitPassProperties.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h 2023-03-09 23:52:01
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h 2023-05-25 02:29:02
@@ -68,4 +68,4 @@
#else
#import <TargetConditionals.h>
#import <PassKitCore/PKVehicleConnectionSession.h>
-#endif
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2023-03-05 02:58:03
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2023-05-25 01:34:33
@@ -92,15 +92,15 @@
#if __has_include(<PassKit/PKAddPaymentPassViewController.h>)
#import <PassKit/PKAddPaymentPassViewController.h>
#endif
-#if __has_include(<PassKit/PKDisbursementVoucher.h>)
-#import <PassKit/PKDisbursementVoucher.h>
-#endif
#if __has_include(<PassKit/PKDisbursementRequest.h>)
#import <PassKit/PKDisbursementRequest.h>
#endif
-#if __has_include(<PassKit/PKDisbursementAuthorizationController.h>)
-#import <PassKit/PKDisbursementAuthorizationController.h>
+#if __has_include(<PassKit/PKInstantFundsOutFeeSummaryItem.h>)
+#import <PassKit/PKInstantFundsOutFeeSummaryItem.h>
#endif
+#if __has_include(<PassKit/PKDisbursementSummaryItem.h>)
+#import <PassKit/PKDisbursementSummaryItem.h>
+#endif
#if __has_include(<PassKit/PKBarcodeEventMetadataRequest.h>)
#import <PassKit/PKBarcodeEventMetadataRequest.h>
#endif
@@ -171,3 +171,11 @@
#import <PassKit/PKIdentityButton.h>
#endif
#endif // TARGET_OS_IPHONE || TARGET_OS_OSX
+#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#if __has_include(<PassKit/PKPayLaterView.h>)
+#import <PassKit/PKPayLaterView.h>
+#endif
+#if __has_include(<PassKit/PKPayLaterUtilities.h>)
+#import <PassKit/PKPayLaterUtilities.h>
+#endif
+#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
- 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