react-native-payengine 2.0.17 → 2.0.18-alpha.1
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/README.md +96 -65
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/reactnativepayengine/v2/RNPayEngineNative.kt +65 -3
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/RNPEEvents.kt +1 -0
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/bankaccount/RNBankAccountViewManager.kt +16 -3
- package/android/src/main/java/com/reactnativepayengine/v2/securefields/creditcard/RNPECreditCardViewManager.kt +15 -4
- package/ios/PayEngineSDK.xcframework/Info.plist +5 -5
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/KDataCollector.h +4 -25
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/KountAnalyticsViewController.h +0 -20
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/KountPrivate.h +61 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +430 -149
- 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 +1962 -5715
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +35 -129
- 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 +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +35 -129
- 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_x86_64-simulator/PayEngineSDK.framework/Headers/KDataCollector.h +4 -25
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/KountAnalyticsViewController.h +0 -20
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/KountPrivate.h +61 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +860 -298
- 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 +1962 -5715
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +35 -129
- 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 +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1962 -5715
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +35 -129
- 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 +35 -129
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +35 -129
- 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/Info.plist +0 -0
- package/ios/Sources/Classes/RNPEEventEmitter.swift +1 -1
- package/ios/Sources/Classes/RNPayEngineNative.swift +125 -64
- package/ios/Sources/Classes/SecureFields/RNPEEvents.swift +1 -0
- package/ios/Sources/Payengine.m +6 -0
- package/lib/commonjs/components/PayEngine.js +1 -1
- package/lib/commonjs/components/PayEngine.js.map +1 -1
- package/lib/commonjs/components/v2/ApplePay/PEApplePayButton.js +124 -0
- package/lib/commonjs/components/v2/ApplePay/PEApplePayButton.js.map +1 -1
- package/lib/commonjs/components/v2/ApplePay/PEApplePayInterfaces.js +78 -0
- package/lib/commonjs/components/v2/ApplePay/PEApplePayInterfaces.js.map +1 -1
- package/lib/commonjs/components/v2/GooglePay/PEGooglePayAddress.js.map +1 -1
- package/lib/commonjs/components/v2/GooglePay/PEGooglePayButton.js +53 -0
- package/lib/commonjs/components/v2/GooglePay/PEGooglePayButton.js.map +1 -1
- package/lib/commonjs/components/v2/PEPaymentRequest.js +121 -0
- package/lib/commonjs/components/v2/PEPaymentRequest.js.map +1 -1
- package/lib/commonjs/components/v2/PayEngineNative.js +182 -4
- package/lib/commonjs/components/v2/PayEngineNative.js.map +1 -1
- package/lib/commonjs/components/v2/PayEngineProvider.js +52 -0
- package/lib/commonjs/components/v2/PayEngineProvider.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/BankAccountView.js +71 -0
- package/lib/commonjs/components/v2/SecureFields/BankAccountView.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/CreditCardView.js +82 -0
- package/lib/commonjs/components/v2/SecureFields/CreditCardView.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/IPEField.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/ITokenizationData.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/PEBankAccount.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/PECard.js.map +1 -1
- package/lib/commonjs/components/v2/SecureFields/PEKeyboardType.js +20 -3
- package/lib/commonjs/components/v2/SecureFields/PEKeyboardType.js.map +1 -1
- package/lib/commonjs/index.js +17 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/interfaces/index.js +20 -0
- package/lib/commonjs/interfaces/index.js.map +1 -1
- package/lib/commonjs/utils/index.js +26 -0
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/module/components/PayEngine.js +1 -1
- package/lib/module/components/PayEngine.js.map +1 -1
- package/lib/module/components/v2/ApplePay/PEApplePayButton.js +124 -0
- package/lib/module/components/v2/ApplePay/PEApplePayButton.js.map +1 -1
- package/lib/module/components/v2/ApplePay/PEApplePayInterfaces.js +75 -0
- package/lib/module/components/v2/ApplePay/PEApplePayInterfaces.js.map +1 -1
- package/lib/module/components/v2/GooglePay/PEGooglePayAddress.js.map +1 -1
- package/lib/module/components/v2/GooglePay/PEGooglePayButton.js +53 -0
- package/lib/module/components/v2/GooglePay/PEGooglePayButton.js.map +1 -1
- package/lib/module/components/v2/PEPaymentRequest.js +119 -0
- package/lib/module/components/v2/PEPaymentRequest.js.map +1 -1
- package/lib/module/components/v2/PayEngineNative.js +184 -5
- package/lib/module/components/v2/PayEngineNative.js.map +1 -1
- package/lib/module/components/v2/PayEngineProvider.js +51 -0
- package/lib/module/components/v2/PayEngineProvider.js.map +1 -1
- package/lib/module/components/v2/SecureFields/BankAccountView.js +71 -0
- package/lib/module/components/v2/SecureFields/BankAccountView.js.map +1 -1
- package/lib/module/components/v2/SecureFields/CreditCardView.js +82 -0
- package/lib/module/components/v2/SecureFields/CreditCardView.js.map +1 -1
- package/lib/module/components/v2/SecureFields/IPEField.js.map +1 -1
- package/lib/module/components/v2/SecureFields/ITokenizationData.js.map +1 -1
- package/lib/module/components/v2/SecureFields/PEBankAccount.js.map +1 -1
- package/lib/module/components/v2/SecureFields/PECard.js.map +1 -1
- package/lib/module/components/v2/SecureFields/PEKeyboardType.js +16 -1
- package/lib/module/components/v2/SecureFields/PEKeyboardType.js.map +1 -1
- package/lib/module/index.js +10 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/interfaces/index.js +19 -0
- package/lib/module/interfaces/index.js.map +1 -1
- package/lib/module/utils/index.js +27 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/typescript/components/PayEngine.d.ts +1 -1
- package/lib/typescript/components/v2/ApplePay/PEApplePayButton.d.ts +217 -12
- package/lib/typescript/components/v2/ApplePay/PEApplePayInterfaces.d.ts +180 -1
- package/lib/typescript/components/v2/GooglePay/PEGooglePayAddress.d.ts +30 -0
- package/lib/typescript/components/v2/GooglePay/PEGooglePayButton.d.ts +99 -0
- package/lib/typescript/components/v2/PEPaymentRequest.d.ts +130 -9
- package/lib/typescript/components/v2/PayEngineNative.d.ts +165 -7
- package/lib/typescript/components/v2/PayEngineProvider.d.ts +51 -0
- package/lib/typescript/components/v2/SecureFields/BankAccountView.d.ts +103 -0
- package/lib/typescript/components/v2/SecureFields/CreditCardView.d.ts +114 -0
- package/lib/typescript/components/v2/SecureFields/IPEField.d.ts +49 -0
- package/lib/typescript/components/v2/SecureFields/ITokenizationData.d.ts +14 -0
- package/lib/typescript/components/v2/SecureFields/PEBankAccount.d.ts +36 -0
- package/lib/typescript/components/v2/SecureFields/PECard.d.ts +44 -0
- package/lib/typescript/components/v2/SecureFields/PEKeyboardType.d.ts +16 -1
- package/lib/typescript/index.d.ts +11 -5
- package/lib/typescript/interfaces/index.d.ts +35 -1
- package/lib/typescript/utils/index.d.ts +21 -0
- package/package.json +6 -3
- package/src/components/PayEngine.tsx +1 -1
- package/src/components/v2/ApplePay/PEApplePayButton.tsx +225 -12
- package/src/components/v2/ApplePay/PEApplePayInterfaces.ts +221 -8
- package/src/components/v2/GooglePay/PEGooglePayAddress.ts +39 -1
- package/src/components/v2/GooglePay/PEGooglePayButton.tsx +113 -9
- package/src/components/v2/PEPaymentRequest.ts +151 -13
- package/src/components/v2/PayEngineNative.tsx +196 -9
- package/src/components/v2/PayEngineProvider.tsx +52 -1
- package/src/components/v2/SecureFields/BankAccountView.tsx +108 -1
- package/src/components/v2/SecureFields/CreditCardView.tsx +118 -1
- package/src/components/v2/SecureFields/IPEField.ts +55 -0
- package/src/components/v2/SecureFields/ITokenizationData.ts +17 -2
- package/src/components/v2/SecureFields/PEBankAccount.ts +42 -0
- package/src/components/v2/SecureFields/PECard.ts +52 -0
- package/src/components/v2/SecureFields/PEKeyboardType.ts +18 -1
- package/src/index.tsx +23 -5
- package/src/interfaces/index.ts +40 -2
- package/src/utils/index.ts +21 -0
- package/android/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1.1/gc.properties +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/CustomWindow.h +0 -25
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/UIControl+CustomControl.h +0 -33
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/UIViewController+TouchControl.h +0 -27
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/CustomWindow.h +0 -25
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/UIControl+CustomControl.h +0 -33
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/UIViewController+TouchControl.h +0 -27
|
@@ -12,14 +12,9 @@ import WebKit
|
|
|
12
12
|
import _Concurrency
|
|
13
13
|
import _StringProcessing
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@objc @_Concurrency.MainActor @preconcurrency public func pinTo(view: UIKit.UIView)
|
|
19
|
-
@objc @_Concurrency.MainActor @preconcurrency public func registerEvent(name: Swift.String, handler: @escaping (_ data: Swift.AnyObject) -> Swift.Void)
|
|
20
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeEvent(name: Swift.String)
|
|
21
|
-
@_Concurrency.MainActor @preconcurrency @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
22
|
-
@objc deinit
|
|
15
|
+
public protocol PEAccessTokenRepresentable {
|
|
16
|
+
var accessToken: Swift.String { get }
|
|
17
|
+
var expiresIn: Swift.Int64 { get }
|
|
23
18
|
}
|
|
24
19
|
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
25
20
|
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
@@ -38,7 +33,6 @@ import _SwiftConcurrencyShims
|
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
35
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
-
@_Concurrency.MainActor @preconcurrency public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
42
36
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
37
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
44
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)
|
|
@@ -54,8 +48,6 @@ import _SwiftConcurrencyShims
|
|
|
54
48
|
@objc public var delegate: (any PEApplePayDelegate)?
|
|
55
49
|
public func applePayStatus(for paymentNetworks: [ApplePayPaymentNetwork] = []) -> ApplePayStatus
|
|
56
50
|
@objc public func setupApplePayButton(for paymentRequest: ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
57
|
-
@objc public func startApplePayPayment() throws
|
|
58
|
-
@objc public func startApplePaySetup()
|
|
59
51
|
@objc deinit
|
|
60
52
|
}
|
|
61
53
|
extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
@@ -65,120 +57,59 @@ extension PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
|
65
57
|
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didSelect shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void)
|
|
66
58
|
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didAuthorizePayment payment: PassKit.PKPayment, completion: @escaping (PassKit.PKPaymentAuthorizationStatus) -> Swift.Void)
|
|
67
59
|
}
|
|
68
|
-
@objc @objcMembers public class
|
|
69
|
-
@objc public
|
|
70
|
-
@objc
|
|
71
|
-
public
|
|
72
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
73
|
-
}
|
|
74
|
-
@objc @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
75
|
-
@objc public var message: Swift.String?
|
|
76
|
-
@objc public var success: Swift.Bool
|
|
77
|
-
@objc public var transactionId: Swift.String?
|
|
78
|
-
@objc public init(message: Swift.String?, success: Swift.Bool, transactionId: Swift.String?) throws
|
|
79
|
-
@objc deinit
|
|
80
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
81
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
82
|
-
}
|
|
83
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor @preconcurrency public class ThreeDSModal : UIKit.UIView, WebKit.WKNavigationDelegate, WebKit.WKScriptMessageHandler {
|
|
84
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
85
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setup(config: PEConfig, threeDSData: Swift.String, handler: @escaping (_ data: ThreeDSResult) -> Swift.Void)
|
|
86
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setupWebView()
|
|
87
|
-
@_Concurrency.MainActor @preconcurrency @objc public func webView(_ webView: WebKit.WKWebView, decidePolicyFor navigationAction: WebKit.WKNavigationAction, decisionHandler: @escaping (WebKit.WKNavigationActionPolicy) -> Swift.Void)
|
|
88
|
-
@_Concurrency.MainActor @preconcurrency @objc public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
|
|
89
|
-
@_Concurrency.MainActor @preconcurrency @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
90
|
-
@objc deinit
|
|
91
|
-
}
|
|
92
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor @preconcurrency public class PEPaymentView : ICardNumberView {
|
|
93
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToSuperview()
|
|
94
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
95
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
96
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func validate() -> Swift.Bool
|
|
97
|
-
@_Concurrency.MainActor @preconcurrency override public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
98
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func showKeyboard()
|
|
99
|
-
@objc deinit
|
|
100
|
-
}
|
|
101
|
-
@objc @objcMembers public class BankAccountResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
102
|
-
@objc public init(message: Swift.String, data: PEBankAccount) throws
|
|
60
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
61
|
+
@objc final public let message: Swift.String?
|
|
62
|
+
@objc final public let success: Swift.Bool
|
|
63
|
+
@objc final public let transactionId: Swift.String?
|
|
103
64
|
@objc deinit
|
|
104
65
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
105
66
|
required public init(from decoder: any Swift.Decoder) throws
|
|
106
67
|
}
|
|
107
|
-
@objc @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
108
|
-
@objc public
|
|
109
|
-
@objc public
|
|
110
|
-
@objc public
|
|
111
|
-
@objc public
|
|
112
|
-
@objc public init(routingNumber: Swift.String, last4: Swift.String, firstName: Swift.String, lastName: Swift.String) throws
|
|
68
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
69
|
+
@objc final public let routingNumber: Swift.String
|
|
70
|
+
@objc final public let last4: Swift.String
|
|
71
|
+
@objc final public let firstName: Swift.String
|
|
72
|
+
@objc final public let lastName: Swift.String
|
|
113
73
|
@objc deinit
|
|
114
74
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
115
75
|
required public init(from decoder: any Swift.Decoder) throws
|
|
116
76
|
}
|
|
117
|
-
@objc @objcMembers public class
|
|
118
|
-
@objc public
|
|
77
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
78
|
+
@objc final public let token: Swift.String
|
|
79
|
+
@objc final public let bankAccountData: BankAccountData
|
|
119
80
|
@objc deinit
|
|
120
81
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
121
82
|
required public init(from decoder: any Swift.Decoder) throws
|
|
122
83
|
}
|
|
123
|
-
@objc @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
124
|
-
@objc public var token: Swift.String
|
|
125
|
-
@objc public var bankAccountData: BankAccountData
|
|
126
|
-
@objc public init(token: Swift.String, bankAccountData: BankAccountData) throws
|
|
127
|
-
@objc deinit
|
|
128
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
129
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
130
|
-
}
|
|
131
|
-
public struct KountSettingResponseData : Swift.Codable {
|
|
132
|
-
public init(enable_kount_integration: Swift.Bool, kount_client_id: Swift.String?, session_ID: Swift.String?) throws
|
|
133
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
134
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
135
|
-
}
|
|
136
84
|
@objc @objcMembers public class PEField : ObjectiveC.NSObject {
|
|
137
|
-
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PEKeyboardType = .normal, pattern: Swift.String?)
|
|
138
|
-
@objc deinit
|
|
139
|
-
}
|
|
140
|
-
@objc @objcMembers public class CardResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
141
|
-
@objc public init(message: Swift.String, data: PECard) throws
|
|
142
|
-
@objc deinit
|
|
143
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
144
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
145
|
-
}
|
|
146
|
-
@objc @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
147
|
-
@objc public var id: Swift.String
|
|
148
|
-
@objc public var brand: Swift.String
|
|
149
|
-
@objc public var last4: Swift.String
|
|
150
|
-
@objc public var expMonth: Swift.Int
|
|
151
|
-
@objc public var expYear: Swift.Int
|
|
152
85
|
@objc public var name: Swift.String
|
|
153
|
-
@objc public var
|
|
154
|
-
@objc public
|
|
86
|
+
@objc public var type: Swift.String
|
|
87
|
+
@objc public var placeholder: Swift.String
|
|
88
|
+
@objc public var isRequired: Swift.Bool
|
|
89
|
+
public var keyboardType: PEKeyboardType
|
|
90
|
+
@objc public var pattern: Swift.String?
|
|
91
|
+
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PEKeyboardType = .normal, pattern: Swift.String?)
|
|
155
92
|
@objc deinit
|
|
156
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
157
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
158
93
|
}
|
|
159
|
-
@objc @objcMembers public class
|
|
160
|
-
@objc public
|
|
94
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
95
|
+
@objc final public let id: Swift.String
|
|
96
|
+
@objc final public let brand: Swift.String
|
|
97
|
+
@objc final public let last4: Swift.String
|
|
98
|
+
@objc final public let expMonth: Swift.Int
|
|
99
|
+
@objc final public let expYear: Swift.Int
|
|
100
|
+
@objc final public let name: Swift.String
|
|
101
|
+
@objc final public let addressZip: Swift.String?
|
|
161
102
|
@objc deinit
|
|
162
103
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
163
104
|
required public init(from decoder: any Swift.Decoder) throws
|
|
164
105
|
}
|
|
165
|
-
@objc @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
166
|
-
@objc public
|
|
167
|
-
@objc public
|
|
168
|
-
@objc public init(token: Swift.String, cardData: CardData) throws
|
|
106
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
107
|
+
@objc final public let token: Swift.String
|
|
108
|
+
@objc final public let cardData: CardData
|
|
169
109
|
@objc deinit
|
|
170
110
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
171
111
|
required public init(from decoder: any Swift.Decoder) throws
|
|
172
112
|
}
|
|
173
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class PEBankAccountView : IBankAccountView {
|
|
174
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToSuperview()
|
|
175
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
176
|
-
@_Concurrency.MainActor @preconcurrency override public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
177
|
-
@_Concurrency.MainActor @preconcurrency override public func validate() -> Swift.Bool
|
|
178
|
-
@_Concurrency.MainActor @preconcurrency override public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
179
|
-
@_Concurrency.MainActor @preconcurrency override public func showKeyboard()
|
|
180
|
-
@objc deinit
|
|
181
|
-
}
|
|
182
113
|
@objc public enum ApplePayStatus : Swift.Int {
|
|
183
114
|
case eligible
|
|
184
115
|
case needSetup
|
|
@@ -190,10 +121,6 @@ public struct KountSettingResponseData : Swift.Codable {
|
|
|
190
121
|
get
|
|
191
122
|
}
|
|
192
123
|
}
|
|
193
|
-
public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
194
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
195
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
196
|
-
}
|
|
197
124
|
@_inheritsConvenienceInitializers @objc public class ApplePayPaymentRequest : ObjectiveC.NSObject {
|
|
198
125
|
@objc public func build(paymentItems: [PassKit.PKPaymentSummaryItem] = [], paymentAmount: Swift.Double, currencyCode: Swift.String = "USD", requiredBillingContactFields: Swift.Set<PassKit.PKContactField> = [], requiredShippingContactFields: Swift.Set<PassKit.PKContactField> = [], shippingMethods: [PassKit.PKShippingMethod] = [])
|
|
199
126
|
@objc override dynamic public init()
|
|
@@ -208,19 +135,9 @@ public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
|
208
135
|
get
|
|
209
136
|
}
|
|
210
137
|
}
|
|
211
|
-
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency open class FraudAnalyticsViewController : KountAnalyticsViewController {
|
|
212
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
|
213
|
-
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
214
|
-
@objc deinit
|
|
215
|
-
}
|
|
216
|
-
@_hasMissingDesignatedInitializers @objcMembers public class WebViewHelper {
|
|
217
|
-
@objc public static func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
218
|
-
@objc deinit
|
|
219
|
-
}
|
|
220
138
|
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
221
139
|
@objc public init(config: PEConfig)
|
|
222
140
|
@objc public static func setThemeMode(_ themMode: PEThemeMode)
|
|
223
|
-
@objc public func createComponent(name: Swift.String, props: [Swift.String : Swift.String]) -> PEComponent
|
|
224
141
|
@objc public func createSecureView(additionalFields: [PEField]?, completion: @escaping (ICardNumberView) -> Swift.Void)
|
|
225
142
|
@objc public func createBankAccountView(additionalFields: [PEField]?, completion: @escaping (IBankAccountView) -> Swift.Void)
|
|
226
143
|
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
@@ -234,10 +151,9 @@ public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
|
234
151
|
public class func getCurrentVersionString() -> Swift.String?
|
|
235
152
|
@objc deinit
|
|
236
153
|
}
|
|
237
|
-
|
|
238
|
-
public
|
|
239
|
-
public func
|
|
240
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
154
|
+
extension PayEngine {
|
|
155
|
+
public static func setFetchAccessTokenCallback(_ callback: @escaping (() throws -> any PEAccessTokenRepresentable))
|
|
156
|
+
public static func logout(merchantId: Swift.String)
|
|
241
157
|
}
|
|
242
158
|
public enum PEKeyboardType {
|
|
243
159
|
case number
|
|
@@ -275,7 +191,6 @@ public enum PEKeyboardType {
|
|
|
275
191
|
case Visa
|
|
276
192
|
case VPay
|
|
277
193
|
public init?(rawValue: Swift.String)
|
|
278
|
-
public init?(applePayNetwork: PassKit.PKPaymentNetwork)
|
|
279
194
|
public typealias RawValue = Swift.String
|
|
280
195
|
public var rawValue: ApplePayPaymentNetwork.RawValue {
|
|
281
196
|
get
|
|
@@ -299,16 +214,7 @@ extension UIKit.UIView {
|
|
|
299
214
|
extension UIKit.UIView {
|
|
300
215
|
@_Concurrency.MainActor @preconcurrency public func pinEdgesTo(to other: UIKit.UIView)
|
|
301
216
|
}
|
|
302
|
-
public struct MobilePaymentDataResponse : Swift.Codable {
|
|
303
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
304
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
305
|
-
}
|
|
306
|
-
public struct MobilePaymentDataApplePayResponse : Swift.Codable {
|
|
307
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
308
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
309
|
-
}
|
|
310
217
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class ICardNumberView : UIKit.UIStackView {
|
|
311
|
-
@_Concurrency.MainActor @preconcurrency public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PEField])
|
|
312
218
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
313
219
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PECard, any Swift.Error>) -> Swift.Void)
|
|
314
220
|
@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)
|
|
@@ -12,14 +12,9 @@ import WebKit
|
|
|
12
12
|
import _Concurrency
|
|
13
13
|
import _StringProcessing
|
|
14
14
|
import _SwiftConcurrencyShims
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@objc @_Concurrency.MainActor @preconcurrency public func pinTo(view: UIKit.UIView)
|
|
19
|
-
@objc @_Concurrency.MainActor @preconcurrency public func registerEvent(name: Swift.String, handler: @escaping (_ data: Swift.AnyObject) -> Swift.Void)
|
|
20
|
-
@objc @_Concurrency.MainActor @preconcurrency public func removeEvent(name: Swift.String)
|
|
21
|
-
@_Concurrency.MainActor @preconcurrency @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
22
|
-
@objc deinit
|
|
15
|
+
public protocol PEAccessTokenRepresentable {
|
|
16
|
+
var accessToken: Swift.String { get }
|
|
17
|
+
var expiresIn: Swift.Int64 { get }
|
|
23
18
|
}
|
|
24
19
|
@objc @objcMembers public class PEConfig : ObjectiveC.NSObject {
|
|
25
20
|
@objc public init(publicKey: Swift.String, baseURL: Swift.String? = nil)
|
|
@@ -38,7 +33,6 @@ import _SwiftConcurrencyShims
|
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
35
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class IBankAccountView : UIKit.UIStackView {
|
|
41
|
-
@_Concurrency.MainActor @preconcurrency public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
42
36
|
@_Concurrency.MainActor @preconcurrency public func createBankAccount(merchantId: Swift.String?, completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
43
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)
|
|
44
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)
|
|
@@ -54,8 +48,6 @@ import _SwiftConcurrencyShims
|
|
|
54
48
|
@objc public var delegate: (any PayEngineSDK.PEApplePayDelegate)?
|
|
55
49
|
public func applePayStatus(for paymentNetworks: [PayEngineSDK.ApplePayPaymentNetwork] = []) -> PayEngineSDK.ApplePayStatus
|
|
56
50
|
@objc public func setupApplePayButton(for paymentRequest: PayEngineSDK.ApplePayPaymentRequest, type: PassKit.PKPaymentButtonType = .checkout, style: PassKit.PKPaymentButtonStyle = .black) -> UIKit.UIButton?
|
|
57
|
-
@objc public func startApplePayPayment() throws
|
|
58
|
-
@objc public func startApplePaySetup()
|
|
59
51
|
@objc deinit
|
|
60
52
|
}
|
|
61
53
|
extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewControllerDelegate {
|
|
@@ -65,120 +57,59 @@ extension PayEngineSDK.PEApplePay : PassKit.PKPaymentAuthorizationViewController
|
|
|
65
57
|
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didSelect shippingMethod: PassKit.PKShippingMethod, handler completion: @escaping (PassKit.PKPaymentRequestShippingMethodUpdate) -> Swift.Void)
|
|
66
58
|
@objc dynamic public func paymentAuthorizationViewController(_ controller: PassKit.PKPaymentAuthorizationViewController, didAuthorizePayment payment: PassKit.PKPayment, completion: @escaping (PassKit.PKPaymentAuthorizationStatus) -> Swift.Void)
|
|
67
59
|
}
|
|
68
|
-
@objc @objcMembers public class
|
|
69
|
-
@objc public
|
|
70
|
-
@objc
|
|
71
|
-
public
|
|
72
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
73
|
-
}
|
|
74
|
-
@objc @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
75
|
-
@objc public var message: Swift.String?
|
|
76
|
-
@objc public var success: Swift.Bool
|
|
77
|
-
@objc public var transactionId: Swift.String?
|
|
78
|
-
@objc public init(message: Swift.String?, success: Swift.Bool, transactionId: Swift.String?) throws
|
|
79
|
-
@objc deinit
|
|
80
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
81
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
82
|
-
}
|
|
83
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor @preconcurrency public class ThreeDSModal : UIKit.UIView, WebKit.WKNavigationDelegate, WebKit.WKScriptMessageHandler {
|
|
84
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
85
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setup(config: PayEngineSDK.PEConfig, threeDSData: Swift.String, handler: @escaping (_ data: PayEngineSDK.ThreeDSResult) -> Swift.Void)
|
|
86
|
-
@objc @_Concurrency.MainActor @preconcurrency public func setupWebView()
|
|
87
|
-
@_Concurrency.MainActor @preconcurrency @objc public func webView(_ webView: WebKit.WKWebView, decidePolicyFor navigationAction: WebKit.WKNavigationAction, decisionHandler: @escaping (WebKit.WKNavigationActionPolicy) -> Swift.Void)
|
|
88
|
-
@_Concurrency.MainActor @preconcurrency @objc public func webView(_ webView: WebKit.WKWebView, didFinish navigation: WebKit.WKNavigation!)
|
|
89
|
-
@_Concurrency.MainActor @preconcurrency @objc public func userContentController(_ userContentController: WebKit.WKUserContentController, didReceive message: WebKit.WKScriptMessage)
|
|
90
|
-
@objc deinit
|
|
91
|
-
}
|
|
92
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @_Concurrency.MainActor @preconcurrency public class PEPaymentView : PayEngineSDK.ICardNumberView {
|
|
93
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToSuperview()
|
|
94
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
95
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
96
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func validate() -> Swift.Bool
|
|
97
|
-
@_Concurrency.MainActor @preconcurrency override public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
98
|
-
@objc @_Concurrency.MainActor @preconcurrency override public func showKeyboard()
|
|
99
|
-
@objc deinit
|
|
100
|
-
}
|
|
101
|
-
@objc @objcMembers public class BankAccountResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
102
|
-
@objc public init(message: Swift.String, data: PayEngineSDK.PEBankAccount) throws
|
|
60
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class ThreeDSResult : ObjectiveC.NSObject, Swift.Codable {
|
|
61
|
+
@objc final public let message: Swift.String?
|
|
62
|
+
@objc final public let success: Swift.Bool
|
|
63
|
+
@objc final public let transactionId: Swift.String?
|
|
103
64
|
@objc deinit
|
|
104
65
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
105
66
|
required public init(from decoder: any Swift.Decoder) throws
|
|
106
67
|
}
|
|
107
|
-
@objc @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
108
|
-
@objc public
|
|
109
|
-
@objc public
|
|
110
|
-
@objc public
|
|
111
|
-
@objc public
|
|
112
|
-
@objc public init(routingNumber: Swift.String, last4: Swift.String, firstName: Swift.String, lastName: Swift.String) throws
|
|
68
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class BankAccountData : ObjectiveC.NSObject, Swift.Codable {
|
|
69
|
+
@objc final public let routingNumber: Swift.String
|
|
70
|
+
@objc final public let last4: Swift.String
|
|
71
|
+
@objc final public let firstName: Swift.String
|
|
72
|
+
@objc final public let lastName: Swift.String
|
|
113
73
|
@objc deinit
|
|
114
74
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
115
75
|
required public init(from decoder: any Swift.Decoder) throws
|
|
116
76
|
}
|
|
117
|
-
@objc @objcMembers public class
|
|
118
|
-
@objc public
|
|
77
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
78
|
+
@objc final public let token: Swift.String
|
|
79
|
+
@objc final public let bankAccountData: PayEngineSDK.BankAccountData
|
|
119
80
|
@objc deinit
|
|
120
81
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
121
82
|
required public init(from decoder: any Swift.Decoder) throws
|
|
122
83
|
}
|
|
123
|
-
@objc @objcMembers public class PEBankAccount : ObjectiveC.NSObject, Swift.Codable {
|
|
124
|
-
@objc public var token: Swift.String
|
|
125
|
-
@objc public var bankAccountData: PayEngineSDK.BankAccountData
|
|
126
|
-
@objc public init(token: Swift.String, bankAccountData: PayEngineSDK.BankAccountData) throws
|
|
127
|
-
@objc deinit
|
|
128
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
129
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
130
|
-
}
|
|
131
|
-
public struct KountSettingResponseData : Swift.Codable {
|
|
132
|
-
public init(enable_kount_integration: Swift.Bool, kount_client_id: Swift.String?, session_ID: Swift.String?) throws
|
|
133
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
134
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
135
|
-
}
|
|
136
84
|
@objc @objcMembers public class PEField : ObjectiveC.NSObject {
|
|
137
|
-
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PayEngineSDK.PEKeyboardType = .normal, pattern: Swift.String?)
|
|
138
|
-
@objc deinit
|
|
139
|
-
}
|
|
140
|
-
@objc @objcMembers public class CardResponse : ObjectiveC.NSObject, Swift.Codable {
|
|
141
|
-
@objc public init(message: Swift.String, data: PayEngineSDK.PECard) throws
|
|
142
|
-
@objc deinit
|
|
143
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
144
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
145
|
-
}
|
|
146
|
-
@objc @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
147
|
-
@objc public var id: Swift.String
|
|
148
|
-
@objc public var brand: Swift.String
|
|
149
|
-
@objc public var last4: Swift.String
|
|
150
|
-
@objc public var expMonth: Swift.Int
|
|
151
|
-
@objc public var expYear: Swift.Int
|
|
152
85
|
@objc public var name: Swift.String
|
|
153
|
-
@objc public var
|
|
154
|
-
@objc public
|
|
86
|
+
@objc public var type: Swift.String
|
|
87
|
+
@objc public var placeholder: Swift.String
|
|
88
|
+
@objc public var isRequired: Swift.Bool
|
|
89
|
+
public var keyboardType: PayEngineSDK.PEKeyboardType
|
|
90
|
+
@objc public var pattern: Swift.String?
|
|
91
|
+
public init(name: Swift.String, type: Swift.String, placeholder: Swift.String, isRequired: Swift.Bool, keyboardType: PayEngineSDK.PEKeyboardType = .normal, pattern: Swift.String?)
|
|
155
92
|
@objc deinit
|
|
156
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
157
|
-
required public init(from decoder: any Swift.Decoder) throws
|
|
158
93
|
}
|
|
159
|
-
@objc @objcMembers public class
|
|
160
|
-
@objc public
|
|
94
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class CardData : ObjectiveC.NSObject, Swift.Codable {
|
|
95
|
+
@objc final public let id: Swift.String
|
|
96
|
+
@objc final public let brand: Swift.String
|
|
97
|
+
@objc final public let last4: Swift.String
|
|
98
|
+
@objc final public let expMonth: Swift.Int
|
|
99
|
+
@objc final public let expYear: Swift.Int
|
|
100
|
+
@objc final public let name: Swift.String
|
|
101
|
+
@objc final public let addressZip: Swift.String?
|
|
161
102
|
@objc deinit
|
|
162
103
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
163
104
|
required public init(from decoder: any Swift.Decoder) throws
|
|
164
105
|
}
|
|
165
|
-
@objc @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
166
|
-
@objc public
|
|
167
|
-
@objc public
|
|
168
|
-
@objc public init(token: Swift.String, cardData: PayEngineSDK.CardData) throws
|
|
106
|
+
@objc @_hasMissingDesignatedInitializers @objcMembers public class PECard : ObjectiveC.NSObject, Swift.Codable {
|
|
107
|
+
@objc final public let token: Swift.String
|
|
108
|
+
@objc final public let cardData: PayEngineSDK.CardData
|
|
169
109
|
@objc deinit
|
|
170
110
|
public func encode(to encoder: any Swift.Encoder) throws
|
|
171
111
|
required public init(from decoder: any Swift.Decoder) throws
|
|
172
112
|
}
|
|
173
|
-
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor @preconcurrency public class PEBankAccountView : PayEngineSDK.IBankAccountView {
|
|
174
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func didMoveToSuperview()
|
|
175
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func layoutSubviews()
|
|
176
|
-
@_Concurrency.MainActor @preconcurrency override public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
177
|
-
@_Concurrency.MainActor @preconcurrency override public func validate() -> Swift.Bool
|
|
178
|
-
@_Concurrency.MainActor @preconcurrency override public func createBankAccount(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PEBankAccount, any Swift.Error>) -> Swift.Void)
|
|
179
|
-
@_Concurrency.MainActor @preconcurrency override public func showKeyboard()
|
|
180
|
-
@objc deinit
|
|
181
|
-
}
|
|
182
113
|
@objc public enum ApplePayStatus : Swift.Int {
|
|
183
114
|
case eligible
|
|
184
115
|
case needSetup
|
|
@@ -190,10 +121,6 @@ public struct KountSettingResponseData : Swift.Codable {
|
|
|
190
121
|
get
|
|
191
122
|
}
|
|
192
123
|
}
|
|
193
|
-
public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
194
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
195
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
196
|
-
}
|
|
197
124
|
@_inheritsConvenienceInitializers @objc public class ApplePayPaymentRequest : ObjectiveC.NSObject {
|
|
198
125
|
@objc public func build(paymentItems: [PassKit.PKPaymentSummaryItem] = [], paymentAmount: Swift.Double, currencyCode: Swift.String = "USD", requiredBillingContactFields: Swift.Set<PassKit.PKContactField> = [], requiredShippingContactFields: Swift.Set<PassKit.PKContactField> = [], shippingMethods: [PassKit.PKShippingMethod] = [])
|
|
199
126
|
@objc override dynamic public init()
|
|
@@ -208,19 +135,9 @@ public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
|
208
135
|
get
|
|
209
136
|
}
|
|
210
137
|
}
|
|
211
|
-
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency open class FraudAnalyticsViewController : PayEngineSDK.KountAnalyticsViewController {
|
|
212
|
-
@_Concurrency.MainActor @preconcurrency @objc override dynamic public init(nibName nibNameOrNil: Swift.String?, bundle nibBundleOrNil: Foundation.Bundle?)
|
|
213
|
-
@_Concurrency.MainActor @preconcurrency @objc required dynamic public init?(coder: Foundation.NSCoder)
|
|
214
|
-
@objc deinit
|
|
215
|
-
}
|
|
216
|
-
@_hasMissingDesignatedInitializers @objcMembers public class WebViewHelper {
|
|
217
|
-
@objc public static func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
218
|
-
@objc deinit
|
|
219
|
-
}
|
|
220
138
|
@objc public class PayEngine : ObjectiveC.NSObject {
|
|
221
139
|
@objc public init(config: PayEngineSDK.PEConfig)
|
|
222
140
|
@objc public static func setThemeMode(_ themMode: PayEngineSDK.PEThemeMode)
|
|
223
|
-
@objc public func createComponent(name: Swift.String, props: [Swift.String : Swift.String]) -> PayEngineSDK.PEComponent
|
|
224
141
|
@objc public func createSecureView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.ICardNumberView) -> Swift.Void)
|
|
225
142
|
@objc public func createBankAccountView(additionalFields: [PayEngineSDK.PEField]?, completion: @escaping (PayEngineSDK.IBankAccountView) -> Swift.Void)
|
|
226
143
|
@objc public func getBrowserInfo(view: UIKit.UIView, handler: @escaping (_ data: Swift.String) -> Swift.Void)
|
|
@@ -234,10 +151,9 @@ public struct ApplePayConfigDataResponse : Swift.Codable {
|
|
|
234
151
|
public class func getCurrentVersionString() -> Swift.String?
|
|
235
152
|
@objc deinit
|
|
236
153
|
}
|
|
237
|
-
|
|
238
|
-
public
|
|
239
|
-
public func
|
|
240
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
154
|
+
extension PayEngineSDK.PayEngine {
|
|
155
|
+
public static func setFetchAccessTokenCallback(_ callback: @escaping (() throws -> any PayEngineSDK.PEAccessTokenRepresentable))
|
|
156
|
+
public static func logout(merchantId: Swift.String)
|
|
241
157
|
}
|
|
242
158
|
public enum PEKeyboardType {
|
|
243
159
|
case number
|
|
@@ -275,7 +191,6 @@ public enum PEKeyboardType {
|
|
|
275
191
|
case Visa
|
|
276
192
|
case VPay
|
|
277
193
|
public init?(rawValue: Swift.String)
|
|
278
|
-
public init?(applePayNetwork: PassKit.PKPaymentNetwork)
|
|
279
194
|
public typealias RawValue = Swift.String
|
|
280
195
|
public var rawValue: PayEngineSDK.ApplePayPaymentNetwork.RawValue {
|
|
281
196
|
get
|
|
@@ -299,16 +214,7 @@ extension UIKit.UIView {
|
|
|
299
214
|
extension UIKit.UIView {
|
|
300
215
|
@_Concurrency.MainActor @preconcurrency public func pinEdgesTo(to other: UIKit.UIView)
|
|
301
216
|
}
|
|
302
|
-
public struct MobilePaymentDataResponse : Swift.Codable {
|
|
303
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
304
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
305
|
-
}
|
|
306
|
-
public struct MobilePaymentDataApplePayResponse : Swift.Codable {
|
|
307
|
-
public func encode(to encoder: any Swift.Encoder) throws
|
|
308
|
-
public init(from decoder: any Swift.Decoder) throws
|
|
309
|
-
}
|
|
310
217
|
@_inheritsConvenienceInitializers @objc @_Concurrency.MainActor @preconcurrency public class ICardNumberView : UIKit.UIStackView {
|
|
311
|
-
@_Concurrency.MainActor @preconcurrency public func setup(vaultId: Swift.String, env: Swift.String, hostname: Swift.String, publicKey: Swift.String, additionalFields: [PayEngineSDK.PEField])
|
|
312
218
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
313
219
|
@_Concurrency.MainActor @preconcurrency public func createCard(merchantId: Swift.String?, additionalData: [Swift.String : Any], completion: @escaping (Swift.Result<PayEngineSDK.PECard, any Swift.Error>) -> Swift.Void)
|
|
314
220
|
@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)
|
package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -20,7 +20,7 @@ open class RNPEEventEmitter:RCTEventEmitter{
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
open override func supportedEvents() -> [String] {
|
|
23
|
-
|
|
23
|
+
["onReady", "onSizeChanges", "onCardRespond", "onBankAccountRespond", "onUpdatePaymentSheetResult", RNPEEvents.EVENT_FETCH_ACCESS_TOKEN]
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@objc public override static func requiresMainQueueSetup() -> Bool {
|