react-native-payengine 2.0.18-alpha.5 → 2.0.18-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +2 -2
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +1 -1
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.abi.json +0 -14
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +1 -1
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3299 -3252
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +2 -2
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +0 -14
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +0 -14
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +2 -47
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +1 -1
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3295 -3248
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/PayEngineSDK.yml +3273 -3219
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -171,8 +171,8 @@ dependencies {
|
|
|
171
171
|
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9'
|
|
172
172
|
// implementation "com.google.android.gms:play-services-wallet:19.2.1"
|
|
173
173
|
|
|
174
|
-
debugApi("com.payengine.sdk:payment-sdk-debug:1.1.1-alpha.
|
|
175
|
-
releaseApi("com.payengine.sdk:payment-sdk-release:1.1.1-alpha.
|
|
174
|
+
debugApi("com.payengine.sdk:payment-sdk-debug:1.1.1-alpha.6")
|
|
175
|
+
releaseApi("com.payengine.sdk:payment-sdk-release:1.1.1-alpha.6")
|
|
176
176
|
implementation("com.google.android.gms:play-services-wallet:19.2.1")
|
|
177
177
|
|
|
178
178
|
// From node_modules
|
package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.2
|
|
3
|
+
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
4
4
|
#ifndef PAYENGINESDK_SWIFT_H
|
|
5
5
|
#define PAYENGINESDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
Binary file
|
|
@@ -1258,13 +1258,6 @@
|
|
|
1258
1258
|
"printedName": "Sendable",
|
|
1259
1259
|
"usr": "s:s8SendableP",
|
|
1260
1260
|
"mangledName": "$ss8SendableP"
|
|
1261
|
-
},
|
|
1262
|
-
{
|
|
1263
|
-
"kind": "Conformance",
|
|
1264
|
-
"name": "SendableMetatype",
|
|
1265
|
-
"printedName": "SendableMetatype",
|
|
1266
|
-
"usr": "s:s16SendableMetatypeP",
|
|
1267
|
-
"mangledName": "$ss16SendableMetatypeP"
|
|
1268
1261
|
}
|
|
1269
1262
|
]
|
|
1270
1263
|
},
|
|
@@ -9797,13 +9790,6 @@
|
|
|
9797
9790
|
"printedName": "Sendable",
|
|
9798
9791
|
"usr": "s:s8SendableP",
|
|
9799
9792
|
"mangledName": "$ss8SendableP"
|
|
9800
|
-
},
|
|
9801
|
-
{
|
|
9802
|
-
"kind": "Conformance",
|
|
9803
|
-
"name": "SendableMetatype",
|
|
9804
|
-
"printedName": "SendableMetatype",
|
|
9805
|
-
"usr": "s:s16SendableMetatypeP",
|
|
9806
|
-
"mangledName": "$ss16SendableMetatypeP"
|
|
9807
9793
|
}
|
|
9808
9794
|
]
|
|
9809
9795
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.2
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios12.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name PayEngineSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import Foundation
|
|
6
6
|
import PassKit
|
|
7
7
|
@_exported import PayEngineSDK
|
|
@@ -12,15 +12,12 @@ import WebKit
|
|
|
12
12
|
import _Concurrency
|
|
13
13
|
import _StringProcessing
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
|
-
import _WebKit_SwiftUI
|
|
16
15
|
public protocol PEAccessTokenRepresentable {
|
|
17
16
|
var accessToken: Swift.String { get }
|
|
18
17
|
var expiresIn: Swift.Int64 { get }
|
|
19
18
|
}
|
|
20
19
|
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
21
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
22
20
|
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
23
|
-
#endif
|
|
24
21
|
@objc public func getBaseURL() -> Swift.String
|
|
25
22
|
@objc public func isProduction() -> Swift.Bool
|
|
26
23
|
@objc deinit
|
|
@@ -29,24 +26,16 @@ public protocol PEAccessTokenRepresentable {
|
|
|
29
26
|
case system
|
|
30
27
|
case dark
|
|
31
28
|
case light
|
|
32
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
33
29
|
public init?(rawValue: Swift.Int)
|
|
34
|
-
#endif
|
|
35
30
|
public typealias RawValue = Swift.Int
|
|
36
31
|
public var rawValue: Swift.Int {
|
|
37
32
|
get
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
35
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
36
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
|
-
#endif
|
|
44
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
45
37
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
46
|
-
#endif
|
|
47
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
38
|
@objc @_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PEBankAccount) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
49
|
-
#endif
|
|
50
39
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
51
40
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
52
41
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|
|
@@ -58,9 +47,7 @@ public protocol PEAccessTokenRepresentable {
|
|
|
58
47
|
@_hasMissingDesignatedInitializers @objc public class PEApplePay : ObjectiveC.NSObject {
|
|
59
48
|
@objc public var delegate: (any PEApplePayDelegate)?
|
|
60
49
|
public func applePayStatus(for paymentNetworks: [ApplePayPaymentNetwork] = []) -> ApplePayStatus
|
|
61
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
62
50
|
@objc public func setupApplePayButton(for paymentRequest: ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
63
|
-
#endif
|
|
64
51
|
@objc deinit
|
|
65
52
|
}
|
|
66
53
|
extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
@@ -101,9 +88,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
101
88
|
@objc public var isRequired: Swift.Bool
|
|
102
89
|
public var keyboardType: PEKeyboardType
|
|
103
90
|
@objc public var pattern: Swift.String?
|
|
104
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
105
91
|
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PEKeyboardType = .normal, pattern: Swift.String?)
|
|
106
|
-
#endif
|
|
107
92
|
@objc deinit
|
|
108
93
|
}
|
|
109
94
|
@objc @_hasMissingDesignatedInitializers @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -146,9 +131,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
146
131
|
case needSetup
|
|
147
132
|
case notEligible
|
|
148
133
|
public func ApplePayStatusRawValue() -> Swift.String
|
|
149
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
150
134
|
public init?(rawValue: Swift.Int)
|
|
151
|
-
#endif
|
|
152
135
|
public typealias RawValue = Swift.Int
|
|
153
136
|
public var rawValue: Swift.Int {
|
|
154
137
|
get
|
|
@@ -162,9 +145,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
162
145
|
@objc public enum PEApplePayResult : Swift.Int {
|
|
163
146
|
case success
|
|
164
147
|
case failure
|
|
165
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
166
148
|
public init?(rawValue: Swift.Int)
|
|
167
|
-
#endif
|
|
168
149
|
public typealias RawValue = Swift.Int
|
|
169
150
|
public var rawValue: Swift.Int {
|
|
170
151
|
get
|
|
@@ -173,31 +154,17 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
173
154
|
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
174
155
|
@objc public init(config: PEConfig)
|
|
175
156
|
@objc public static func setThemeMode(_ themMode: PEThemeMode)
|
|
176
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
177
157
|
@objc public func createSecureView(additionalFields: [PEField]?, completion: @escaping (ICardNumberView) -> Swift.Void)
|
|
178
|
-
#endif
|
|
179
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
180
158
|
@objc public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (IBankAccountView) -> Swift.Void)
|
|
181
|
-
#endif
|
|
182
159
|
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
183
160
|
@objc public func perform3DSFlow(view: UIKit.UIView, threeDSData: Swift.String, handler: @escaping (_ data: ThreeDSResult) -> Swift.Void)
|
|
184
161
|
@objc public func createFraudMonitorSession(merchantId: Swift.String, completion: @escaping (Swift.String) -> Swift.Void)
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
162
|
public func createFraudMonitorSession(_ merchantId: Swift.String, completion: @escaping (Swift.Result<Swift.String, any Swift.Error>) -> Swift.Void)
|
|
187
|
-
#endif
|
|
188
163
|
public func registerFraudMonitorBackgroundTask()
|
|
189
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
190
164
|
public func createSecureView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<ICardNumberView, any Swift.Error>) -> Swift.Void)
|
|
191
|
-
#endif
|
|
192
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
193
165
|
public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<IBankAccountView, any Swift.Error>) -> Swift.Void)
|
|
194
|
-
#endif
|
|
195
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
196
166
|
public func setupApplePay(merchantId: Swift.String, completion: @escaping (Swift.Result<PEApplePay, any Swift.Error>) -> Swift.Void)
|
|
197
|
-
#endif
|
|
198
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
199
167
|
public class func getCurrentVersionString() -> Swift.String?
|
|
200
|
-
#endif
|
|
201
168
|
@objc deinit
|
|
202
169
|
}
|
|
203
170
|
extension PayEngine {
|
|
@@ -239,9 +206,7 @@ public enum PEKeyboardType {
|
|
|
239
206
|
case Suica
|
|
240
207
|
case Visa
|
|
241
208
|
case VPay
|
|
242
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
209
|
public init?(rawValue: Swift.String)
|
|
244
|
-
#endif
|
|
245
210
|
public typealias RawValue = Swift.String
|
|
246
211
|
public var rawValue: ApplePayPaymentNetwork.RawValue {
|
|
247
212
|
get
|
|
@@ -250,12 +215,8 @@ public enum PEKeyboardType {
|
|
|
250
215
|
@objc public protocol PEApplePayDelegate {
|
|
251
216
|
@objc func paymentError(error: any Swift.Error)
|
|
252
217
|
@objc func paymentSheetDidMDismiss()
|
|
253
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
254
218
|
@objc func paymentTokenDidReturn(token: Swift.String, metadata: [Swift.String : Any]?, billingContact: PassKit.PKContact?, shippingContact: PassKit.PKContact?, completion: @escaping (PEApplePayResult) -> Swift.Void)
|
|
255
|
-
#endif
|
|
256
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
257
219
|
@objc func paymentTokenNotAvailable(error: (any Swift.Error)?)
|
|
258
|
-
#endif
|
|
259
220
|
@available(iOS 11.0, *)
|
|
260
221
|
@objc optional func didSelectShippingContact(_ contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void)
|
|
261
222
|
@available(iOS 11.0, *)
|
|
@@ -270,15 +231,9 @@ extension UIKit.UIView {
|
|
|
270
231
|
@_Concurrency.MainActor @preconcurrency public func pinEdgesTo(to other: UIKit.UIView)
|
|
271
232
|
}
|
|
272
233
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class ICardNumberView : UIKit.UIStackView {
|
|
273
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
274
234
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
275
|
-
#endif
|
|
276
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
277
235
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
278
|
-
#endif
|
|
279
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
280
236
|
@objc @_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PECard) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
281
|
-
#endif
|
|
282
237
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
283
238
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
284
239
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.2
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios12.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name PayEngineSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import Foundation
|
|
6
6
|
import PassKit
|
|
7
7
|
@_exported import PayEngineSDK
|
|
@@ -12,15 +12,12 @@ import WebKit
|
|
|
12
12
|
import _Concurrency
|
|
13
13
|
import _StringProcessing
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
|
-
import _WebKit_SwiftUI
|
|
16
15
|
public protocol PEAccessTokenRepresentable {
|
|
17
16
|
var accessToken: Swift.String { get }
|
|
18
17
|
var expiresIn: Swift.Int64 { get }
|
|
19
18
|
}
|
|
20
19
|
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
21
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
22
20
|
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
23
|
-
#endif
|
|
24
21
|
@objc public func getBaseURL() -> Swift.String
|
|
25
22
|
@objc public func isProduction() -> Swift.Bool
|
|
26
23
|
@objc deinit
|
|
@@ -29,24 +26,16 @@ public protocol PEAccessTokenRepresentable {
|
|
|
29
26
|
case system
|
|
30
27
|
case dark
|
|
31
28
|
case light
|
|
32
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
33
29
|
public init?(rawValue: Swift.Int)
|
|
34
|
-
#endif
|
|
35
30
|
public typealias RawValue = Swift.Int
|
|
36
31
|
public var rawValue: Swift.Int {
|
|
37
32
|
get
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
35
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
36
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
|
-
#endif
|
|
44
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
45
37
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
46
|
-
#endif
|
|
47
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
38
|
@objc @_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PayEngineSDK.PEBankAccount) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
49
|
-
#endif
|
|
50
39
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
51
40
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
52
41
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|
|
@@ -58,9 +47,7 @@ public protocol PEAccessTokenRepresentable {
|
|
|
58
47
|
@_hasMissingDesignatedInitializers @objc public class PEApplePay : ObjectiveC.NSObject {
|
|
59
48
|
@objc public var delegate: (any PayEngineSDK.PEApplePayDelegate)?
|
|
60
49
|
public func applePayStatus(for paymentNetworks: [PayEngineSDK.ApplePayPaymentNetwork] = []) -> PayEngineSDK.ApplePayStatus
|
|
61
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
62
50
|
@objc public func setupApplePayButton(for paymentRequest: PayEngineSDK.ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
63
|
-
#endif
|
|
64
51
|
@objc deinit
|
|
65
52
|
}
|
|
66
53
|
extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
@@ -101,9 +88,7 @@ extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewController
|
|
|
101
88
|
@objc public var isRequired: Swift.Bool
|
|
102
89
|
public var keyboardType: PayEngineSDK.PEKeyboardType
|
|
103
90
|
@objc public var pattern: Swift.String?
|
|
104
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
105
91
|
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PayEngineSDK.PEKeyboardType = .normal, pattern: Swift.String?)
|
|
106
|
-
#endif
|
|
107
92
|
@objc deinit
|
|
108
93
|
}
|
|
109
94
|
@objc @_hasMissingDesignatedInitializers @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -146,9 +131,7 @@ extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewController
|
|
|
146
131
|
case needSetup
|
|
147
132
|
case notEligible
|
|
148
133
|
public func ApplePayStatusRawValue() -> Swift.String
|
|
149
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
150
134
|
public init?(rawValue: Swift.Int)
|
|
151
|
-
#endif
|
|
152
135
|
public typealias RawValue = Swift.Int
|
|
153
136
|
public var rawValue: Swift.Int {
|
|
154
137
|
get
|
|
@@ -162,9 +145,7 @@ extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewController
|
|
|
162
145
|
@objc public enum PEApplePayResult : Swift.Int {
|
|
163
146
|
case success
|
|
164
147
|
case failure
|
|
165
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
166
148
|
public init?(rawValue: Swift.Int)
|
|
167
|
-
#endif
|
|
168
149
|
public typealias RawValue = Swift.Int
|
|
169
150
|
public var rawValue: Swift.Int {
|
|
170
151
|
get
|
|
@@ -173,31 +154,17 @@ extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewController
|
|
|
173
154
|
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
174
155
|
@objc public init(config: PayEngineSDK.PEConfig)
|
|
175
156
|
@objc public static func setThemeMode(_ themMode: PayEngineSDK.PEThemeMode)
|
|
176
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
177
157
|
@objc public func createSecureView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.ICardNumberView) -> Swift.Void)
|
|
178
|
-
#endif
|
|
179
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
180
158
|
@objc public func createBankAccountView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.IBankAccountView) -> Swift.Void)
|
|
181
|
-
#endif
|
|
182
159
|
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
183
160
|
@objc public func perform3DSFlow(view: UIKit.UIView, threeDSData: Swift.String, handler: @escaping (_ data: PayEngineSDK.ThreeDSResult) -> Swift.Void)
|
|
184
161
|
@objc public func createFraudMonitorSession(merchantId: Swift.String, completion: @escaping (Swift.String) -> Swift.Void)
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
162
|
public func createFraudMonitorSession(_ merchantId: Swift.String, completion: @escaping (Swift.Result<Swift.String, any Swift.Error>) -> Swift.Void)
|
|
187
|
-
#endif
|
|
188
163
|
public func registerFraudMonitorBackgroundTask()
|
|
189
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
190
164
|
public func createSecureView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (Swift.Result<PayEngineSDK.ICardNumberView, any Swift.Error>) -> Swift.Void)
|
|
191
|
-
#endif
|
|
192
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
193
165
|
public func createBankAccountView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (Swift.Result<PayEngineSDK.IBankAccountView, any Swift.Error>) -> Swift.Void)
|
|
194
|
-
#endif
|
|
195
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
196
166
|
public func setupApplePay(merchantId: Swift.String, completion: @escaping (Swift.Result<PayEngineSDK.PEApplePay, any Swift.Error>) -> Swift.Void)
|
|
197
|
-
#endif
|
|
198
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
199
167
|
public class func getCurrentVersionString() -> Swift.String?
|
|
200
|
-
#endif
|
|
201
168
|
@objc deinit
|
|
202
169
|
}
|
|
203
170
|
extension PayEngineSDK.PayEngine {
|
|
@@ -239,9 +206,7 @@ public enum PEKeyboardType {
|
|
|
239
206
|
case Suica
|
|
240
207
|
case Visa
|
|
241
208
|
case VPay
|
|
242
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
209
|
public init?(rawValue: Swift.String)
|
|
244
|
-
#endif
|
|
245
210
|
public typealias RawValue = Swift.String
|
|
246
211
|
public var rawValue: PayEngineSDK.ApplePayPaymentNetwork.RawValue {
|
|
247
212
|
get
|
|
@@ -250,12 +215,8 @@ public enum PEKeyboardType {
|
|
|
250
215
|
@objc public protocol PEApplePayDelegate {
|
|
251
216
|
@objc func paymentError(error: any Swift.Error)
|
|
252
217
|
@objc func paymentSheetDidMDismiss()
|
|
253
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
254
218
|
@objc func paymentTokenDidReturn(token: Swift.String, metadata: [Swift.String : Any]?, billingContact: PassKit.PKContact?, shippingContact: PassKit.PKContact?, completion: @escaping (PayEngineSDK.PEApplePayResult) -> Swift.Void)
|
|
255
|
-
#endif
|
|
256
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
257
219
|
@objc func paymentTokenNotAvailable(error: (any Swift.Error)?)
|
|
258
|
-
#endif
|
|
259
220
|
@available(iOS 11.0, *)
|
|
260
221
|
@objc optional func didSelectShippingContact(_ contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void)
|
|
261
222
|
@available(iOS 11.0, *)
|
|
@@ -270,15 +231,9 @@ extension UIKit.UIView {
|
|
|
270
231
|
@_Concurrency.MainActor @preconcurrency public func pinEdgesTo(to other: UIKit.UIView)
|
|
271
232
|
}
|
|
272
233
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class ICardNumberView : UIKit.UIStackView {
|
|
273
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
274
234
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
275
|
-
#endif
|
|
276
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
277
235
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
278
|
-
#endif
|
|
279
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
280
236
|
@objc @_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PayEngineSDK.PECard) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
281
|
-
#endif
|
|
282
237
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
283
238
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
284
239
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 6.2
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
|
|
3
3
|
// swift-module-flags: -target arm64-apple-ios12.4 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name PayEngineSDK
|
|
4
|
-
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1.2
|
|
5
5
|
import Foundation
|
|
6
6
|
import PassKit
|
|
7
7
|
@_exported import PayEngineSDK
|
|
@@ -12,15 +12,12 @@ import WebKit
|
|
|
12
12
|
import _Concurrency
|
|
13
13
|
import _StringProcessing
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
|
-
import _WebKit_SwiftUI
|
|
16
15
|
public protocol PEAccessTokenRepresentable {
|
|
17
16
|
var accessToken: Swift.String { get }
|
|
18
17
|
var expiresIn: Swift.Int64 { get }
|
|
19
18
|
}
|
|
20
19
|
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
21
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
22
20
|
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
23
|
-
#endif
|
|
24
21
|
@objc public func getBaseURL() -> Swift.String
|
|
25
22
|
@objc public func isProduction() -> Swift.Bool
|
|
26
23
|
@objc deinit
|
|
@@ -29,24 +26,16 @@ public protocol PEAccessTokenRepresentable {
|
|
|
29
26
|
case system
|
|
30
27
|
case dark
|
|
31
28
|
case light
|
|
32
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
33
29
|
public init?(rawValue: Swift.Int)
|
|
34
|
-
#endif
|
|
35
30
|
public typealias RawValue = Swift.Int
|
|
36
31
|
public var rawValue: Swift.Int {
|
|
37
32
|
get
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
35
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
42
36
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
|
-
#endif
|
|
44
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
45
37
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
46
|
-
#endif
|
|
47
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
48
38
|
@objc @_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PEBankAccount) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
49
|
-
#endif
|
|
50
39
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
51
40
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
52
41
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|
|
@@ -58,9 +47,7 @@ public protocol PEAccessTokenRepresentable {
|
|
|
58
47
|
@_hasMissingDesignatedInitializers @objc public class PEApplePay : ObjectiveC.NSObject {
|
|
59
48
|
@objc public var delegate: (any PEApplePayDelegate)?
|
|
60
49
|
public func applePayStatus(for paymentNetworks: [ApplePayPaymentNetwork] = []) -> ApplePayStatus
|
|
61
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
62
50
|
@objc public func setupApplePayButton(for paymentRequest: ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
63
|
-
#endif
|
|
64
51
|
@objc deinit
|
|
65
52
|
}
|
|
66
53
|
extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
@@ -101,9 +88,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
101
88
|
@objc public var isRequired: Swift.Bool
|
|
102
89
|
public var keyboardType: PEKeyboardType
|
|
103
90
|
@objc public var pattern: Swift.String?
|
|
104
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
105
91
|
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PEKeyboardType = .normal, pattern: Swift.String?)
|
|
106
|
-
#endif
|
|
107
92
|
@objc deinit
|
|
108
93
|
}
|
|
109
94
|
@objc @_hasMissingDesignatedInitializers @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
@@ -146,9 +131,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
146
131
|
case needSetup
|
|
147
132
|
case notEligible
|
|
148
133
|
public func ApplePayStatusRawValue() -> Swift.String
|
|
149
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
150
134
|
public init?(rawValue: Swift.Int)
|
|
151
|
-
#endif
|
|
152
135
|
public typealias RawValue = Swift.Int
|
|
153
136
|
public var rawValue: Swift.Int {
|
|
154
137
|
get
|
|
@@ -162,9 +145,7 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
162
145
|
@objc public enum PEApplePayResult : Swift.Int {
|
|
163
146
|
case success
|
|
164
147
|
case failure
|
|
165
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
166
148
|
public init?(rawValue: Swift.Int)
|
|
167
|
-
#endif
|
|
168
149
|
public typealias RawValue = Swift.Int
|
|
169
150
|
public var rawValue: Swift.Int {
|
|
170
151
|
get
|
|
@@ -173,31 +154,17 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
173
154
|
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
174
155
|
@objc public init(config: PEConfig)
|
|
175
156
|
@objc public static func setThemeMode(_ themMode: PEThemeMode)
|
|
176
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
177
157
|
@objc public func createSecureView(additionalFields: [PEField]?, completion: @escaping (ICardNumberView) -> Swift.Void)
|
|
178
|
-
#endif
|
|
179
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
180
158
|
@objc public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (IBankAccountView) -> Swift.Void)
|
|
181
|
-
#endif
|
|
182
159
|
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
183
160
|
@objc public func perform3DSFlow(view: UIKit.UIView, threeDSData: Swift.String, handler: @escaping (_ data: ThreeDSResult) -> Swift.Void)
|
|
184
161
|
@objc public func createFraudMonitorSession(merchantId: Swift.String, completion: @escaping (Swift.String) -> Swift.Void)
|
|
185
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
186
162
|
public func createFraudMonitorSession(_ merchantId: Swift.String, completion: @escaping (Swift.Result<Swift.String, any Swift.Error>) -> Swift.Void)
|
|
187
|
-
#endif
|
|
188
163
|
public func registerFraudMonitorBackgroundTask()
|
|
189
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
190
164
|
public func createSecureView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<ICardNumberView, any Swift.Error>) -> Swift.Void)
|
|
191
|
-
#endif
|
|
192
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
193
165
|
public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (Swift.Result<IBankAccountView, any Swift.Error>) -> Swift.Void)
|
|
194
|
-
#endif
|
|
195
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
196
166
|
public func setupApplePay(merchantId: Swift.String, completion: @escaping (Swift.Result<PEApplePay, any Swift.Error>) -> Swift.Void)
|
|
197
|
-
#endif
|
|
198
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
199
167
|
public class func getCurrentVersionString() -> Swift.String?
|
|
200
|
-
#endif
|
|
201
168
|
@objc deinit
|
|
202
169
|
}
|
|
203
170
|
extension PayEngine {
|
|
@@ -239,9 +206,7 @@ public enum PEKeyboardType {
|
|
|
239
206
|
case Suica
|
|
240
207
|
case Visa
|
|
241
208
|
case VPay
|
|
242
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
243
209
|
public init?(rawValue: Swift.String)
|
|
244
|
-
#endif
|
|
245
210
|
public typealias RawValue = Swift.String
|
|
246
211
|
public var rawValue: ApplePayPaymentNetwork.RawValue {
|
|
247
212
|
get
|
|
@@ -250,12 +215,8 @@ public enum PEKeyboardType {
|
|
|
250
215
|
@objc public protocol PEApplePayDelegate {
|
|
251
216
|
@objc func paymentError(error: any Swift.Error)
|
|
252
217
|
@objc func paymentSheetDidMDismiss()
|
|
253
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
254
218
|
@objc func paymentTokenDidReturn(token: Swift.String, metadata: [Swift.String : Any]?, billingContact: PassKit.PKContact?, shippingContact: PassKit.PKContact?, completion: @escaping (PEApplePayResult) -> Swift.Void)
|
|
255
|
-
#endif
|
|
256
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
257
219
|
@objc func paymentTokenNotAvailable(error: (any Swift.Error)?)
|
|
258
|
-
#endif
|
|
259
220
|
@available(iOS 11.0, *)
|
|
260
221
|
@objc optional func didSelectShippingContact(_ contact: PassKit.PKContact, handler completion: @escaping (PassKit.PKPaymentRequestShippingContactUpdate) -> Swift.Void)
|
|
261
222
|
@available(iOS 11.0, *)
|
|
@@ -270,15 +231,9 @@ extension UIKit.UIView {
|
|
|
270
231
|
@_Concurrency.MainActor @preconcurrency public func pinEdgesTo(to other: UIKit.UIView)
|
|
271
232
|
}
|
|
272
233
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class ICardNumberView : UIKit.UIStackView {
|
|
273
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
274
234
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
275
|
-
#endif
|
|
276
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
277
235
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
278
|
-
#endif
|
|
279
|
-
#if compiler(>=5.3) && $NonescapableTypes
|
|
280
236
|
@objc @_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (PECard) -> Swift.Void, failure: @escaping (any Swift.Error) -> Swift.Void)
|
|
281
|
-
#endif
|
|
282
237
|
@_Concurrency.MainActor @preconcurrency public func validate() -> Swift.Bool
|
|
283
238
|
@_Concurrency.MainActor @preconcurrency public func showKeyboard()
|
|
284
239
|
@_Concurrency.MainActor @preconcurrency public func hideKeyboard()
|