@pixelpay/capacitor-plugin 2.0.2 → 2.0.3

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.
Files changed (78) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +16 -170
  3. package/android/build.gradle +1 -1
  4. package/ios/Frameworks/PixelPaySDK.podspec +3 -2
  5. package/ios/Frameworks/PixelPaySDK.xcframework/Info.plist +4 -2
  6. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  7. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
  8. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  9. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
  10. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  11. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
  12. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
  13. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  14. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
  15. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
  16. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
  17. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
  18. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  19. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  20. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  21. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  22. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  23. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  24. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  25. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  26. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -0
  27. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -0
  28. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_armv7}/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +5 -1
  29. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Headers/sdk.h +0 -0
  30. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Info.plist +0 -0
  31. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  32. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftinterface +13 -1
  33. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/armv7-apple-ios.swiftdoc +0 -0
  34. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/armv7-apple-ios.swiftinterface +2528 -0
  35. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/Modules/module.modulemap +0 -0
  36. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_armv7/PixelPaySDK.framework/PixelPaySDK +0 -0
  37. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64 → ios-arm64_armv7}/PixelPaySDK.framework/_CodeSignature/CodeResources +168 -11
  38. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  39. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
  40. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  41. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
  42. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  43. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
  44. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
  45. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  46. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
  47. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
  48. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
  49. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
  50. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  51. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  52. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  53. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  54. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  55. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  56. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  57. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  58. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -0
  59. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -0
  60. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +917 -0
  61. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Headers/sdk.h +0 -0
  62. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Info.plist +0 -0
  63. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  64. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +13 -1
  65. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/i386-apple-ios-simulator.swiftdoc +0 -0
  66. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/i386-apple-ios-simulator.swiftinterface +2528 -0
  67. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  68. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +13 -1
  69. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/Modules/module.modulemap +0 -0
  70. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_i386_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
  71. package/ios/Frameworks/PixelPaySDK.xcframework/{ios-arm64_x86_64-simulator → ios-arm64_i386_x86_64-simulator}/PixelPaySDK.framework/_CodeSignature/CodeResources +184 -15
  72. package/ios/Frameworks/README.md +1 -1
  73. package/package.json +2 -2
  74. package/dist/docs.json +0 -175
  75. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +0 -301
  76. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Info.plist +0 -0
  77. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/PixelPaySDK +0 -0
  78. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
@@ -0,0 +1,2528 @@
1
+ // swift-interface-format-version: 1.0
2
+ // swift-compiler-version: Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)
3
+ // swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PixelPaySDK
4
+ import CardinalMobile
5
+ import CommonCrypto
6
+ import Dispatch
7
+ import Foundation
8
+ import MobileCoreServices
9
+ import Swift
10
+ import SwiftUI
11
+ import SystemConfiguration
12
+ import UIKit
13
+ import WebKit
14
+ import _Concurrency
15
+ public enum IllegalStateException : Swift.Error {
16
+ case illegalState(Swift.String)
17
+ }
18
+ @_hasMissingDesignatedInitializers public class Request {
19
+ public enum State {
20
+ case initialized
21
+ case resumed
22
+ case suspended
23
+ case cancelled
24
+ case finished
25
+ public static func == (a: PixelPaySDK.Request.State, b: PixelPaySDK.Request.State) -> Swift.Bool
26
+ public func hash(into hasher: inout Swift.Hasher)
27
+ public var hashValue: Swift.Int {
28
+ get
29
+ }
30
+ }
31
+ final public let id: Foundation.UUID
32
+ final public let underlyingQueue: Dispatch.DispatchQueue
33
+ final public let serializationQueue: Dispatch.DispatchQueue
34
+ final public let eventMonitor: PixelPaySDK.EventMonitor?
35
+ final public let interceptor: PixelPaySDK.RequestInterceptor?
36
+ weak public var delegate: PixelPaySDK.RequestDelegate? {
37
+ get
38
+ }
39
+ public var state: PixelPaySDK.Request.State {
40
+ get
41
+ }
42
+ public var isInitialized: Swift.Bool {
43
+ get
44
+ }
45
+ public var isResumed: Swift.Bool {
46
+ get
47
+ }
48
+ public var isSuspended: Swift.Bool {
49
+ get
50
+ }
51
+ public var isCancelled: Swift.Bool {
52
+ get
53
+ }
54
+ public var isFinished: Swift.Bool {
55
+ get
56
+ }
57
+ public typealias ProgressHandler = (Foundation.Progress) -> Swift.Void
58
+ final public let uploadProgress: Foundation.Progress
59
+ final public let downloadProgress: Foundation.Progress
60
+ public var redirectHandler: PixelPaySDK.RedirectHandler? {
61
+ get
62
+ }
63
+ public var cachedResponseHandler: PixelPaySDK.CachedResponseHandler? {
64
+ get
65
+ }
66
+ public var credential: Foundation.URLCredential? {
67
+ get
68
+ }
69
+ public var requests: [Foundation.URLRequest] {
70
+ get
71
+ }
72
+ public var firstRequest: Foundation.URLRequest? {
73
+ get
74
+ }
75
+ public var lastRequest: Foundation.URLRequest? {
76
+ get
77
+ }
78
+ public var request: Foundation.URLRequest? {
79
+ get
80
+ }
81
+ public var performedRequests: [Foundation.URLRequest] {
82
+ get
83
+ }
84
+ public var response: Foundation.HTTPURLResponse? {
85
+ get
86
+ }
87
+ public var tasks: [Foundation.URLSessionTask] {
88
+ get
89
+ }
90
+ public var firstTask: Foundation.URLSessionTask? {
91
+ get
92
+ }
93
+ public var lastTask: Foundation.URLSessionTask? {
94
+ get
95
+ }
96
+ public var task: Foundation.URLSessionTask? {
97
+ get
98
+ }
99
+ public var allMetrics: [Foundation.URLSessionTaskMetrics] {
100
+ get
101
+ }
102
+ public var firstMetrics: Foundation.URLSessionTaskMetrics? {
103
+ get
104
+ }
105
+ public var lastMetrics: Foundation.URLSessionTaskMetrics? {
106
+ get
107
+ }
108
+ public var metrics: Foundation.URLSessionTaskMetrics? {
109
+ get
110
+ }
111
+ public var retryCount: Swift.Int {
112
+ get
113
+ }
114
+ public var error: PixelPaySDK.AFError? {
115
+ get
116
+ }
117
+ @discardableResult
118
+ public func cancel() -> Self
119
+ @discardableResult
120
+ public func suspend() -> Self
121
+ @discardableResult
122
+ public func resume() -> Self
123
+ @discardableResult
124
+ public func authenticate(username: Swift.String, password: Swift.String, persistence: Foundation.URLCredential.Persistence = .forSession) -> Self
125
+ @discardableResult
126
+ public func authenticate(with credential: Foundation.URLCredential) -> Self
127
+ @discardableResult
128
+ public func downloadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
129
+ @discardableResult
130
+ public func uploadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
131
+ @discardableResult
132
+ public func redirect(using handler: PixelPaySDK.RedirectHandler) -> Self
133
+ @discardableResult
134
+ public func cacheResponse(using handler: PixelPaySDK.CachedResponseHandler) -> Self
135
+ @discardableResult
136
+ public func cURLDescription(on queue: Dispatch.DispatchQueue, calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
137
+ @discardableResult
138
+ public func cURLDescription(calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
139
+ @discardableResult
140
+ public func onURLRequestCreation(on queue: Dispatch.DispatchQueue = .main, perform handler: @escaping (Foundation.URLRequest) -> Swift.Void) -> Self
141
+ @discardableResult
142
+ public func onURLSessionTaskCreation(on queue: Dispatch.DispatchQueue = .main, perform handler: @escaping (Foundation.URLSessionTask) -> Swift.Void) -> Self
143
+ @objc deinit
144
+ }
145
+ extension PixelPaySDK.Request : Swift.Equatable {
146
+ public static func == (lhs: PixelPaySDK.Request, rhs: PixelPaySDK.Request) -> Swift.Bool
147
+ }
148
+ extension PixelPaySDK.Request : Swift.Hashable {
149
+ public func hash(into hasher: inout Swift.Hasher)
150
+ public var hashValue: Swift.Int {
151
+ get
152
+ }
153
+ }
154
+ extension PixelPaySDK.Request : Swift.CustomStringConvertible {
155
+ public var description: Swift.String {
156
+ get
157
+ }
158
+ }
159
+ extension PixelPaySDK.Request {
160
+ public func cURLDescription() -> Swift.String
161
+ }
162
+ public protocol RequestDelegate : AnyObject {
163
+ var sessionConfiguration: Foundation.URLSessionConfiguration { get }
164
+ var startImmediately: Swift.Bool { get }
165
+ func cleanup(after request: PixelPaySDK.Request)
166
+ func retryResult(for request: PixelPaySDK.Request, dueTo error: PixelPaySDK.AFError, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
167
+ func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
168
+ }
169
+ @_hasMissingDesignatedInitializers public class DataRequest : PixelPaySDK.Request {
170
+ final public let convertible: PixelPaySDK.URLRequestConvertible
171
+ public var data: Foundation.Data? {
172
+ get
173
+ }
174
+ @discardableResult
175
+ public func validate(_ validation: @escaping PixelPaySDK.DataRequest.Validation) -> Self
176
+ @objc deinit
177
+ }
178
+ @_hasMissingDesignatedInitializers final public class DataStreamRequest : PixelPaySDK.Request {
179
+ public typealias Handler<Success, Failure> = (PixelPaySDK.DataStreamRequest.Stream<Success, Failure>) throws -> Swift.Void where Failure : Swift.Error
180
+ public struct Stream<Success, Failure> where Failure : Swift.Error {
181
+ public let event: PixelPaySDK.DataStreamRequest.Event<Success, Failure>
182
+ public let token: PixelPaySDK.DataStreamRequest.CancellationToken
183
+ public func cancel()
184
+ }
185
+ public enum Event<Success, Failure> where Failure : Swift.Error {
186
+ case stream(Swift.Result<Success, Failure>)
187
+ case complete(PixelPaySDK.DataStreamRequest.Completion)
188
+ }
189
+ public struct Completion {
190
+ public let request: Foundation.URLRequest?
191
+ public let response: Foundation.HTTPURLResponse?
192
+ public let metrics: Foundation.URLSessionTaskMetrics?
193
+ public let error: PixelPaySDK.AFError?
194
+ }
195
+ public struct CancellationToken {
196
+ public func cancel()
197
+ }
198
+ final public let convertible: PixelPaySDK.URLRequestConvertible
199
+ final public let automaticallyCancelOnStreamError: Swift.Bool
200
+ @discardableResult
201
+ final public func validate(_ validation: @escaping PixelPaySDK.DataStreamRequest.Validation) -> Self
202
+ final public func asInputStream(bufferSize: Swift.Int = 1024) -> Foundation.InputStream?
203
+ @objc deinit
204
+ }
205
+ extension PixelPaySDK.DataStreamRequest.Stream {
206
+ public var result: Swift.Result<Success, Failure>? {
207
+ get
208
+ }
209
+ public var value: Success? {
210
+ get
211
+ }
212
+ public var error: Failure? {
213
+ get
214
+ }
215
+ public var completion: PixelPaySDK.DataStreamRequest.Completion? {
216
+ get
217
+ }
218
+ }
219
+ @_hasMissingDesignatedInitializers public class DownloadRequest : PixelPaySDK.Request {
220
+ public struct Options : Swift.OptionSet {
221
+ public static let createIntermediateDirectories: PixelPaySDK.DownloadRequest.Options
222
+ public static let removePreviousFile: PixelPaySDK.DownloadRequest.Options
223
+ public let rawValue: Swift.Int
224
+ public init(rawValue: Swift.Int)
225
+ public typealias ArrayLiteralElement = PixelPaySDK.DownloadRequest.Options
226
+ public typealias Element = PixelPaySDK.DownloadRequest.Options
227
+ public typealias RawValue = Swift.Int
228
+ }
229
+ public typealias Destination = (_ temporaryURL: Foundation.URL, _ response: Foundation.HTTPURLResponse) -> (destinationURL: Foundation.URL, options: PixelPaySDK.DownloadRequest.Options)
230
+ public class func suggestedDownloadDestination(for directory: Foundation.FileManager.SearchPathDirectory = .documentDirectory, in domain: Foundation.FileManager.SearchPathDomainMask = .userDomainMask, options: PixelPaySDK.DownloadRequest.Options = []) -> PixelPaySDK.DownloadRequest.Destination
231
+ public enum Downloadable {
232
+ case request(PixelPaySDK.URLRequestConvertible)
233
+ case resumeData(Foundation.Data)
234
+ }
235
+ public var resumeData: Foundation.Data? {
236
+ get
237
+ }
238
+ public var fileURL: Foundation.URL? {
239
+ get
240
+ }
241
+ final public let downloadable: PixelPaySDK.DownloadRequest.Downloadable
242
+ public func task(forResumeData data: Foundation.Data, using session: Foundation.URLSession) -> Foundation.URLSessionTask
243
+ @discardableResult
244
+ override public func cancel() -> Self
245
+ @discardableResult
246
+ public func cancel(producingResumeData shouldProduceResumeData: Swift.Bool) -> Self
247
+ @discardableResult
248
+ public func cancel(byProducingResumeData completionHandler: @escaping (_ data: Foundation.Data?) -> Swift.Void) -> Self
249
+ @discardableResult
250
+ public func validate(_ validation: @escaping PixelPaySDK.DownloadRequest.Validation) -> Self
251
+ @objc deinit
252
+ }
253
+ @_hasMissingDesignatedInitializers public class UploadRequest : PixelPaySDK.DataRequest {
254
+ public enum Uploadable {
255
+ case data(Foundation.Data)
256
+ case file(Foundation.URL, shouldRemove: Swift.Bool)
257
+ case stream(Foundation.InputStream)
258
+ }
259
+ final public let upload: PixelPaySDK.UploadableConvertible
260
+ final public let fileManager: Foundation.FileManager
261
+ public var uploadable: PixelPaySDK.UploadRequest.Uploadable?
262
+ public func cleanup()
263
+ @objc deinit
264
+ }
265
+ public protocol UploadableConvertible {
266
+ func createUploadable() throws -> PixelPaySDK.UploadRequest.Uploadable
267
+ }
268
+ extension PixelPaySDK.UploadRequest.Uploadable : PixelPaySDK.UploadableConvertible {
269
+ public func createUploadable() throws -> PixelPaySDK.UploadRequest.Uploadable
270
+ }
271
+ public protocol UploadConvertible : PixelPaySDK.URLRequestConvertible, PixelPaySDK.UploadableConvertible {
272
+ }
273
+ public class Environment {
274
+ public static let LIVE: Swift.String
275
+ public static let TEST: Swift.String
276
+ public static let SANDBOX: Swift.String
277
+ public static let STAGING: Swift.String
278
+ public init() throws
279
+ @objc deinit
280
+ }
281
+ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashable {
282
+ public static let connect: PixelPaySDK.HTTPMethod
283
+ public static let delete: PixelPaySDK.HTTPMethod
284
+ public static let get: PixelPaySDK.HTTPMethod
285
+ public static let head: PixelPaySDK.HTTPMethod
286
+ public static let options: PixelPaySDK.HTTPMethod
287
+ public static let patch: PixelPaySDK.HTTPMethod
288
+ public static let post: PixelPaySDK.HTTPMethod
289
+ public static let put: PixelPaySDK.HTTPMethod
290
+ public static let trace: PixelPaySDK.HTTPMethod
291
+ public let rawValue: Swift.String
292
+ public init(rawValue: Swift.String)
293
+ public typealias RawValue = Swift.String
294
+ }
295
+ @_inheritsConvenienceInitializers public class AuthTransaction : PixelPaySDK.PaymentTransaction {
296
+ override public init()
297
+ required public init(from: Swift.Decoder) throws
298
+ @objc deinit
299
+ }
300
+ @_inheritsConvenienceInitializers public class VoidTransaction : PixelPaySDK.RequestBehaviour {
301
+ public var payment_uuid: Swift.String?
302
+ public var void_reason: Swift.String?
303
+ override public init()
304
+ required public init(from: Swift.Decoder) throws
305
+ override public func encode(to encoder: Swift.Encoder) throws
306
+ @objc deinit
307
+ }
308
+ @_inheritsConvenienceInitializers public class SuccessResponse : PixelPaySDK.Response {
309
+ override public init()
310
+ required public init(from decoder: Swift.Decoder) throws
311
+ @objc deinit
312
+ }
313
+ @_hasMissingDesignatedInitializers public class CardResult : Swift.Codable {
314
+ public var status: Swift.String?
315
+ public var mask: Swift.String?
316
+ public var network: Swift.String?
317
+ public var type: Swift.String?
318
+ public var bin: Swift.String?
319
+ public var last: Swift.String?
320
+ public var hash: Swift.String?
321
+ public var address: Swift.String?
322
+ public var country: Swift.String?
323
+ public var state: Swift.String?
324
+ public var city: Swift.String?
325
+ public var zip: Swift.String?
326
+ public var email: Swift.String?
327
+ public var phone: Swift.String?
328
+ public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
329
+ public static func fromResponse(response: PixelPaySDK.SuccessResponse) -> PixelPaySDK.CardResult
330
+ @objc deinit
331
+ public func encode(to encoder: Swift.Encoder) throws
332
+ required public init(from decoder: Swift.Decoder) throws
333
+ }
334
+ @_inheritsConvenienceInitializers public class StatusTransaction : PixelPaySDK.RequestBehaviour {
335
+ public var payment_uuid: Swift.String?
336
+ override public init()
337
+ required public init(from: Swift.Decoder) throws
338
+ override public func encode(to encoder: Swift.Encoder) throws
339
+ @objc deinit
340
+ }
341
+ @_inheritsConvenienceInitializers public class PreconditionalResponse : PixelPaySDK.Response {
342
+ override public init()
343
+ required public init(from decoder: Swift.Decoder) throws
344
+ @objc deinit
345
+ }
346
+ @_inheritsConvenienceInitializers public class CaptureTransaction : PixelPaySDK.RequestBehaviour {
347
+ public var payment_uuid: Swift.String?
348
+ public var transaction_approved_amount: Swift.String?
349
+ override public init()
350
+ required public init(from: Swift.Decoder) throws
351
+ override public func encode(to encoder: Swift.Encoder) throws
352
+ @objc deinit
353
+ }
354
+ open class ServerTrustManager {
355
+ final public let allHostsMustBeEvaluated: Swift.Bool
356
+ final public let evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating]
357
+ public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating])
358
+ open func serverTrustEvaluator(forHost host: Swift.String) throws -> PixelPaySDK.ServerTrustEvaluating?
359
+ @objc deinit
360
+ }
361
+ public protocol ServerTrustEvaluating {
362
+ func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
363
+ }
364
+ final public class DefaultTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
365
+ public init(validateHost: Swift.Bool = true)
366
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
367
+ @objc deinit
368
+ }
369
+ final public class RevocationTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
370
+ public struct Options : Swift.OptionSet {
371
+ public static let crl: PixelPaySDK.RevocationTrustEvaluator.Options
372
+ public static let networkAccessDisabled: PixelPaySDK.RevocationTrustEvaluator.Options
373
+ public static let ocsp: PixelPaySDK.RevocationTrustEvaluator.Options
374
+ public static let preferCRL: PixelPaySDK.RevocationTrustEvaluator.Options
375
+ public static let requirePositiveResponse: PixelPaySDK.RevocationTrustEvaluator.Options
376
+ public static let any: PixelPaySDK.RevocationTrustEvaluator.Options
377
+ public let rawValue: CoreFoundation.CFOptionFlags
378
+ public init(rawValue: CoreFoundation.CFOptionFlags)
379
+ public typealias ArrayLiteralElement = PixelPaySDK.RevocationTrustEvaluator.Options
380
+ public typealias Element = PixelPaySDK.RevocationTrustEvaluator.Options
381
+ public typealias RawValue = CoreFoundation.CFOptionFlags
382
+ }
383
+ public init(performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true, options: PixelPaySDK.RevocationTrustEvaluator.Options = .any)
384
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
385
+ @objc deinit
386
+ }
387
+ final public class PinnedCertificatesTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
388
+ public init(certificates: [Security.SecCertificate] = Bundle.main.af.certificates, acceptSelfSignedCertificates: Swift.Bool = false, performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true)
389
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
390
+ @objc deinit
391
+ }
392
+ final public class PublicKeysTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
393
+ public init(keys: [Security.SecKey] = Bundle.main.af.publicKeys, performDefaultValidation: Swift.Bool = true, validateHost: Swift.Bool = true)
394
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
395
+ @objc deinit
396
+ }
397
+ final public class CompositeTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
398
+ public init(evaluators: [PixelPaySDK.ServerTrustEvaluating])
399
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
400
+ @objc deinit
401
+ }
402
+ @available(*, deprecated, renamed: "DisabledTrustEvaluator", message: "DisabledEvaluator has been renamed DisabledTrustEvaluator.")
403
+ public typealias DisabledEvaluator = PixelPaySDK.DisabledTrustEvaluator
404
+ final public class DisabledTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
405
+ public init()
406
+ final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
407
+ @objc deinit
408
+ }
409
+ extension Swift.Array where Element == PixelPaySDK.ServerTrustEvaluating {
410
+ public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
411
+ }
412
+ extension Foundation.Bundle : PixelPaySDK.AlamofireExtended {
413
+ public typealias ExtendedType = Foundation.Bundle
414
+ }
415
+ extension PixelPaySDK.AlamofireExtension where ExtendedType : Foundation.Bundle {
416
+ public var certificates: [Security.SecCertificate] {
417
+ get
418
+ }
419
+ public var publicKeys: [Security.SecKey] {
420
+ get
421
+ }
422
+ public func paths(forResourcesOfTypes types: [Swift.String]) -> [Swift.String]
423
+ }
424
+ extension Security.SecTrust : PixelPaySDK.AlamofireExtended {
425
+ public typealias ExtendedType = Security.SecTrust
426
+ }
427
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust {
428
+ @available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
429
+ public func evaluate(afterApplying policy: Security.SecPolicy) throws
430
+ @available(iOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
431
+ @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate(afterApplying:)")
432
+ @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
433
+ @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
434
+ public func validate(policy: Security.SecPolicy, errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
435
+ public func apply(policy: Security.SecPolicy) throws -> Security.SecTrust
436
+ @available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
437
+ public func evaluate() throws
438
+ @available(iOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
439
+ @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate()")
440
+ @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
441
+ @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
442
+ public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
443
+ public func setAnchorCertificates(_ certificates: [Security.SecCertificate]) throws
444
+ public var publicKeys: [Security.SecKey] {
445
+ get
446
+ }
447
+ public var certificates: [Security.SecCertificate] {
448
+ get
449
+ }
450
+ public var certificateData: [Foundation.Data] {
451
+ get
452
+ }
453
+ public func performDefaultValidation(forHost host: Swift.String) throws
454
+ public func performValidation(forHost host: Swift.String) throws
455
+ }
456
+ extension Security.SecPolicy : PixelPaySDK.AlamofireExtended {
457
+ public typealias ExtendedType = Security.SecPolicy
458
+ }
459
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecPolicy {
460
+ public static let `default`: Security.SecPolicy
461
+ public static func hostname(_ hostname: Swift.String) -> Security.SecPolicy
462
+ public static func revocation(options: PixelPaySDK.RevocationTrustEvaluator.Options) throws -> Security.SecPolicy
463
+ }
464
+ extension Swift.Array : PixelPaySDK.AlamofireExtended {
465
+ public typealias ExtendedType = Swift.Array<Element>
466
+ }
467
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == [Security.SecCertificate] {
468
+ public var data: [Foundation.Data] {
469
+ get
470
+ }
471
+ public var publicKeys: [Security.SecKey] {
472
+ get
473
+ }
474
+ }
475
+ extension Security.SecCertificate : PixelPaySDK.AlamofireExtended {
476
+ public typealias ExtendedType = Security.SecCertificate
477
+ }
478
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecCertificate {
479
+ public var publicKey: Security.SecKey? {
480
+ get
481
+ }
482
+ }
483
+ extension Swift.Int32 : PixelPaySDK.AlamofireExtended {
484
+ public typealias ExtendedType = Swift.Int32
485
+ }
486
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == Darwin.OSStatus {
487
+ public var isSuccess: Swift.Bool {
488
+ get
489
+ }
490
+ }
491
+ extension Security.SecTrustResultType : PixelPaySDK.AlamofireExtended {
492
+ public typealias ExtendedType = Security.SecTrustResultType
493
+ }
494
+ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrustResultType {
495
+ public var isSuccess: Swift.Bool {
496
+ get
497
+ }
498
+ }
499
+ @_inheritsConvenienceInitializers public class NotFoundResponse : PixelPaySDK.Response {
500
+ override public init()
501
+ required public init(from decoder: Swift.Decoder) throws
502
+ @objc deinit
503
+ }
504
+ public class Card {
505
+ public var number: Swift.String?
506
+ public var cvv2: Swift.String?
507
+ public var expire_month: Swift.Int?
508
+ public var expire_year: Swift.Int?
509
+ public var cardholder: Swift.String?
510
+ public init()
511
+ public func getExpireFormat() -> Swift.String
512
+ @objc deinit
513
+ }
514
+ final public class URLEncodedFormEncoder {
515
+ public enum ArrayEncoding {
516
+ case brackets
517
+ case noBrackets
518
+ public static func == (a: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding, b: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding) -> Swift.Bool
519
+ public func hash(into hasher: inout Swift.Hasher)
520
+ public var hashValue: Swift.Int {
521
+ get
522
+ }
523
+ }
524
+ public enum BoolEncoding {
525
+ case numeric
526
+ case literal
527
+ public static func == (a: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding, b: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding) -> Swift.Bool
528
+ public func hash(into hasher: inout Swift.Hasher)
529
+ public var hashValue: Swift.Int {
530
+ get
531
+ }
532
+ }
533
+ public enum DataEncoding {
534
+ case deferredToData
535
+ case base64
536
+ case custom((Foundation.Data) throws -> Swift.String)
537
+ }
538
+ public enum DateEncoding {
539
+ case deferredToDate
540
+ case secondsSince1970
541
+ case millisecondsSince1970
542
+ case iso8601
543
+ case formatted(Foundation.DateFormatter)
544
+ case custom((Foundation.Date) throws -> Swift.String)
545
+ }
546
+ public enum KeyEncoding {
547
+ case useDefaultKeys
548
+ case convertToSnakeCase
549
+ case convertToKebabCase
550
+ case capitalized
551
+ case uppercased
552
+ case lowercased
553
+ case custom((Swift.String) -> Swift.String)
554
+ }
555
+ public enum SpaceEncoding {
556
+ case percentEscaped
557
+ case plusReplaced
558
+ public static func == (a: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding, b: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding) -> Swift.Bool
559
+ public func hash(into hasher: inout Swift.Hasher)
560
+ public var hashValue: Swift.Int {
561
+ get
562
+ }
563
+ }
564
+ public enum Error : Swift.Error {
565
+ case invalidRootObject(Swift.String)
566
+ }
567
+ final public let alphabetizeKeyValuePairs: Swift.Bool
568
+ final public let arrayEncoding: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding
569
+ final public let boolEncoding: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding
570
+ final public let dataEncoding: PixelPaySDK.URLEncodedFormEncoder.DataEncoding
571
+ final public let dateEncoding: PixelPaySDK.URLEncodedFormEncoder.DateEncoding
572
+ final public let keyEncoding: PixelPaySDK.URLEncodedFormEncoder.KeyEncoding
573
+ final public let spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding
574
+ final public var allowedCharacters: Foundation.CharacterSet
575
+ public init(alphabetizeKeyValuePairs: Swift.Bool = true, arrayEncoding: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding = .numeric, dataEncoding: PixelPaySDK.URLEncodedFormEncoder.DataEncoding = .base64, dateEncoding: PixelPaySDK.URLEncodedFormEncoder.DateEncoding = .deferredToDate, keyEncoding: PixelPaySDK.URLEncodedFormEncoder.KeyEncoding = .useDefaultKeys, spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding = .percentEscaped, allowedCharacters: Foundation.CharacterSet = .afURLQueryAllowed)
576
+ final public func encode(_ value: Swift.Encodable) throws -> Swift.String
577
+ final public func encode(_ value: Swift.Encodable) throws -> Foundation.Data
578
+ @objc deinit
579
+ }
580
+ extension Foundation.CharacterSet {
581
+ public static let afURLQueryAllowed: Foundation.CharacterSet
582
+ }
583
+ extension PixelPaySDK.Request {
584
+ public typealias ValidationResult = Swift.Result<Swift.Void, Swift.Error>
585
+ }
586
+ extension PixelPaySDK.DataRequest {
587
+ public typealias Validation = (Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?) -> PixelPaySDK.DataRequest.ValidationResult
588
+ @discardableResult
589
+ public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
590
+ @discardableResult
591
+ public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
592
+ @discardableResult
593
+ public func validate() -> Self
594
+ }
595
+ extension PixelPaySDK.DataStreamRequest {
596
+ public typealias Validation = (_ request: Foundation.URLRequest?, _ response: Foundation.HTTPURLResponse) -> PixelPaySDK.DataStreamRequest.ValidationResult
597
+ @discardableResult
598
+ final public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
599
+ @discardableResult
600
+ final public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
601
+ @discardableResult
602
+ final public func validate() -> Self
603
+ }
604
+ extension PixelPaySDK.DownloadRequest {
605
+ public typealias Validation = (_ request: Foundation.URLRequest?, _ response: Foundation.HTTPURLResponse, _ fileURL: Foundation.URL?) -> PixelPaySDK.DownloadRequest.ValidationResult
606
+ @discardableResult
607
+ public func validate<S>(statusCode acceptableStatusCodes: S) -> Self where S : Swift.Sequence, S.Element == Swift.Int
608
+ @discardableResult
609
+ public func validate<S>(contentType acceptableContentTypes: @autoclosure @escaping () -> S) -> Self where S : Swift.Sequence, S.Element == Swift.String
610
+ @discardableResult
611
+ public func validate() -> Self
612
+ }
613
+ public class Locations {
614
+ public init() throws
615
+ public static func countriesList() -> [Swift.String : Swift.String]
616
+ public static func statesList(country_code: Swift.String) -> [Swift.String : Swift.String]
617
+ @objc deinit
618
+ }
619
+ public struct HTTPHeaders {
620
+ public init()
621
+ public init(_ headers: [PixelPaySDK.HTTPHeader])
622
+ public init(_ dictionary: [Swift.String : Swift.String])
623
+ public mutating func add(name: Swift.String, value: Swift.String)
624
+ public mutating func add(_ header: PixelPaySDK.HTTPHeader)
625
+ public mutating func update(name: Swift.String, value: Swift.String)
626
+ public mutating func update(_ header: PixelPaySDK.HTTPHeader)
627
+ public mutating func remove(name: Swift.String)
628
+ public mutating func sort()
629
+ public func sorted() -> PixelPaySDK.HTTPHeaders
630
+ public func value(for name: Swift.String) -> Swift.String?
631
+ public subscript(name: Swift.String) -> Swift.String? {
632
+ get
633
+ set
634
+ }
635
+ public var dictionary: [Swift.String : Swift.String] {
636
+ get
637
+ }
638
+ }
639
+ extension PixelPaySDK.HTTPHeaders : Swift.ExpressibleByDictionaryLiteral {
640
+ public init(dictionaryLiteral elements: (Swift.String, Swift.String)...)
641
+ public typealias Key = Swift.String
642
+ public typealias Value = Swift.String
643
+ }
644
+ extension PixelPaySDK.HTTPHeaders : Swift.ExpressibleByArrayLiteral {
645
+ public init(arrayLiteral elements: PixelPaySDK.HTTPHeader...)
646
+ public typealias ArrayLiteralElement = PixelPaySDK.HTTPHeader
647
+ }
648
+ extension PixelPaySDK.HTTPHeaders : Swift.Sequence {
649
+ public func makeIterator() -> Swift.IndexingIterator<[PixelPaySDK.HTTPHeader]>
650
+ }
651
+ extension PixelPaySDK.HTTPHeaders : Swift.Collection {
652
+ public var startIndex: Swift.Int {
653
+ get
654
+ }
655
+ public var endIndex: Swift.Int {
656
+ get
657
+ }
658
+ public subscript(position: Swift.Int) -> PixelPaySDK.HTTPHeader {
659
+ get
660
+ }
661
+ public func index(after i: Swift.Int) -> Swift.Int
662
+ public typealias Element = PixelPaySDK.HTTPHeader
663
+ public typealias Index = Swift.Int
664
+ public typealias Indices = Swift.DefaultIndices<PixelPaySDK.HTTPHeaders>
665
+ public typealias Iterator = Swift.IndexingIterator<[PixelPaySDK.HTTPHeader]>
666
+ public typealias SubSequence = Swift.Slice<PixelPaySDK.HTTPHeaders>
667
+ }
668
+ extension PixelPaySDK.HTTPHeaders : Swift.CustomStringConvertible {
669
+ public var description: Swift.String {
670
+ get
671
+ }
672
+ }
673
+ public struct HTTPHeader : Swift.Hashable {
674
+ public let name: Swift.String
675
+ public let value: Swift.String
676
+ public init(name: Swift.String, value: Swift.String)
677
+ public func hash(into hasher: inout Swift.Hasher)
678
+ public static func == (a: PixelPaySDK.HTTPHeader, b: PixelPaySDK.HTTPHeader) -> Swift.Bool
679
+ public var hashValue: Swift.Int {
680
+ get
681
+ }
682
+ }
683
+ extension PixelPaySDK.HTTPHeader : Swift.CustomStringConvertible {
684
+ public var description: Swift.String {
685
+ get
686
+ }
687
+ }
688
+ extension PixelPaySDK.HTTPHeader {
689
+ public static func accept(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
690
+ public static func acceptCharset(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
691
+ public static func acceptLanguage(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
692
+ public static func acceptEncoding(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
693
+ public static func authorization(username: Swift.String, password: Swift.String) -> PixelPaySDK.HTTPHeader
694
+ public static func authorization(bearerToken: Swift.String) -> PixelPaySDK.HTTPHeader
695
+ public static func authorization(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
696
+ public static func contentDisposition(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
697
+ public static func contentType(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
698
+ public static func userAgent(_ value: Swift.String) -> PixelPaySDK.HTTPHeader
699
+ }
700
+ extension PixelPaySDK.HTTPHeaders {
701
+ public static let `default`: PixelPaySDK.HTTPHeaders
702
+ }
703
+ extension PixelPaySDK.HTTPHeader {
704
+ public static let defaultAcceptEncoding: PixelPaySDK.HTTPHeader
705
+ public static let defaultAcceptLanguage: PixelPaySDK.HTTPHeader
706
+ public static let defaultUserAgent: PixelPaySDK.HTTPHeader
707
+ }
708
+ extension Foundation.URLRequest {
709
+ public var headers: PixelPaySDK.HTTPHeaders {
710
+ get
711
+ set
712
+ }
713
+ }
714
+ extension Foundation.HTTPURLResponse {
715
+ public var headers: PixelPaySDK.HTTPHeaders {
716
+ get
717
+ }
718
+ }
719
+ extension Foundation.URLSessionConfiguration {
720
+ public var headers: PixelPaySDK.HTTPHeaders {
721
+ get
722
+ set
723
+ }
724
+ }
725
+ @_inheritsConvenienceInitializers public class NetworkFailureResponse : PixelPaySDK.Response {
726
+ override public init()
727
+ required public init(from decoder: Swift.Decoder) throws
728
+ @objc deinit
729
+ }
730
+ @_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
731
+ public func doSale(transaction: PixelPaySDK.SaleTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
732
+ public func doAuth(transaction: PixelPaySDK.AuthTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
733
+ public func doCapture(transaction: PixelPaySDK.CaptureTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
734
+ public func doVoid(transaction: PixelPaySDK.VoidTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
735
+ public func getStatus(transaction: PixelPaySDK.StatusTransaction, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
736
+ public func verifyPaymentHash(hash: Swift.String?, order_id: Swift.String?, secret: Swift.String) -> Swift.Bool
737
+ public func getCybersourceFingerprint(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
738
+ override public init(settings: PixelPaySDK.Settings)
739
+ @objc deinit
740
+ }
741
+ public protocol CachedResponseHandler {
742
+ func dataTask(_ task: Foundation.URLSessionDataTask, willCacheResponse response: Foundation.CachedURLResponse, completion: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
743
+ }
744
+ public struct ResponseCacher {
745
+ public enum Behavior {
746
+ case cache
747
+ case doNotCache
748
+ case modify((Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Foundation.CachedURLResponse?)
749
+ }
750
+ public static let cache: PixelPaySDK.ResponseCacher
751
+ public static let doNotCache: PixelPaySDK.ResponseCacher
752
+ public let behavior: PixelPaySDK.ResponseCacher.Behavior
753
+ public init(behavior: PixelPaySDK.ResponseCacher.Behavior)
754
+ }
755
+ extension PixelPaySDK.ResponseCacher : PixelPaySDK.CachedResponseHandler {
756
+ public func dataTask(_ task: Foundation.URLSessionDataTask, willCacheResponse response: Foundation.CachedURLResponse, completion: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
757
+ }
758
+ open class Session {
759
+ public static let `default`: PixelPaySDK.Session
760
+ final public let session: Foundation.URLSession
761
+ final public let delegate: PixelPaySDK.SessionDelegate
762
+ final public let rootQueue: Dispatch.DispatchQueue
763
+ final public let startRequestsImmediately: Swift.Bool
764
+ final public let requestQueue: Dispatch.DispatchQueue
765
+ final public let serializationQueue: Dispatch.DispatchQueue
766
+ final public let interceptor: PixelPaySDK.RequestInterceptor?
767
+ final public let serverTrustManager: PixelPaySDK.ServerTrustManager?
768
+ final public let redirectHandler: PixelPaySDK.RedirectHandler?
769
+ final public let cachedResponseHandler: PixelPaySDK.CachedResponseHandler?
770
+ final public let eventMonitor: PixelPaySDK.CompositeEventMonitor
771
+ final public let defaultEventMonitors: [PixelPaySDK.EventMonitor]
772
+ public init(session: Foundation.URLSession, delegate: PixelPaySDK.SessionDelegate, rootQueue: Dispatch.DispatchQueue, startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
773
+ convenience public init(configuration: Foundation.URLSessionConfiguration = URLSessionConfiguration.af.default, delegate: PixelPaySDK.SessionDelegate = SessionDelegate(), rootQueue: Dispatch.DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"), startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
774
+ @objc deinit
775
+ public func withAllRequests(perform action: @escaping (Swift.Set<PixelPaySDK.Request>) -> Swift.Void)
776
+ public func cancelAllRequests(completingOnQueue queue: Dispatch.DispatchQueue = .main, completion: (() -> Swift.Void)? = nil)
777
+ public typealias RequestModifier = (inout Foundation.URLRequest) throws -> Swift.Void
778
+ open func request(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest
779
+ open func request<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest where Parameters : Swift.Encodable
780
+ open func request(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataRequest
781
+ open func streamRequest<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest where Parameters : Swift.Encodable
782
+ open func streamRequest(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest
783
+ open func streamRequest(_ convertible: PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataStreamRequest
784
+ open func download(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
785
+ open func download<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest where Parameters : Swift.Encodable
786
+ open func download(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
787
+ open func download(resumingWith data: Foundation.Data, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
788
+ open func upload(_ data: Foundation.Data, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
789
+ open func upload(_ data: Foundation.Data, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
790
+ open func upload(_ fileURL: Foundation.URL, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
791
+ open func upload(_ fileURL: Foundation.URL, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
792
+ open func upload(_ stream: Foundation.InputStream, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
793
+ open func upload(_ stream: Foundation.InputStream, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
794
+ open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
795
+ open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
796
+ open func upload(multipartFormData: PixelPaySDK.MultipartFormData, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
797
+ open func upload(multipartFormData: PixelPaySDK.MultipartFormData, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
798
+ }
799
+ extension PixelPaySDK.Session : PixelPaySDK.RequestDelegate {
800
+ public var sessionConfiguration: Foundation.URLSessionConfiguration {
801
+ get
802
+ }
803
+ public var startImmediately: Swift.Bool {
804
+ get
805
+ }
806
+ public func cleanup(after request: PixelPaySDK.Request)
807
+ public func retryResult(for request: PixelPaySDK.Request, dueTo error: PixelPaySDK.AFError, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
808
+ public func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
809
+ }
810
+ public enum AFError : Swift.Error {
811
+ public enum MultipartEncodingFailureReason {
812
+ case bodyPartURLInvalid(url: Foundation.URL)
813
+ case bodyPartFilenameInvalid(in: Foundation.URL)
814
+ case bodyPartFileNotReachable(at: Foundation.URL)
815
+ case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: Swift.Error)
816
+ case bodyPartFileIsDirectory(at: Foundation.URL)
817
+ case bodyPartFileSizeNotAvailable(at: Foundation.URL)
818
+ case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: Swift.Error)
819
+ case bodyPartInputStreamCreationFailed(for: Foundation.URL)
820
+ case outputStreamCreationFailed(for: Foundation.URL)
821
+ case outputStreamFileAlreadyExists(at: Foundation.URL)
822
+ case outputStreamURLInvalid(url: Foundation.URL)
823
+ case outputStreamWriteFailed(error: Swift.Error)
824
+ case inputStreamReadFailed(error: Swift.Error)
825
+ }
826
+ public struct UnexpectedInputStreamLength : Swift.Error {
827
+ public var bytesExpected: Swift.UInt64
828
+ public var bytesRead: Swift.UInt64
829
+ }
830
+ public enum ParameterEncodingFailureReason {
831
+ case missingURL
832
+ case jsonEncodingFailed(error: Swift.Error)
833
+ case customEncodingFailed(error: Swift.Error)
834
+ }
835
+ public enum ParameterEncoderFailureReason {
836
+ public enum RequiredComponent {
837
+ case url
838
+ case httpMethod(rawValue: Swift.String)
839
+ }
840
+ case missingRequiredComponent(PixelPaySDK.AFError.ParameterEncoderFailureReason.RequiredComponent)
841
+ case encoderFailed(error: Swift.Error)
842
+ }
843
+ public enum ResponseValidationFailureReason {
844
+ case dataFileNil
845
+ case dataFileReadFailed(at: Foundation.URL)
846
+ case missingContentType(acceptableContentTypes: [Swift.String])
847
+ case unacceptableContentType(acceptableContentTypes: [Swift.String], responseContentType: Swift.String)
848
+ case unacceptableStatusCode(code: Swift.Int)
849
+ case customValidationFailed(error: Swift.Error)
850
+ }
851
+ public enum ResponseSerializationFailureReason {
852
+ case inputDataNilOrZeroLength
853
+ case inputFileNil
854
+ case inputFileReadFailed(at: Foundation.URL)
855
+ case stringSerializationFailed(encoding: Swift.String.Encoding)
856
+ case jsonSerializationFailed(error: Swift.Error)
857
+ case decodingFailed(error: Swift.Error)
858
+ case customSerializationFailed(error: Swift.Error)
859
+ case invalidEmptyResponse(type: Swift.String)
860
+ }
861
+ public enum ServerTrustFailureReason {
862
+ public struct Output {
863
+ public let host: Swift.String
864
+ public let trust: Security.SecTrust
865
+ public let status: Darwin.OSStatus
866
+ public let result: Security.SecTrustResultType
867
+ }
868
+ case noRequiredEvaluator(host: Swift.String)
869
+ case noCertificatesFound
870
+ case noPublicKeysFound
871
+ case policyApplicationFailed(trust: Security.SecTrust, policy: Security.SecPolicy, status: Darwin.OSStatus)
872
+ case settingAnchorCertificatesFailed(status: Darwin.OSStatus, certificates: [Security.SecCertificate])
873
+ case revocationPolicyCreationFailed
874
+ case trustEvaluationFailed(error: Swift.Error?)
875
+ case defaultEvaluationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
876
+ case hostValidationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
877
+ case revocationCheckFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output, options: PixelPaySDK.RevocationTrustEvaluator.Options)
878
+ case certificatePinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedCertificates: [Security.SecCertificate], serverCertificates: [Security.SecCertificate])
879
+ case publicKeyPinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedKeys: [Security.SecKey], serverKeys: [Security.SecKey])
880
+ case customEvaluationFailed(error: Swift.Error)
881
+ }
882
+ public enum URLRequestValidationFailureReason {
883
+ case bodyDataInGETRequest(Foundation.Data)
884
+ }
885
+ case createUploadableFailed(error: Swift.Error)
886
+ case createURLRequestFailed(error: Swift.Error)
887
+ case downloadedFileMoveFailed(error: Swift.Error, source: Foundation.URL, destination: Foundation.URL)
888
+ case explicitlyCancelled
889
+ case invalidURL(url: PixelPaySDK.URLConvertible)
890
+ case multipartEncodingFailed(reason: PixelPaySDK.AFError.MultipartEncodingFailureReason)
891
+ case parameterEncodingFailed(reason: PixelPaySDK.AFError.ParameterEncodingFailureReason)
892
+ case parameterEncoderFailed(reason: PixelPaySDK.AFError.ParameterEncoderFailureReason)
893
+ case requestAdaptationFailed(error: Swift.Error)
894
+ case requestRetryFailed(retryError: Swift.Error, originalError: Swift.Error)
895
+ case responseValidationFailed(reason: PixelPaySDK.AFError.ResponseValidationFailureReason)
896
+ case responseSerializationFailed(reason: PixelPaySDK.AFError.ResponseSerializationFailureReason)
897
+ case serverTrustEvaluationFailed(reason: PixelPaySDK.AFError.ServerTrustFailureReason)
898
+ case sessionDeinitialized
899
+ case sessionInvalidated(error: Swift.Error?)
900
+ case sessionTaskFailed(error: Swift.Error)
901
+ case urlRequestValidationFailed(reason: PixelPaySDK.AFError.URLRequestValidationFailureReason)
902
+ }
903
+ extension Swift.Error {
904
+ public var asAFError: PixelPaySDK.AFError? {
905
+ get
906
+ }
907
+ public func asAFError(orFailWith message: @autoclosure () -> Swift.String, file: Swift.StaticString = #file, line: Swift.UInt = #line) -> PixelPaySDK.AFError
908
+ }
909
+ extension PixelPaySDK.AFError {
910
+ public var isSessionDeinitializedError: Swift.Bool {
911
+ get
912
+ }
913
+ public var isSessionInvalidatedError: Swift.Bool {
914
+ get
915
+ }
916
+ public var isExplicitlyCancelledError: Swift.Bool {
917
+ get
918
+ }
919
+ public var isInvalidURLError: Swift.Bool {
920
+ get
921
+ }
922
+ public var isParameterEncodingError: Swift.Bool {
923
+ get
924
+ }
925
+ public var isParameterEncoderError: Swift.Bool {
926
+ get
927
+ }
928
+ public var isMultipartEncodingError: Swift.Bool {
929
+ get
930
+ }
931
+ public var isRequestAdaptationError: Swift.Bool {
932
+ get
933
+ }
934
+ public var isResponseValidationError: Swift.Bool {
935
+ get
936
+ }
937
+ public var isResponseSerializationError: Swift.Bool {
938
+ get
939
+ }
940
+ public var isServerTrustEvaluationError: Swift.Bool {
941
+ get
942
+ }
943
+ public var isRequestRetryError: Swift.Bool {
944
+ get
945
+ }
946
+ public var isCreateUploadableError: Swift.Bool {
947
+ get
948
+ }
949
+ public var isCreateURLRequestError: Swift.Bool {
950
+ get
951
+ }
952
+ public var isDownloadedFileMoveError: Swift.Bool {
953
+ get
954
+ }
955
+ public var isSessionTaskError: Swift.Bool {
956
+ get
957
+ }
958
+ }
959
+ extension PixelPaySDK.AFError {
960
+ public var urlConvertible: PixelPaySDK.URLConvertible? {
961
+ get
962
+ }
963
+ public var url: Foundation.URL? {
964
+ get
965
+ }
966
+ public var underlyingError: Swift.Error? {
967
+ get
968
+ }
969
+ public var acceptableContentTypes: [Swift.String]? {
970
+ get
971
+ }
972
+ public var responseContentType: Swift.String? {
973
+ get
974
+ }
975
+ public var responseCode: Swift.Int? {
976
+ get
977
+ }
978
+ public var failedStringEncoding: Swift.String.Encoding? {
979
+ get
980
+ }
981
+ public var sourceURL: Foundation.URL? {
982
+ get
983
+ }
984
+ public var destinationURL: Foundation.URL? {
985
+ get
986
+ }
987
+ public var downloadResumeData: Foundation.Data? {
988
+ get
989
+ }
990
+ }
991
+ extension PixelPaySDK.AFError : Foundation.LocalizedError {
992
+ public var errorDescription: Swift.String? {
993
+ get
994
+ }
995
+ }
996
+ public class Settings : Swift.Codable {
997
+ public var auth_key: Swift.String?
998
+ public var auth_hash: Swift.String?
999
+ public var auth_user: Swift.String?
1000
+ public var endpoint: Swift.String?
1001
+ public var environment: Swift.String?
1002
+ public var lang: Swift.String?
1003
+ public init()
1004
+ public func setupEndpoint(endpoint: Swift.String)
1005
+ public func setupCredentials(key: Swift.String, hash: Swift.String)
1006
+ public func setupPlatformUser(hash: Swift.String)
1007
+ public func setupEnvironment(env: Swift.String)
1008
+ public func setupSandbox()
1009
+ public func setupLanguage(lang: Swift.String)
1010
+ @objc deinit
1011
+ public func encode(to encoder: Swift.Encoder) throws
1012
+ required public init(from decoder: Swift.Decoder) throws
1013
+ }
1014
+ @_inheritsConvenienceInitializers public class NoAccessResponse : PixelPaySDK.Response {
1015
+ override public init()
1016
+ required public init(from decoder: Swift.Decoder) throws
1017
+ @objc deinit
1018
+ }
1019
+ public protocol EventMonitor {
1020
+ var queue: Dispatch.DispatchQueue { get }
1021
+ func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1022
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1023
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1024
+ func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1025
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1026
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1027
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1028
+ @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1029
+ func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1030
+ func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1031
+ func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
1032
+ func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
1033
+ func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
1034
+ func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
1035
+ func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
1036
+ func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
1037
+ func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
1038
+ func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
1039
+ func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
1040
+ func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
1041
+ func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
1042
+ func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
1043
+ func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
1044
+ func requestIsRetrying(_ request: PixelPaySDK.Request)
1045
+ func requestDidFinish(_ request: PixelPaySDK.Request)
1046
+ func requestDidResume(_ request: PixelPaySDK.Request)
1047
+ func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
1048
+ func requestDidSuspend(_ request: PixelPaySDK.Request)
1049
+ func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
1050
+ func requestDidCancel(_ request: PixelPaySDK.Request)
1051
+ func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
1052
+ func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
1053
+ func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
1054
+ func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
1055
+ func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
1056
+ func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
1057
+ func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
1058
+ func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
1059
+ func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
1060
+ func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
1061
+ func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
1062
+ func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
1063
+ func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
1064
+ func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
1065
+ }
1066
+ extension PixelPaySDK.EventMonitor {
1067
+ public var queue: Dispatch.DispatchQueue {
1068
+ get
1069
+ }
1070
+ public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1071
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1072
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1073
+ public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1074
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1075
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1076
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1077
+ public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1078
+ public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1079
+ public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
1080
+ public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
1081
+ public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
1082
+ public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
1083
+ public func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
1084
+ public func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
1085
+ public func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
1086
+ public func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
1087
+ public func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
1088
+ public func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
1089
+ public func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
1090
+ public func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
1091
+ public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
1092
+ public func requestIsRetrying(_ request: PixelPaySDK.Request)
1093
+ public func requestDidFinish(_ request: PixelPaySDK.Request)
1094
+ public func requestDidResume(_ request: PixelPaySDK.Request)
1095
+ public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
1096
+ public func requestDidSuspend(_ request: PixelPaySDK.Request)
1097
+ public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
1098
+ public func requestDidCancel(_ request: PixelPaySDK.Request)
1099
+ public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
1100
+ public func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
1101
+ public func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
1102
+ public func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
1103
+ public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
1104
+ public func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
1105
+ public func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
1106
+ public func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
1107
+ public func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
1108
+ public func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
1109
+ public func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
1110
+ public func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
1111
+ public func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
1112
+ public func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
1113
+ }
1114
+ @_hasMissingDesignatedInitializers final public class CompositeEventMonitor : PixelPaySDK.EventMonitor {
1115
+ final public let queue: Dispatch.DispatchQueue
1116
+ final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1117
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1118
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1119
+ final public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1120
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1121
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1122
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1123
+ @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1124
+ final public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1125
+ final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1126
+ final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
1127
+ final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
1128
+ final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
1129
+ final public func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
1130
+ final public func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
1131
+ final public func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
1132
+ final public func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
1133
+ final public func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
1134
+ final public func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
1135
+ final public func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
1136
+ final public func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
1137
+ final public func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
1138
+ final public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
1139
+ final public func requestIsRetrying(_ request: PixelPaySDK.Request)
1140
+ final public func requestDidFinish(_ request: PixelPaySDK.Request)
1141
+ final public func requestDidResume(_ request: PixelPaySDK.Request)
1142
+ final public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
1143
+ final public func requestDidSuspend(_ request: PixelPaySDK.Request)
1144
+ final public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
1145
+ final public func requestDidCancel(_ request: PixelPaySDK.Request)
1146
+ final public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
1147
+ final public func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
1148
+ final public func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
1149
+ final public func request<Value>(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>)
1150
+ final public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
1151
+ final public func request<Value>(_ request: PixelPaySDK.DataStreamRequest, didParseStream result: Swift.Result<Value, PixelPaySDK.AFError>)
1152
+ final public func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
1153
+ final public func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
1154
+ final public func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
1155
+ final public func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
1156
+ final public func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
1157
+ final public func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
1158
+ final public func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
1159
+ final public func request<Value>(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>)
1160
+ @objc deinit
1161
+ }
1162
+ open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
1163
+ open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, Swift.Error?) -> Swift.Void)?
1164
+ open var taskDidReceiveChallenge: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLAuthenticationChallenge) -> Swift.Void)?
1165
+ open var taskDidSendBodyData: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
1166
+ open var taskNeedNewBodyStream: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1167
+ open var taskWillPerformHTTPRedirection: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.HTTPURLResponse, Foundation.URLRequest) -> Swift.Void)?
1168
+ open var taskDidFinishCollectingMetrics: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
1169
+ open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Error?) -> Swift.Void)?
1170
+ open var taskIsWaitingForConnectivity: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1171
+ open var dataTaskDidReceiveData: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.Data) -> Swift.Void)?
1172
+ open var dataTaskWillCacheResponse: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Swift.Void)?
1173
+ open var downloadTaskDidFinishDownloadingToURL: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Foundation.URL) -> Swift.Void)?
1174
+ open var downloadTaskDidWriteData: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
1175
+ open var downloadTaskDidResumeAtOffset: ((Foundation.URLSession, Foundation.URLSessionDownloadTask, Swift.Int64, Swift.Int64) -> Swift.Void)?
1176
+ open var requestDidCreateInitialURLRequest: ((PixelPaySDK.Request, Foundation.URLRequest) -> Swift.Void)?
1177
+ open var requestDidFailToCreateURLRequestWithError: ((PixelPaySDK.Request, PixelPaySDK.AFError) -> Swift.Void)?
1178
+ open var requestDidAdaptInitialRequestToAdaptedRequest: ((PixelPaySDK.Request, Foundation.URLRequest, Foundation.URLRequest) -> Swift.Void)?
1179
+ open var requestDidFailToAdaptURLRequestWithError: ((PixelPaySDK.Request, Foundation.URLRequest, PixelPaySDK.AFError) -> Swift.Void)?
1180
+ open var requestDidCreateURLRequest: ((PixelPaySDK.Request, Foundation.URLRequest) -> Swift.Void)?
1181
+ open var requestDidCreateTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
1182
+ open var requestDidGatherMetrics: ((PixelPaySDK.Request, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
1183
+ open var requestDidFailTaskEarlyWithError: ((PixelPaySDK.Request, Foundation.URLSessionTask, PixelPaySDK.AFError) -> Swift.Void)?
1184
+ open var requestDidCompleteTaskWithError: ((PixelPaySDK.Request, Foundation.URLSessionTask, PixelPaySDK.AFError?) -> Swift.Void)?
1185
+ open var requestIsRetrying: ((PixelPaySDK.Request) -> Swift.Void)?
1186
+ open var requestDidFinish: ((PixelPaySDK.Request) -> Swift.Void)?
1187
+ open var requestDidResume: ((PixelPaySDK.Request) -> Swift.Void)?
1188
+ open var requestDidResumeTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
1189
+ open var requestDidSuspend: ((PixelPaySDK.Request) -> Swift.Void)?
1190
+ open var requestDidSuspendTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
1191
+ open var requestDidCancel: ((PixelPaySDK.Request) -> Swift.Void)?
1192
+ open var requestDidCancelTask: ((PixelPaySDK.Request, Foundation.URLSessionTask) -> Swift.Void)?
1193
+ open var requestDidValidateRequestResponseDataWithResult: ((PixelPaySDK.DataRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
1194
+ open var requestDidParseResponse: ((PixelPaySDK.DataRequest, PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>) -> Swift.Void)?
1195
+ open var requestDidValidateRequestResponseWithResult: ((PixelPaySDK.DataStreamRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
1196
+ open var requestDidCreateUploadable: ((PixelPaySDK.UploadRequest, PixelPaySDK.UploadRequest.Uploadable) -> Swift.Void)?
1197
+ open var requestDidFailToCreateUploadableWithError: ((PixelPaySDK.UploadRequest, PixelPaySDK.AFError) -> Swift.Void)?
1198
+ open var requestDidProvideInputStream: ((PixelPaySDK.UploadRequest, Foundation.InputStream) -> Swift.Void)?
1199
+ open var requestDidFinishDownloadingUsingTaskWithResult: ((PixelPaySDK.DownloadRequest, Foundation.URLSessionTask, Swift.Result<Foundation.URL, PixelPaySDK.AFError>) -> Swift.Void)?
1200
+ open var requestDidCreateDestinationURL: ((PixelPaySDK.DownloadRequest, Foundation.URL) -> Swift.Void)?
1201
+ open var requestDidValidateRequestResponseFileURLWithResult: ((PixelPaySDK.DownloadRequest, Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.URL?, PixelPaySDK.Request.ValidationResult) -> Swift.Void)?
1202
+ open var requestDidParseDownloadResponse: ((PixelPaySDK.DownloadRequest, PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>) -> Swift.Void)?
1203
+ final public let queue: Dispatch.DispatchQueue
1204
+ public init(queue: Dispatch.DispatchQueue = .main)
1205
+ open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1206
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1207
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1208
+ open func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1209
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1210
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1211
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1212
+ open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1213
+ open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1214
+ open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
1215
+ open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
1216
+ open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
1217
+ open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
1218
+ open func request(_ request: PixelPaySDK.Request, didCreateInitialURLRequest urlRequest: Foundation.URLRequest)
1219
+ open func request(_ request: PixelPaySDK.Request, didFailToCreateURLRequestWithError error: PixelPaySDK.AFError)
1220
+ open func request(_ request: PixelPaySDK.Request, didAdaptInitialRequest initialRequest: Foundation.URLRequest, to adaptedRequest: Foundation.URLRequest)
1221
+ open func request(_ request: PixelPaySDK.Request, didFailToAdaptURLRequest initialRequest: Foundation.URLRequest, withError error: PixelPaySDK.AFError)
1222
+ open func request(_ request: PixelPaySDK.Request, didCreateURLRequest urlRequest: Foundation.URLRequest)
1223
+ open func request(_ request: PixelPaySDK.Request, didCreateTask task: Foundation.URLSessionTask)
1224
+ open func request(_ request: PixelPaySDK.Request, didGatherMetrics metrics: Foundation.URLSessionTaskMetrics)
1225
+ open func request(_ request: PixelPaySDK.Request, didFailTask task: Foundation.URLSessionTask, earlyWithError error: PixelPaySDK.AFError)
1226
+ open func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
1227
+ open func requestIsRetrying(_ request: PixelPaySDK.Request)
1228
+ open func requestDidFinish(_ request: PixelPaySDK.Request)
1229
+ open func requestDidResume(_ request: PixelPaySDK.Request)
1230
+ public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
1231
+ open func requestDidSuspend(_ request: PixelPaySDK.Request)
1232
+ public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
1233
+ open func requestDidCancel(_ request: PixelPaySDK.Request)
1234
+ public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
1235
+ open func request(_ request: PixelPaySDK.DataRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, data: Foundation.Data?, withResult result: PixelPaySDK.Request.ValidationResult)
1236
+ open func request(_ request: PixelPaySDK.DataRequest, didParseResponse response: PixelPaySDK.DataResponse<Foundation.Data?, PixelPaySDK.AFError>)
1237
+ public func request(_ request: PixelPaySDK.DataStreamRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, withResult result: PixelPaySDK.Request.ValidationResult)
1238
+ open func request(_ request: PixelPaySDK.UploadRequest, didCreateUploadable uploadable: PixelPaySDK.UploadRequest.Uploadable)
1239
+ open func request(_ request: PixelPaySDK.UploadRequest, didFailToCreateUploadableWithError error: PixelPaySDK.AFError)
1240
+ open func request(_ request: PixelPaySDK.UploadRequest, didProvideInputStream stream: Foundation.InputStream)
1241
+ open func request(_ request: PixelPaySDK.DownloadRequest, didFinishDownloadingUsing task: Foundation.URLSessionTask, with result: Swift.Result<Foundation.URL, PixelPaySDK.AFError>)
1242
+ open func request(_ request: PixelPaySDK.DownloadRequest, didCreateDestinationURL url: Foundation.URL)
1243
+ open func request(_ request: PixelPaySDK.DownloadRequest, didValidateRequest urlRequest: Foundation.URLRequest?, response: Foundation.HTTPURLResponse, fileURL: Foundation.URL?, withResult result: PixelPaySDK.Request.ValidationResult)
1244
+ open func request(_ request: PixelPaySDK.DownloadRequest, didParseResponse response: PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>)
1245
+ @objc deinit
1246
+ }
1247
+ public enum SwiftyJSONError : Swift.Int, Swift.Error {
1248
+ case unsupportedType
1249
+ case indexOutOfBounds
1250
+ case elementTooDeep
1251
+ case wrongType
1252
+ case notExist
1253
+ case invalidJSON
1254
+ public init?(rawValue: Swift.Int)
1255
+ public typealias RawValue = Swift.Int
1256
+ public var rawValue: Swift.Int {
1257
+ get
1258
+ }
1259
+ }
1260
+ extension PixelPaySDK.SwiftyJSONError : Foundation.CustomNSError {
1261
+ public static var errorDomain: Swift.String {
1262
+ get
1263
+ }
1264
+ public var errorCode: Swift.Int {
1265
+ get
1266
+ }
1267
+ public var errorUserInfo: [Swift.String : Any] {
1268
+ get
1269
+ }
1270
+ }
1271
+ public enum Type : Swift.Int {
1272
+ case number
1273
+ case string
1274
+ case bool
1275
+ case array
1276
+ case dictionary
1277
+ case null
1278
+ case unknown
1279
+ public init?(rawValue: Swift.Int)
1280
+ public typealias RawValue = Swift.Int
1281
+ public var rawValue: Swift.Int {
1282
+ get
1283
+ }
1284
+ }
1285
+ public struct JSON {
1286
+ public init(data: Foundation.Data, options opt: Foundation.JSONSerialization.ReadingOptions = []) throws
1287
+ public init(_ object: Any)
1288
+ public init(parseJSON jsonString: Swift.String)
1289
+ public mutating func merge(with other: PixelPaySDK.JSON) throws
1290
+ public func merged(with other: PixelPaySDK.JSON) throws -> PixelPaySDK.JSON
1291
+ public var type: PixelPaySDK.`Type` {
1292
+ get
1293
+ }
1294
+ public var error: PixelPaySDK.SwiftyJSONError? {
1295
+ get
1296
+ }
1297
+ public var object: Any {
1298
+ get
1299
+ set
1300
+ }
1301
+ @available(*, unavailable, renamed: "null")
1302
+ public static var nullJSON: PixelPaySDK.JSON {
1303
+ get
1304
+ }
1305
+ public static var null: PixelPaySDK.JSON {
1306
+ get
1307
+ }
1308
+ }
1309
+ public enum Index<T> : Swift.Comparable {
1310
+ case array(Swift.Int)
1311
+ case dictionary(Swift.DictionaryIndex<Swift.String, T>)
1312
+ case null
1313
+ public static func == (lhs: PixelPaySDK.Index<T>, rhs: PixelPaySDK.Index<T>) -> Swift.Bool
1314
+ public static func < (lhs: PixelPaySDK.Index<T>, rhs: PixelPaySDK.Index<T>) -> Swift.Bool
1315
+ }
1316
+ public typealias JSONIndex = PixelPaySDK.Index<PixelPaySDK.JSON>
1317
+ public typealias JSONRawIndex = PixelPaySDK.Index<Any>
1318
+ extension PixelPaySDK.JSON : Swift.Collection {
1319
+ public typealias Index = PixelPaySDK.JSONRawIndex
1320
+ public var startIndex: PixelPaySDK.JSON.Index {
1321
+ get
1322
+ }
1323
+ public var endIndex: PixelPaySDK.JSON.Index {
1324
+ get
1325
+ }
1326
+ public func index(after i: PixelPaySDK.JSON.Index) -> PixelPaySDK.JSON.Index
1327
+ public subscript(position: PixelPaySDK.JSON.Index) -> (Swift.String, PixelPaySDK.JSON) {
1328
+ get
1329
+ }
1330
+ public typealias Element = (Swift.String, PixelPaySDK.JSON)
1331
+ public typealias Indices = Swift.DefaultIndices<PixelPaySDK.JSON>
1332
+ public typealias Iterator = Swift.IndexingIterator<PixelPaySDK.JSON>
1333
+ public typealias SubSequence = Swift.Slice<PixelPaySDK.JSON>
1334
+ }
1335
+ public enum JSONKey {
1336
+ case index(Swift.Int)
1337
+ case key(Swift.String)
1338
+ }
1339
+ public protocol JSONSubscriptType {
1340
+ var jsonKey: PixelPaySDK.JSONKey { get }
1341
+ }
1342
+ extension Swift.Int : PixelPaySDK.JSONSubscriptType {
1343
+ public var jsonKey: PixelPaySDK.JSONKey {
1344
+ get
1345
+ }
1346
+ }
1347
+ extension Swift.String : PixelPaySDK.JSONSubscriptType {
1348
+ public var jsonKey: PixelPaySDK.JSONKey {
1349
+ get
1350
+ }
1351
+ }
1352
+ extension PixelPaySDK.JSON {
1353
+ public subscript(path: [PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
1354
+ get
1355
+ set
1356
+ }
1357
+ public subscript(path: PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
1358
+ get
1359
+ set
1360
+ }
1361
+ }
1362
+ extension PixelPaySDK.JSON : Swift.ExpressibleByStringLiteral {
1363
+ public init(stringLiteral value: Swift.StringLiteralType)
1364
+ public init(extendedGraphemeClusterLiteral value: Swift.StringLiteralType)
1365
+ public init(unicodeScalarLiteral value: Swift.StringLiteralType)
1366
+ public typealias ExtendedGraphemeClusterLiteralType = Swift.StringLiteralType
1367
+ public typealias StringLiteralType = Swift.StringLiteralType
1368
+ public typealias UnicodeScalarLiteralType = Swift.StringLiteralType
1369
+ }
1370
+ extension PixelPaySDK.JSON : Swift.ExpressibleByIntegerLiteral {
1371
+ public init(integerLiteral value: Swift.IntegerLiteralType)
1372
+ public typealias IntegerLiteralType = Swift.IntegerLiteralType
1373
+ }
1374
+ extension PixelPaySDK.JSON : Swift.ExpressibleByBooleanLiteral {
1375
+ public init(booleanLiteral value: Swift.BooleanLiteralType)
1376
+ public typealias BooleanLiteralType = Swift.BooleanLiteralType
1377
+ }
1378
+ extension PixelPaySDK.JSON : Swift.ExpressibleByFloatLiteral {
1379
+ public init(floatLiteral value: Swift.FloatLiteralType)
1380
+ public typealias FloatLiteralType = Swift.FloatLiteralType
1381
+ }
1382
+ extension PixelPaySDK.JSON : Swift.ExpressibleByDictionaryLiteral {
1383
+ public init(dictionaryLiteral elements: (Swift.String, Any)...)
1384
+ public typealias Key = Swift.String
1385
+ public typealias Value = Any
1386
+ }
1387
+ extension PixelPaySDK.JSON : Swift.ExpressibleByArrayLiteral {
1388
+ public init(arrayLiteral elements: Any...)
1389
+ public typealias ArrayLiteralElement = Any
1390
+ }
1391
+ extension PixelPaySDK.JSON : Swift.RawRepresentable {
1392
+ public init?(rawValue: Any)
1393
+ public var rawValue: Any {
1394
+ get
1395
+ }
1396
+ public func rawData(options opt: Foundation.JSONSerialization.WritingOptions = JSONSerialization.WritingOptions(rawValue: 0)) throws -> Foundation.Data
1397
+ public func rawString(_ encoding: Swift.String.Encoding = .utf8, options opt: Foundation.JSONSerialization.WritingOptions = .prettyPrinted) -> Swift.String?
1398
+ public func rawString(_ options: [PixelPaySDK.writingOptionsKeys : Any]) -> Swift.String?
1399
+ public typealias RawValue = Any
1400
+ }
1401
+ extension PixelPaySDK.JSON : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
1402
+ public var description: Swift.String {
1403
+ get
1404
+ }
1405
+ public var debugDescription: Swift.String {
1406
+ get
1407
+ }
1408
+ }
1409
+ extension PixelPaySDK.JSON {
1410
+ public var array: [PixelPaySDK.JSON]? {
1411
+ get
1412
+ }
1413
+ public var arrayValue: [PixelPaySDK.JSON] {
1414
+ get
1415
+ }
1416
+ public var arrayObject: [Any]? {
1417
+ get
1418
+ set
1419
+ }
1420
+ }
1421
+ extension PixelPaySDK.JSON {
1422
+ public var dictionary: [Swift.String : PixelPaySDK.JSON]? {
1423
+ get
1424
+ }
1425
+ public var dictionaryValue: [Swift.String : PixelPaySDK.JSON] {
1426
+ get
1427
+ }
1428
+ public var dictionaryObject: [Swift.String : Any]? {
1429
+ get
1430
+ set
1431
+ }
1432
+ }
1433
+ extension PixelPaySDK.JSON {
1434
+ public var bool: Swift.Bool? {
1435
+ get
1436
+ set
1437
+ }
1438
+ public var boolValue: Swift.Bool {
1439
+ get
1440
+ set
1441
+ }
1442
+ }
1443
+ extension PixelPaySDK.JSON {
1444
+ public var string: Swift.String? {
1445
+ get
1446
+ set
1447
+ }
1448
+ public var stringValue: Swift.String {
1449
+ get
1450
+ set
1451
+ }
1452
+ }
1453
+ extension PixelPaySDK.JSON {
1454
+ public var number: Foundation.NSNumber? {
1455
+ get
1456
+ set
1457
+ }
1458
+ public var numberValue: Foundation.NSNumber {
1459
+ get
1460
+ set
1461
+ }
1462
+ }
1463
+ extension PixelPaySDK.JSON {
1464
+ public var null: Foundation.NSNull? {
1465
+ get
1466
+ set
1467
+ }
1468
+ public func exists() -> Swift.Bool
1469
+ }
1470
+ extension PixelPaySDK.JSON {
1471
+ public var url: Foundation.URL? {
1472
+ get
1473
+ set
1474
+ }
1475
+ }
1476
+ extension PixelPaySDK.JSON {
1477
+ public var double: Swift.Double? {
1478
+ get
1479
+ set
1480
+ }
1481
+ public var doubleValue: Swift.Double {
1482
+ get
1483
+ set
1484
+ }
1485
+ public var float: Swift.Float? {
1486
+ get
1487
+ set
1488
+ }
1489
+ public var floatValue: Swift.Float {
1490
+ get
1491
+ set
1492
+ }
1493
+ public var int: Swift.Int? {
1494
+ get
1495
+ set
1496
+ }
1497
+ public var intValue: Swift.Int {
1498
+ get
1499
+ set
1500
+ }
1501
+ public var uInt: Swift.UInt? {
1502
+ get
1503
+ set
1504
+ }
1505
+ public var uIntValue: Swift.UInt {
1506
+ get
1507
+ set
1508
+ }
1509
+ public var int8: Swift.Int8? {
1510
+ get
1511
+ set
1512
+ }
1513
+ public var int8Value: Swift.Int8 {
1514
+ get
1515
+ set
1516
+ }
1517
+ public var uInt8: Swift.UInt8? {
1518
+ get
1519
+ set
1520
+ }
1521
+ public var uInt8Value: Swift.UInt8 {
1522
+ get
1523
+ set
1524
+ }
1525
+ public var int16: Swift.Int16? {
1526
+ get
1527
+ set
1528
+ }
1529
+ public var int16Value: Swift.Int16 {
1530
+ get
1531
+ set
1532
+ }
1533
+ public var uInt16: Swift.UInt16? {
1534
+ get
1535
+ set
1536
+ }
1537
+ public var uInt16Value: Swift.UInt16 {
1538
+ get
1539
+ set
1540
+ }
1541
+ public var int32: Swift.Int32? {
1542
+ get
1543
+ set
1544
+ }
1545
+ public var int32Value: Swift.Int32 {
1546
+ get
1547
+ set
1548
+ }
1549
+ public var uInt32: Swift.UInt32? {
1550
+ get
1551
+ set
1552
+ }
1553
+ public var uInt32Value: Swift.UInt32 {
1554
+ get
1555
+ set
1556
+ }
1557
+ public var int64: Swift.Int64? {
1558
+ get
1559
+ set
1560
+ }
1561
+ public var int64Value: Swift.Int64 {
1562
+ get
1563
+ set
1564
+ }
1565
+ public var uInt64: Swift.UInt64? {
1566
+ get
1567
+ set
1568
+ }
1569
+ public var uInt64Value: Swift.UInt64 {
1570
+ get
1571
+ set
1572
+ }
1573
+ }
1574
+ extension PixelPaySDK.JSON : Swift.Comparable {
1575
+ }
1576
+ public func == (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
1577
+ public func <= (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
1578
+ public func >= (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
1579
+ public func > (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
1580
+ public func < (lhs: PixelPaySDK.JSON, rhs: PixelPaySDK.JSON) -> Swift.Bool
1581
+ public enum writingOptionsKeys {
1582
+ case jsonSerialization
1583
+ case castNilToNSNull
1584
+ case maxObjextDepth
1585
+ case encoding
1586
+ public static func == (a: PixelPaySDK.writingOptionsKeys, b: PixelPaySDK.writingOptionsKeys) -> Swift.Bool
1587
+ public func hash(into hasher: inout Swift.Hasher)
1588
+ public var hashValue: Swift.Int {
1589
+ get
1590
+ }
1591
+ }
1592
+ extension PixelPaySDK.JSON : Swift.Codable {
1593
+ public init(from decoder: Swift.Decoder) throws
1594
+ public func encode(to encoder: Swift.Encoder) throws
1595
+ }
1596
+ public protocol AuthenticationCredential {
1597
+ var requiresRefresh: Swift.Bool { get }
1598
+ }
1599
+ public protocol Authenticator : AnyObject {
1600
+ associatedtype Credential : PixelPaySDK.AuthenticationCredential
1601
+ func apply(_ credential: Self.Credential, to urlRequest: inout Foundation.URLRequest)
1602
+ func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, Swift.Error>) -> Swift.Void)
1603
+ func didRequest(_ urlRequest: Foundation.URLRequest, with response: Foundation.HTTPURLResponse, failDueToAuthenticationError error: Swift.Error) -> Swift.Bool
1604
+ func isRequest(_ urlRequest: Foundation.URLRequest, authenticatedWith credential: Self.Credential) -> Swift.Bool
1605
+ }
1606
+ public enum AuthenticationError : Swift.Error {
1607
+ case missingCredential
1608
+ case excessiveRefresh
1609
+ public static func == (a: PixelPaySDK.AuthenticationError, b: PixelPaySDK.AuthenticationError) -> Swift.Bool
1610
+ public func hash(into hasher: inout Swift.Hasher)
1611
+ public var hashValue: Swift.Int {
1612
+ get
1613
+ }
1614
+ }
1615
+ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestInterceptor where AuthenticatorType : PixelPaySDK.Authenticator {
1616
+ public typealias Credential = AuthenticatorType.Credential
1617
+ public struct RefreshWindow {
1618
+ public let interval: Foundation.TimeInterval
1619
+ public let maximumAttempts: Swift.Int
1620
+ public init(interval: Foundation.TimeInterval = 30.0, maximumAttempts: Swift.Int = 5)
1621
+ }
1622
+ public var credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? {
1623
+ get
1624
+ set
1625
+ }
1626
+ public init(authenticator: AuthenticatorType, credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? = nil, refreshWindow: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.RefreshWindow? = RefreshWindow())
1627
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1628
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1629
+ @objc deinit
1630
+ }
1631
+ @_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
1632
+ public func vaultCard(card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1633
+ public func updateCard(token: Swift.String, card: PixelPaySDK.CardTokenization, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1634
+ public func showCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1635
+ public func showCards(tokens: [Swift.String], completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1636
+ public func deleteCard(token: Swift.String, completion: @escaping ((PixelPaySDK.Response) -> Swift.Void)) throws
1637
+ override public init(settings: PixelPaySDK.Settings)
1638
+ @objc deinit
1639
+ }
1640
+ public typealias AFResult<Success> = Swift.Result<Success, PixelPaySDK.AFError>
1641
+ extension UIKit.UIView {
1642
+ @_Concurrency.MainActor(unsafe) public func showPixelPayPayloadLoader(payload: Swift.String, on_response: @escaping (PixelPaySDK.Response) -> Swift.Void)
1643
+ @_Concurrency.MainActor(unsafe) public func removePixelPayPayloadLoader()
1644
+ }
1645
+ public enum NicoProgressBarState {
1646
+ case indeterminate
1647
+ case determinate(percentage: CoreGraphics.CGFloat)
1648
+ public var isDeterminate: Swift.Bool {
1649
+ get
1650
+ }
1651
+ }
1652
+ @objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) open class NicoProgressBar : UIKit.UIView {
1653
+ @_Concurrency.MainActor(unsafe) open var state: PixelPaySDK.NicoProgressBarState {
1654
+ get
1655
+ }
1656
+ @objc @IBInspectable @_Concurrency.MainActor(unsafe) open var primaryColor: UIKit.UIColor {
1657
+ @objc get
1658
+ @objc set
1659
+ }
1660
+ @objc @IBInspectable @_Concurrency.MainActor(unsafe) open var secondaryColor: UIKit.UIColor {
1661
+ @objc get
1662
+ @objc set
1663
+ }
1664
+ @objc @IBInspectable @_Concurrency.MainActor(unsafe) open var animateDeterminateInitialization: Swift.Bool
1665
+ @_Concurrency.MainActor(unsafe) open var indeterminateAnimationDuration: Swift.Double
1666
+ @_Concurrency.MainActor(unsafe) open var determinateAnimationDuration: Swift.Double
1667
+ @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect)
1668
+ @_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
1669
+ @_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToSuperview()
1670
+ @_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToWindow()
1671
+ @_Concurrency.MainActor(unsafe) public func transition(to state: PixelPaySDK.NicoProgressBarState, delay: Foundation.TimeInterval = 0, animateDeterminate: Swift.Bool = true, completion: ((Swift.Bool) -> Swift.Void)? = nil)
1672
+ @objc deinit
1673
+ }
1674
+ extension Foundation.URLSessionConfiguration : PixelPaySDK.AlamofireExtended {
1675
+ public typealias ExtendedType = Foundation.URLSessionConfiguration
1676
+ }
1677
+ extension PixelPaySDK.AlamofireExtension where ExtendedType : Foundation.URLSessionConfiguration {
1678
+ public static var `default`: Foundation.URLSessionConfiguration {
1679
+ get
1680
+ }
1681
+ public static var ephemeral: Foundation.URLSessionConfiguration {
1682
+ get
1683
+ }
1684
+ }
1685
+ public class Billing {
1686
+ public var address: Swift.String?
1687
+ public var country: Swift.String?
1688
+ public var state: Swift.String?
1689
+ public var city: Swift.String?
1690
+ public var zip: Swift.String?
1691
+ public var phone: Swift.String?
1692
+ public init()
1693
+ @objc deinit
1694
+ }
1695
+ @_inheritsConvenienceInitializers public class SaleTransaction : PixelPaySDK.PaymentTransaction {
1696
+ override public init()
1697
+ required public init(from: Swift.Decoder) throws
1698
+ @objc deinit
1699
+ }
1700
+ @_inheritsConvenienceInitializers public class PaymentTransaction : PixelPaySDK.RequestBehaviour {
1701
+ public var payment_uuid: Swift.String?
1702
+ public var card_token: Swift.String?
1703
+ public var card_number: Swift.String?
1704
+ public var card_cvv: Swift.String?
1705
+ public var card_expire: Swift.String?
1706
+ public var card_holder: Swift.String?
1707
+ public var billing_address: Swift.String?
1708
+ public var billing_country: Swift.String?
1709
+ public var billing_state: Swift.String?
1710
+ public var billing_city: Swift.String?
1711
+ public var billing_zip: Swift.String?
1712
+ public var billing_phone: Swift.String?
1713
+ public var customer_name: Swift.String?
1714
+ public var customer_email: Swift.String?
1715
+ public var customer_fingerprint: Swift.String?
1716
+ public var order_id: Swift.String?
1717
+ public var order_currency: Swift.String?
1718
+ public var order_amount: Swift.String?
1719
+ public var order_tax_amount: Swift.String?
1720
+ public var order_shipping_amount: Swift.String?
1721
+ public var order_content: PixelPaySDK.JSON
1722
+ public var order_extras: PixelPaySDK.JSON
1723
+ public var order_note: Swift.String?
1724
+ public var order_callback: Swift.String?
1725
+ public var authentication_request: Swift.Bool
1726
+ public var authentication_identifier: Swift.String?
1727
+ override public init()
1728
+ required public init(from: Swift.Decoder) throws
1729
+ override public func encode(to encoder: Swift.Encoder) throws
1730
+ public func setCard(card: PixelPaySDK.Card)
1731
+ public func setCardToken(token: Swift.String)
1732
+ public func setBilling(billing: PixelPaySDK.Billing)
1733
+ public func setOrder(order: PixelPaySDK.Order)
1734
+ public func withAuthenticationRequest()
1735
+ @objc deinit
1736
+ }
1737
+ @_inheritsConvenienceInitializers public class PayloadResponse : PixelPaySDK.Response {
1738
+ override public init()
1739
+ required public init(from decoder: Swift.Decoder) throws
1740
+ @objc deinit
1741
+ }
1742
+ public protocol URLConvertible {
1743
+ func asURL() throws -> Foundation.URL
1744
+ }
1745
+ extension Swift.String : PixelPaySDK.URLConvertible {
1746
+ public func asURL() throws -> Foundation.URL
1747
+ }
1748
+ extension Foundation.URL : PixelPaySDK.URLConvertible {
1749
+ public func asURL() throws -> Foundation.URL
1750
+ }
1751
+ extension Foundation.URLComponents : PixelPaySDK.URLConvertible {
1752
+ public func asURL() throws -> Foundation.URL
1753
+ }
1754
+ public protocol URLRequestConvertible {
1755
+ func asURLRequest() throws -> Foundation.URLRequest
1756
+ }
1757
+ extension PixelPaySDK.URLRequestConvertible {
1758
+ public var urlRequest: Foundation.URLRequest? {
1759
+ get
1760
+ }
1761
+ }
1762
+ extension Foundation.URLRequest : PixelPaySDK.URLRequestConvertible {
1763
+ public func asURLRequest() throws -> Foundation.URLRequest
1764
+ }
1765
+ extension Foundation.URLRequest {
1766
+ public init(url: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
1767
+ }
1768
+ @_inheritsConvenienceInitializers public class InputErrorResponse : PixelPaySDK.Response {
1769
+ override public init()
1770
+ required public init(from decoder: Swift.Decoder) throws
1771
+ @objc deinit
1772
+ }
1773
+ public enum InvalidCredentialsException : Swift.Error {
1774
+ case invalidCredentials(Swift.String)
1775
+ }
1776
+ public enum InvalidTransactionType : Swift.Error {
1777
+ case invalidTransactionType(Swift.String)
1778
+ }
1779
+ @_inheritsConvenienceInitializers public class TimeoutResponse : PixelPaySDK.Response {
1780
+ override public init()
1781
+ required public init(from decoder: Swift.Decoder) throws
1782
+ @objc deinit
1783
+ }
1784
+ public protocol RequestAdapter {
1785
+ func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1786
+ }
1787
+ public enum RetryResult {
1788
+ case retry
1789
+ case retryWithDelay(Foundation.TimeInterval)
1790
+ case doNotRetry
1791
+ case doNotRetryWithError(Swift.Error)
1792
+ }
1793
+ public protocol RequestRetrier {
1794
+ func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1795
+ }
1796
+ public protocol RequestInterceptor : PixelPaySDK.RequestAdapter, PixelPaySDK.RequestRetrier {
1797
+ }
1798
+ extension PixelPaySDK.RequestInterceptor {
1799
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1800
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1801
+ }
1802
+ public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void) -> Swift.Void
1803
+ public typealias RetryHandler = (PixelPaySDK.Request, PixelPaySDK.Session, Swift.Error, _ completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void) -> Swift.Void
1804
+ open class Adapter : PixelPaySDK.RequestInterceptor {
1805
+ public init(_ adaptHandler: @escaping PixelPaySDK.AdaptHandler)
1806
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1807
+ @objc deinit
1808
+ }
1809
+ open class Retrier : PixelPaySDK.RequestInterceptor {
1810
+ public init(_ retryHandler: @escaping PixelPaySDK.RetryHandler)
1811
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1812
+ @objc deinit
1813
+ }
1814
+ open class Interceptor : PixelPaySDK.RequestInterceptor {
1815
+ final public let adapters: [PixelPaySDK.RequestAdapter]
1816
+ final public let retriers: [PixelPaySDK.RequestRetrier]
1817
+ public init(adaptHandler: @escaping PixelPaySDK.AdaptHandler, retryHandler: @escaping PixelPaySDK.RetryHandler)
1818
+ public init(adapter: PixelPaySDK.RequestAdapter, retrier: PixelPaySDK.RequestRetrier)
1819
+ public init(adapters: [PixelPaySDK.RequestAdapter] = [], retriers: [PixelPaySDK.RequestRetrier] = [], interceptors: [PixelPaySDK.RequestInterceptor] = [])
1820
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1821
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1822
+ @objc deinit
1823
+ }
1824
+ extension UIKit.UIView {
1825
+ @_Concurrency.MainActor(unsafe) public func showCybersourceLoader(merchant_id: Swift.String, org_id: Swift.String, on_response: @escaping (Swift.String) -> Swift.Void)
1826
+ @_Concurrency.MainActor(unsafe) public func removeCybersourceLoader()
1827
+ }
1828
+ public let AF: PixelPaySDK.Session
1829
+ public class Order {
1830
+ public var id: Swift.String?
1831
+ public var currency: Swift.String?
1832
+ public var amount: Swift.Double?
1833
+ public var tax_amount: Swift.Double?
1834
+ public var shipping_amount: Swift.Double?
1835
+ public var content: [PixelPaySDK.Item]
1836
+ public var extras: [Swift.String : Swift.String]
1837
+ public var note: Swift.String?
1838
+ public var callback_url: Swift.String?
1839
+ public var customer_name: Swift.String?
1840
+ public var customer_email: Swift.String?
1841
+ public init()
1842
+ public func addItem(item: PixelPaySDK.Item)
1843
+ public func addExtra(key: Swift.String, value: Swift.String)
1844
+ public func totalize()
1845
+ @objc deinit
1846
+ }
1847
+ public class Item : Swift.Codable {
1848
+ public var code: Swift.String?
1849
+ public var title: Swift.String?
1850
+ public var price: Swift.Double
1851
+ public var qty: Swift.Int
1852
+ public var tax: Swift.Double
1853
+ public var total: Swift.Double
1854
+ public init()
1855
+ public func totalize() -> PixelPaySDK.Item
1856
+ @objc deinit
1857
+ public func encode(to encoder: Swift.Encoder) throws
1858
+ required public init(from decoder: Swift.Decoder) throws
1859
+ }
1860
+ @_inheritsConvenienceInitializers public class PaymentDeclinedResponse : PixelPaySDK.Response {
1861
+ override public init()
1862
+ required public init(from decoder: Swift.Decoder) throws
1863
+ @objc deinit
1864
+ }
1865
+ public typealias AFDataResponse<Success> = PixelPaySDK.DataResponse<Success, PixelPaySDK.AFError>
1866
+ public typealias AFDownloadResponse<Success> = PixelPaySDK.DownloadResponse<Success, PixelPaySDK.AFError>
1867
+ public struct DataResponse<Success, Failure> where Failure : Swift.Error {
1868
+ public let request: Foundation.URLRequest?
1869
+ public let response: Foundation.HTTPURLResponse?
1870
+ public let data: Foundation.Data?
1871
+ public let metrics: Foundation.URLSessionTaskMetrics?
1872
+ public let serializationDuration: Foundation.TimeInterval
1873
+ public let result: Swift.Result<Success, Failure>
1874
+ public var value: Success? {
1875
+ get
1876
+ }
1877
+ public var error: Failure? {
1878
+ get
1879
+ }
1880
+ public init(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, metrics: Foundation.URLSessionTaskMetrics?, serializationDuration: Foundation.TimeInterval, result: Swift.Result<Success, Failure>)
1881
+ }
1882
+ extension PixelPaySDK.DataResponse : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
1883
+ public var description: Swift.String {
1884
+ get
1885
+ }
1886
+ public var debugDescription: Swift.String {
1887
+ get
1888
+ }
1889
+ }
1890
+ extension PixelPaySDK.DataResponse {
1891
+ public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Failure>
1892
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Swift.Error>
1893
+ public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DataResponse<Success, NewFailure> where NewFailure : Swift.Error
1894
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DataResponse<Success, Swift.Error> where NewFailure : Swift.Error
1895
+ }
1896
+ public struct DownloadResponse<Success, Failure> where Failure : Swift.Error {
1897
+ public let request: Foundation.URLRequest?
1898
+ public let response: Foundation.HTTPURLResponse?
1899
+ public let fileURL: Foundation.URL?
1900
+ public let resumeData: Foundation.Data?
1901
+ public let metrics: Foundation.URLSessionTaskMetrics?
1902
+ public let serializationDuration: Foundation.TimeInterval
1903
+ public let result: Swift.Result<Success, Failure>
1904
+ public var value: Success? {
1905
+ get
1906
+ }
1907
+ public var error: Failure? {
1908
+ get
1909
+ }
1910
+ public init(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, resumeData: Foundation.Data?, metrics: Foundation.URLSessionTaskMetrics?, serializationDuration: Foundation.TimeInterval, result: Swift.Result<Success, Failure>)
1911
+ }
1912
+ extension PixelPaySDK.DownloadResponse : Swift.CustomStringConvertible, Swift.CustomDebugStringConvertible {
1913
+ public var description: Swift.String {
1914
+ get
1915
+ }
1916
+ public var debugDescription: Swift.String {
1917
+ get
1918
+ }
1919
+ }
1920
+ extension PixelPaySDK.DownloadResponse {
1921
+ public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Failure>
1922
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Swift.Error>
1923
+ public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, NewFailure> where NewFailure : Swift.Error
1924
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, Swift.Error> where NewFailure : Swift.Error
1925
+ }
1926
+ @_inheritsConvenienceInitializers public class CardTokenization : PixelPaySDK.RequestBehaviour {
1927
+ public var number: Swift.String?
1928
+ public var cvv2: Swift.String?
1929
+ public var expire_month: Swift.String?
1930
+ public var expire_year: Swift.String?
1931
+ public var cardholder: Swift.String?
1932
+ public var address: Swift.String?
1933
+ public var country: Swift.String?
1934
+ public var state: Swift.String?
1935
+ public var city: Swift.String?
1936
+ public var zip: Swift.String?
1937
+ public var phone: Swift.String?
1938
+ public var email: Swift.String?
1939
+ override public init()
1940
+ required public init(from: Swift.Decoder) throws
1941
+ override public func encode(to encoder: Swift.Encoder) throws
1942
+ public func setCard(card: PixelPaySDK.Card)
1943
+ public func setBilling(billing: PixelPaySDK.Billing)
1944
+ @objc deinit
1945
+ }
1946
+ @_inheritsConvenienceInitializers public class ErrorResponse : PixelPaySDK.Response {
1947
+ override public init()
1948
+ required public init(from decoder: Swift.Decoder) throws
1949
+ @objc deinit
1950
+ }
1951
+ public class Response : Swift.Codable {
1952
+ public var success: Swift.Bool
1953
+ public var message: Swift.String?
1954
+ public var action: Swift.String?
1955
+ public var data: PixelPaySDK.JSON?
1956
+ public var errors: PixelPaySDK.JSON?
1957
+ public var code: Swift.String?
1958
+ public init()
1959
+ public func setStatus(status: Swift.Int)
1960
+ public func getStatus() -> Swift.Int?
1961
+ public func inputHasError(key: Swift.String) -> Swift.Bool
1962
+ public func getData(key: Swift.String) -> PixelPaySDK.JSON
1963
+ public static func fromJson(body: Foundation.Data, status: Swift.Int) -> PixelPaySDK.Response
1964
+ @objc deinit
1965
+ public func encode(to encoder: Swift.Encoder) throws
1966
+ required public init(from decoder: Swift.Decoder) throws
1967
+ }
1968
+ public protocol DataResponseSerializerProtocol {
1969
+ associatedtype SerializedObject
1970
+ func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Self.SerializedObject
1971
+ }
1972
+ public protocol DownloadResponseSerializerProtocol {
1973
+ associatedtype SerializedObject
1974
+ func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
1975
+ }
1976
+ public protocol ResponseSerializer : PixelPaySDK.DataResponseSerializerProtocol, PixelPaySDK.DownloadResponseSerializerProtocol {
1977
+ var dataPreprocessor: PixelPaySDK.DataPreprocessor { get }
1978
+ var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> { get }
1979
+ var emptyResponseCodes: Swift.Set<Swift.Int> { get }
1980
+ }
1981
+ public protocol DataPreprocessor {
1982
+ func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
1983
+ }
1984
+ public struct PassthroughPreprocessor : PixelPaySDK.DataPreprocessor {
1985
+ public init()
1986
+ public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
1987
+ }
1988
+ public struct GoogleXSSIPreprocessor : PixelPaySDK.DataPreprocessor {
1989
+ public init()
1990
+ public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
1991
+ }
1992
+ extension PixelPaySDK.ResponseSerializer {
1993
+ public static var defaultDataPreprocessor: PixelPaySDK.DataPreprocessor {
1994
+ get
1995
+ }
1996
+ public static var defaultEmptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
1997
+ get
1998
+ }
1999
+ public static var defaultEmptyResponseCodes: Swift.Set<Swift.Int> {
2000
+ get
2001
+ }
2002
+ public var dataPreprocessor: PixelPaySDK.DataPreprocessor {
2003
+ get
2004
+ }
2005
+ public var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
2006
+ get
2007
+ }
2008
+ public var emptyResponseCodes: Swift.Set<Swift.Int> {
2009
+ get
2010
+ }
2011
+ public func requestAllowsEmptyResponseData(_ request: Foundation.URLRequest?) -> Swift.Bool?
2012
+ public func responseAllowsEmptyResponseData(_ response: Foundation.HTTPURLResponse?) -> Swift.Bool?
2013
+ public func emptyResponseAllowed(forRequest request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?) -> Swift.Bool
2014
+ }
2015
+ extension PixelPaySDK.DownloadResponseSerializerProtocol where Self : PixelPaySDK.DataResponseSerializerProtocol {
2016
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
2017
+ }
2018
+ extension PixelPaySDK.DataRequest {
2019
+ @discardableResult
2020
+ public func response(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data?>) -> Swift.Void) -> Self
2021
+ @discardableResult
2022
+ public func response<Serializer>(queue: Dispatch.DispatchQueue = .main, responseSerializer: Serializer, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Serializer.SerializedObject>) -> Swift.Void) -> Self where Serializer : PixelPaySDK.DataResponseSerializerProtocol
2023
+ }
2024
+ extension PixelPaySDK.DownloadRequest {
2025
+ @discardableResult
2026
+ public func response(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL?>) -> Swift.Void) -> Self
2027
+ @discardableResult
2028
+ public func response<Serializer>(queue: Dispatch.DispatchQueue = .main, responseSerializer: Serializer, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Serializer.SerializedObject>) -> Swift.Void) -> Self where Serializer : PixelPaySDK.DownloadResponseSerializerProtocol
2029
+ }
2030
+ public struct URLResponseSerializer : PixelPaySDK.DownloadResponseSerializerProtocol {
2031
+ public init()
2032
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Foundation.URL
2033
+ public typealias SerializedObject = Foundation.URL
2034
+ }
2035
+ extension PixelPaySDK.DownloadRequest {
2036
+ @discardableResult
2037
+ public func responseURL(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL>) -> Swift.Void) -> Self
2038
+ }
2039
+ final public class DataResponseSerializer : PixelPaySDK.ResponseSerializer {
2040
+ final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2041
+ final public let emptyResponseCodes: Swift.Set<Swift.Int>
2042
+ final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2043
+ public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
2044
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Foundation.Data
2045
+ public typealias SerializedObject = Foundation.Data
2046
+ @objc deinit
2047
+ }
2048
+ extension PixelPaySDK.DataRequest {
2049
+ @discardableResult
2050
+ public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data>) -> Swift.Void) -> Self
2051
+ }
2052
+ extension PixelPaySDK.DownloadRequest {
2053
+ @discardableResult
2054
+ public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.Data>) -> Swift.Void) -> Self
2055
+ }
2056
+ final public class StringResponseSerializer : PixelPaySDK.ResponseSerializer {
2057
+ final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2058
+ final public let encoding: Swift.String.Encoding?
2059
+ final public let emptyResponseCodes: Swift.Set<Swift.Int>
2060
+ final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2061
+ public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods)
2062
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Swift.String
2063
+ public typealias SerializedObject = Swift.String
2064
+ @objc deinit
2065
+ }
2066
+ extension PixelPaySDK.DataRequest {
2067
+ @discardableResult
2068
+ public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Swift.String>) -> Swift.Void) -> Self
2069
+ }
2070
+ extension PixelPaySDK.DownloadRequest {
2071
+ @discardableResult
2072
+ public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Swift.String>) -> Swift.Void) -> Self
2073
+ }
2074
+ final public class JSONResponseSerializer : PixelPaySDK.ResponseSerializer {
2075
+ final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2076
+ final public let emptyResponseCodes: Swift.Set<Swift.Int>
2077
+ final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2078
+ final public let options: Foundation.JSONSerialization.ReadingOptions
2079
+ public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments)
2080
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Any
2081
+ public typealias SerializedObject = Any
2082
+ @objc deinit
2083
+ }
2084
+ extension PixelPaySDK.DataRequest {
2085
+ @discardableResult
2086
+ public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Any>) -> Swift.Void) -> Self
2087
+ }
2088
+ extension PixelPaySDK.DownloadRequest {
2089
+ @discardableResult
2090
+ public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Any>) -> Swift.Void) -> Self
2091
+ }
2092
+ public protocol EmptyResponse {
2093
+ static func emptyValue() -> Self
2094
+ }
2095
+ public struct Empty : Swift.Codable {
2096
+ public static let value: PixelPaySDK.Empty
2097
+ public func encode(to encoder: Swift.Encoder) throws
2098
+ public init(from decoder: Swift.Decoder) throws
2099
+ }
2100
+ extension PixelPaySDK.Empty : PixelPaySDK.EmptyResponse {
2101
+ public static func emptyValue() -> PixelPaySDK.Empty
2102
+ }
2103
+ public protocol DataDecoder {
2104
+ func decode<D>(_ type: D.Type, from data: Foundation.Data) throws -> D where D : Swift.Decodable
2105
+ }
2106
+ extension Foundation.JSONDecoder : PixelPaySDK.DataDecoder {
2107
+ }
2108
+ extension Foundation.PropertyListDecoder : PixelPaySDK.DataDecoder {
2109
+ }
2110
+ final public class DecodableResponseSerializer<T> : PixelPaySDK.ResponseSerializer where T : Swift.Decodable {
2111
+ final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2112
+ final public let decoder: PixelPaySDK.DataDecoder
2113
+ final public let emptyResponseCodes: Swift.Set<Swift.Int>
2114
+ final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2115
+ public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer.defaultEmptyRequestMethods)
2116
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> T
2117
+ public typealias SerializedObject = T
2118
+ @objc deinit
2119
+ }
2120
+ extension PixelPaySDK.DataRequest {
2121
+ @discardableResult
2122
+ public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2123
+ }
2124
+ extension PixelPaySDK.DownloadRequest {
2125
+ @discardableResult
2126
+ public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2127
+ }
2128
+ public protocol DataStreamSerializer {
2129
+ associatedtype SerializedObject
2130
+ func serialize(_ data: Foundation.Data) throws -> Self.SerializedObject
2131
+ }
2132
+ public struct DecodableStreamSerializer<T> : PixelPaySDK.DataStreamSerializer where T : Swift.Decodable {
2133
+ public let decoder: PixelPaySDK.DataDecoder
2134
+ public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2135
+ public init(decoder: PixelPaySDK.DataDecoder = JSONDecoder(), dataPreprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor())
2136
+ public func serialize(_ data: Foundation.Data) throws -> T
2137
+ public typealias SerializedObject = T
2138
+ }
2139
+ public struct PassthroughStreamSerializer : PixelPaySDK.DataStreamSerializer {
2140
+ public func serialize(_ data: Foundation.Data) throws -> Foundation.Data
2141
+ public typealias SerializedObject = Foundation.Data
2142
+ }
2143
+ public struct StringStreamSerializer : PixelPaySDK.DataStreamSerializer {
2144
+ public func serialize(_ data: Foundation.Data) throws -> Swift.String
2145
+ public typealias SerializedObject = Swift.String
2146
+ }
2147
+ extension PixelPaySDK.DataStreamRequest {
2148
+ @discardableResult
2149
+ final public func responseStream(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Foundation.Data, Swift.Never>) -> Self
2150
+ @discardableResult
2151
+ final public func responseStream<Serializer>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Serializer.SerializedObject, PixelPaySDK.AFError>) -> Self where Serializer : PixelPaySDK.DataStreamSerializer
2152
+ @discardableResult
2153
+ final public func responseStreamString(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Swift.String, Swift.Never>) -> Self
2154
+ @discardableResult
2155
+ final public func responseStreamDecodable<T>(of type: T.Type = T.self, on queue: Dispatch.DispatchQueue = .main, using decoder: PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor(), stream: @escaping PixelPaySDK.DataStreamRequest.Handler<T, PixelPaySDK.AFError>) -> Self where T : Swift.Decodable
2156
+ }
2157
+ public protocol RedirectHandler {
2158
+ func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
2159
+ }
2160
+ public struct Redirector {
2161
+ public enum Behavior {
2162
+ case follow
2163
+ case doNotFollow
2164
+ case modify((Foundation.URLSessionTask, Foundation.URLRequest, Foundation.HTTPURLResponse) -> Foundation.URLRequest?)
2165
+ }
2166
+ public static let follow: PixelPaySDK.Redirector
2167
+ public static let doNotFollow: PixelPaySDK.Redirector
2168
+ public let behavior: PixelPaySDK.Redirector.Behavior
2169
+ public init(behavior: PixelPaySDK.Redirector.Behavior)
2170
+ }
2171
+ extension PixelPaySDK.Redirector : PixelPaySDK.RedirectHandler {
2172
+ public func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
2173
+ }
2174
+ open class MultipartFormData {
2175
+ public static let encodingMemoryThreshold: Swift.UInt64
2176
+ open var contentType: Swift.String {
2177
+ get
2178
+ set
2179
+ }
2180
+ public var contentLength: Swift.UInt64 {
2181
+ get
2182
+ }
2183
+ final public let boundary: Swift.String
2184
+ public init(fileManager: Foundation.FileManager = .default, boundary: Swift.String? = nil)
2185
+ public func append(_ data: Foundation.Data, withName name: Swift.String, fileName: Swift.String? = nil, mimeType: Swift.String? = nil)
2186
+ public func append(_ fileURL: Foundation.URL, withName name: Swift.String)
2187
+ public func append(_ fileURL: Foundation.URL, withName name: Swift.String, fileName: Swift.String, mimeType: Swift.String)
2188
+ public func append(_ stream: Foundation.InputStream, withLength length: Swift.UInt64, name: Swift.String, fileName: Swift.String, mimeType: Swift.String)
2189
+ public func append(_ stream: Foundation.InputStream, withLength length: Swift.UInt64, headers: PixelPaySDK.HTTPHeaders)
2190
+ public func encode() throws -> Foundation.Data
2191
+ public func writeEncodedData(to fileURL: Foundation.URL) throws
2192
+ @objc deinit
2193
+ }
2194
+ extension UIKit.UIView {
2195
+ @_Concurrency.MainActor(unsafe) public func showPixelPayLoader()
2196
+ @_Concurrency.MainActor(unsafe) public func removePixelPayLoader()
2197
+ }
2198
+ public typealias Parameters = [Swift.String : Any]
2199
+ public protocol ParameterEncoding {
2200
+ func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2201
+ }
2202
+ public struct URLEncoding : PixelPaySDK.ParameterEncoding {
2203
+ public enum Destination {
2204
+ case methodDependent
2205
+ case queryString
2206
+ case httpBody
2207
+ public static func == (a: PixelPaySDK.URLEncoding.Destination, b: PixelPaySDK.URLEncoding.Destination) -> Swift.Bool
2208
+ public func hash(into hasher: inout Swift.Hasher)
2209
+ public var hashValue: Swift.Int {
2210
+ get
2211
+ }
2212
+ }
2213
+ public enum ArrayEncoding {
2214
+ case brackets
2215
+ case noBrackets
2216
+ public static func == (a: PixelPaySDK.URLEncoding.ArrayEncoding, b: PixelPaySDK.URLEncoding.ArrayEncoding) -> Swift.Bool
2217
+ public func hash(into hasher: inout Swift.Hasher)
2218
+ public var hashValue: Swift.Int {
2219
+ get
2220
+ }
2221
+ }
2222
+ public enum BoolEncoding {
2223
+ case numeric
2224
+ case literal
2225
+ public static func == (a: PixelPaySDK.URLEncoding.BoolEncoding, b: PixelPaySDK.URLEncoding.BoolEncoding) -> Swift.Bool
2226
+ public func hash(into hasher: inout Swift.Hasher)
2227
+ public var hashValue: Swift.Int {
2228
+ get
2229
+ }
2230
+ }
2231
+ public static var `default`: PixelPaySDK.URLEncoding {
2232
+ get
2233
+ }
2234
+ public static var queryString: PixelPaySDK.URLEncoding {
2235
+ get
2236
+ }
2237
+ public static var httpBody: PixelPaySDK.URLEncoding {
2238
+ get
2239
+ }
2240
+ public let destination: PixelPaySDK.URLEncoding.Destination
2241
+ public let arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding
2242
+ public let boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding
2243
+ public init(destination: PixelPaySDK.URLEncoding.Destination = .methodDependent, arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding = .numeric)
2244
+ public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2245
+ public func queryComponents(fromKey key: Swift.String, value: Any) -> [(Swift.String, Swift.String)]
2246
+ public func escape(_ string: Swift.String) -> Swift.String
2247
+ }
2248
+ public struct JSONEncoding : PixelPaySDK.ParameterEncoding {
2249
+ public static var `default`: PixelPaySDK.JSONEncoding {
2250
+ get
2251
+ }
2252
+ public static var prettyPrinted: PixelPaySDK.JSONEncoding {
2253
+ get
2254
+ }
2255
+ public let options: Foundation.JSONSerialization.WritingOptions
2256
+ public init(options: Foundation.JSONSerialization.WritingOptions = [])
2257
+ public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2258
+ public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> Foundation.URLRequest
2259
+ }
2260
+ public struct AlamofireExtension<ExtendedType> {
2261
+ public var type: ExtendedType {
2262
+ get
2263
+ }
2264
+ public init(_ type: ExtendedType)
2265
+ }
2266
+ public protocol AlamofireExtended {
2267
+ associatedtype ExtendedType
2268
+ static var af: PixelPaySDK.AlamofireExtension<Self.ExtendedType>.Type { get set }
2269
+ var af: PixelPaySDK.AlamofireExtension<Self.ExtendedType> { get set }
2270
+ }
2271
+ extension PixelPaySDK.AlamofireExtended {
2272
+ public static var af: PixelPaySDK.AlamofireExtension<Self>.Type {
2273
+ get
2274
+ set
2275
+ }
2276
+ public var af: PixelPaySDK.AlamofireExtension<Self> {
2277
+ get
2278
+ set
2279
+ }
2280
+ }
2281
+ @objc open class SessionDelegate : ObjectiveC.NSObject {
2282
+ public init(fileManager: Foundation.FileManager = .default)
2283
+ @objc deinit
2284
+ }
2285
+ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDelegate {
2286
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
2287
+ }
2288
+ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
2289
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge, completionHandler: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
2290
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
2291
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, needNewBodyStream completionHandler: @escaping (Foundation.InputStream?) -> Swift.Void)
2292
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest, completionHandler: @escaping (Foundation.URLRequest?) -> Swift.Void)
2293
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
2294
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
2295
+ @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
2296
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
2297
+ }
2298
+ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDataDelegate {
2299
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
2300
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse, completionHandler: @escaping (Foundation.CachedURLResponse?) -> Swift.Void)
2301
+ }
2302
+ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDownloadDelegate {
2303
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didResumeAtOffset fileOffset: Swift.Int64, expectedTotalBytes: Swift.Int64)
2304
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didWriteData bytesWritten: Swift.Int64, totalBytesWritten: Swift.Int64, totalBytesExpectedToWrite: Swift.Int64)
2305
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, downloadTask: Foundation.URLSessionDownloadTask, didFinishDownloadingTo location: Foundation.URL)
2306
+ }
2307
+ extension PixelPaySDK.Request {
2308
+ public static let didResumeNotification: Foundation.Notification.Name
2309
+ public static let didSuspendNotification: Foundation.Notification.Name
2310
+ public static let didCancelNotification: Foundation.Notification.Name
2311
+ public static let didFinishNotification: Foundation.Notification.Name
2312
+ public static let didResumeTaskNotification: Foundation.Notification.Name
2313
+ public static let didSuspendTaskNotification: Foundation.Notification.Name
2314
+ public static let didCancelTaskNotification: Foundation.Notification.Name
2315
+ public static let didCompleteTaskNotification: Foundation.Notification.Name
2316
+ }
2317
+ extension Foundation.Notification {
2318
+ public var request: PixelPaySDK.Request? {
2319
+ get
2320
+ }
2321
+ }
2322
+ @_hasMissingDesignatedInitializers final public class AlamofireNotifications : PixelPaySDK.EventMonitor {
2323
+ final public func requestDidResume(_ request: PixelPaySDK.Request)
2324
+ final public func requestDidSuspend(_ request: PixelPaySDK.Request)
2325
+ final public func requestDidCancel(_ request: PixelPaySDK.Request)
2326
+ final public func requestDidFinish(_ request: PixelPaySDK.Request)
2327
+ final public func request(_ request: PixelPaySDK.Request, didResumeTask task: Foundation.URLSessionTask)
2328
+ final public func request(_ request: PixelPaySDK.Request, didSuspendTask task: Foundation.URLSessionTask)
2329
+ final public func request(_ request: PixelPaySDK.Request, didCancelTask task: Foundation.URLSessionTask)
2330
+ final public func request(_ request: PixelPaySDK.Request, didCompleteTask task: Foundation.URLSessionTask, with error: PixelPaySDK.AFError?)
2331
+ @objc deinit
2332
+ }
2333
+ open class RetryPolicy : PixelPaySDK.RequestInterceptor {
2334
+ public static let defaultRetryLimit: Swift.UInt
2335
+ public static let defaultExponentialBackoffBase: Swift.UInt
2336
+ public static let defaultExponentialBackoffScale: Swift.Double
2337
+ public static let defaultRetryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2338
+ public static let defaultRetryableHTTPStatusCodes: Swift.Set<Swift.Int>
2339
+ public static let defaultRetryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
2340
+ final public let retryLimit: Swift.UInt
2341
+ final public let exponentialBackoffBase: Swift.UInt
2342
+ final public let exponentialBackoffScale: Swift.Double
2343
+ final public let retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2344
+ final public let retryableHTTPStatusCodes: Swift.Set<Swift.Int>
2345
+ final public let retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
2346
+ public init(retryLimit: Swift.UInt = RetryPolicy.defaultRetryLimit, exponentialBackoffBase: Swift.UInt = RetryPolicy.defaultExponentialBackoffBase, exponentialBackoffScale: Swift.Double = RetryPolicy.defaultExponentialBackoffScale, retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod> = RetryPolicy.defaultRetryableHTTPMethods, retryableHTTPStatusCodes: Swift.Set<Swift.Int> = RetryPolicy.defaultRetryableHTTPStatusCodes, retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code> = RetryPolicy.defaultRetryableURLErrorCodes)
2347
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
2348
+ open func shouldRetry(request: PixelPaySDK.Request, dueTo error: Swift.Error) -> Swift.Bool
2349
+ @objc deinit
2350
+ }
2351
+ open class ConnectionLostRetryPolicy : PixelPaySDK.RetryPolicy {
2352
+ public init(retryLimit: Swift.UInt = RetryPolicy.defaultRetryLimit, exponentialBackoffBase: Swift.UInt = RetryPolicy.defaultExponentialBackoffBase, exponentialBackoffScale: Swift.Double = RetryPolicy.defaultExponentialBackoffScale, retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod> = RetryPolicy.defaultRetryableHTTPMethods)
2353
+ @objc deinit
2354
+ }
2355
+ extension Swift.Encodable {
2356
+ public var requestDictionary: [Swift.String : Any]? {
2357
+ get
2358
+ }
2359
+ public func toJson() -> Swift.String
2360
+ }
2361
+ extension Swift.String {
2362
+ public func toMD5() -> Swift.String
2363
+ }
2364
+ public protocol ParameterEncoder {
2365
+ func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
2366
+ }
2367
+ open class JSONParameterEncoder : PixelPaySDK.ParameterEncoder {
2368
+ public static var `default`: PixelPaySDK.JSONParameterEncoder {
2369
+ get
2370
+ }
2371
+ public static var prettyPrinted: PixelPaySDK.JSONParameterEncoder {
2372
+ get
2373
+ }
2374
+ @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
2375
+ public static var sortedKeys: PixelPaySDK.JSONParameterEncoder {
2376
+ get
2377
+ }
2378
+ final public let encoder: Foundation.JSONEncoder
2379
+ public init(encoder: Foundation.JSONEncoder = JSONEncoder())
2380
+ open func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
2381
+ @objc deinit
2382
+ }
2383
+ open class URLEncodedFormParameterEncoder : PixelPaySDK.ParameterEncoder {
2384
+ public enum Destination {
2385
+ case methodDependent
2386
+ case queryString
2387
+ case httpBody
2388
+ public static func == (a: PixelPaySDK.URLEncodedFormParameterEncoder.Destination, b: PixelPaySDK.URLEncodedFormParameterEncoder.Destination) -> Swift.Bool
2389
+ public func hash(into hasher: inout Swift.Hasher)
2390
+ public var hashValue: Swift.Int {
2391
+ get
2392
+ }
2393
+ }
2394
+ public static var `default`: PixelPaySDK.URLEncodedFormParameterEncoder {
2395
+ get
2396
+ }
2397
+ final public let encoder: PixelPaySDK.URLEncodedFormEncoder
2398
+ final public let destination: PixelPaySDK.URLEncodedFormParameterEncoder.Destination
2399
+ public init(encoder: PixelPaySDK.URLEncodedFormEncoder = URLEncodedFormEncoder(), destination: PixelPaySDK.URLEncodedFormParameterEncoder.Destination = .methodDependent)
2400
+ open func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
2401
+ @objc deinit
2402
+ }
2403
+ public class RequestBehaviour : Swift.Codable {
2404
+ public var env: Swift.String?
2405
+ public var lang: Swift.String?
2406
+ public var from: Swift.String?
2407
+ public var sdk_version: Swift.String?
2408
+ public init()
2409
+ @objc deinit
2410
+ public func encode(to encoder: Swift.Encoder) throws
2411
+ required public init(from decoder: Swift.Decoder) throws
2412
+ }
2413
+ @_inheritsConvenienceInitializers public class FailureResponse : PixelPaySDK.Response {
2414
+ override public init()
2415
+ required public init(from decoder: Swift.Decoder) throws
2416
+ @objc deinit
2417
+ }
2418
+ extension Foundation.URLRequest {
2419
+ public var method: PixelPaySDK.HTTPMethod? {
2420
+ get
2421
+ set
2422
+ }
2423
+ public func validate() throws
2424
+ }
2425
+ @_hasMissingDesignatedInitializers public class TransactionResult : Swift.Codable {
2426
+ public var transaction_type: Swift.String?
2427
+ public var transaction_approved_amount: Swift.Double?
2428
+ public var transaction_amount: Swift.Double?
2429
+ public var transaction_auth: Swift.String?
2430
+ public var transaction_terminal: Swift.String?
2431
+ public var transaction_merchant: Swift.String?
2432
+ public var response_cvn: Swift.String?
2433
+ public var response_avs: Swift.String?
2434
+ public var response_cavv: Swift.String?
2435
+ public var transaction_id: Swift.String?
2436
+ public var transaction_reference: Swift.String?
2437
+ public var transaction_time: Swift.String?
2438
+ public var transaction_date: Swift.String?
2439
+ public var response_approved: Swift.Bool?
2440
+ public var response_incomplete: Swift.Bool?
2441
+ public var response_code: Swift.String?
2442
+ public var response_time: Swift.String?
2443
+ public var response_reason: Swift.String?
2444
+ public var payment_uuid: Swift.String?
2445
+ public var payment_hash: Swift.String?
2446
+ public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
2447
+ public static func fromResponse(response: PixelPaySDK.Response) -> PixelPaySDK.TransactionResult
2448
+ @objc deinit
2449
+ public func encode(to encoder: Swift.Encoder) throws
2450
+ required public init(from decoder: Swift.Decoder) throws
2451
+ }
2452
+ @_hasMissingDesignatedInitializers open class NetworkReachabilityManager {
2453
+ public enum NetworkReachabilityStatus {
2454
+ case unknown
2455
+ case notReachable
2456
+ case reachable(PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType)
2457
+ public enum ConnectionType {
2458
+ case ethernetOrWiFi
2459
+ case cellular
2460
+ public static func == (a: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType, b: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType) -> Swift.Bool
2461
+ public func hash(into hasher: inout Swift.Hasher)
2462
+ public var hashValue: Swift.Int {
2463
+ get
2464
+ }
2465
+ }
2466
+ }
2467
+ public typealias Listener = (PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus) -> Swift.Void
2468
+ public static let `default`: PixelPaySDK.NetworkReachabilityManager?
2469
+ open var isReachable: Swift.Bool {
2470
+ get
2471
+ }
2472
+ open var isReachableOnCellular: Swift.Bool {
2473
+ get
2474
+ }
2475
+ open var isReachableOnEthernetOrWiFi: Swift.Bool {
2476
+ get
2477
+ }
2478
+ final public let reachabilityQueue: Dispatch.DispatchQueue
2479
+ open var flags: SystemConfiguration.SCNetworkReachabilityFlags? {
2480
+ get
2481
+ }
2482
+ open var status: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus {
2483
+ get
2484
+ }
2485
+ convenience public init?(host: Swift.String)
2486
+ convenience public init?()
2487
+ @objc deinit
2488
+ @discardableResult
2489
+ open func startListening(onQueue queue: Dispatch.DispatchQueue = .main, onUpdatePerforming listener: @escaping PixelPaySDK.NetworkReachabilityManager.Listener) -> Swift.Bool
2490
+ open func stopListening()
2491
+ }
2492
+ extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus : Swift.Equatable {
2493
+ public static func == (a: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus, b: PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus) -> Swift.Bool
2494
+ }
2495
+ public class ServiceBehaviour {
2496
+ public init(settings: PixelPaySDK.Settings)
2497
+ public func showLoader()
2498
+ public func hideLoader()
2499
+ @objc deinit
2500
+ }
2501
+ extension PixelPaySDK.Request.State : Swift.Equatable {}
2502
+ extension PixelPaySDK.Request.State : Swift.Hashable {}
2503
+ extension PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding : Swift.Equatable {}
2504
+ extension PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding : Swift.Hashable {}
2505
+ extension PixelPaySDK.URLEncodedFormEncoder.BoolEncoding : Swift.Equatable {}
2506
+ extension PixelPaySDK.URLEncodedFormEncoder.BoolEncoding : Swift.Hashable {}
2507
+ extension PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding : Swift.Equatable {}
2508
+ extension PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding : Swift.Hashable {}
2509
+ extension PixelPaySDK.SwiftyJSONError : Swift.Equatable {}
2510
+ extension PixelPaySDK.SwiftyJSONError : Swift.Hashable {}
2511
+ extension PixelPaySDK.SwiftyJSONError : Swift.RawRepresentable {}
2512
+ extension PixelPaySDK.`Type` : Swift.Equatable {}
2513
+ extension PixelPaySDK.`Type` : Swift.Hashable {}
2514
+ extension PixelPaySDK.`Type` : Swift.RawRepresentable {}
2515
+ extension PixelPaySDK.writingOptionsKeys : Swift.Equatable {}
2516
+ extension PixelPaySDK.writingOptionsKeys : Swift.Hashable {}
2517
+ extension PixelPaySDK.AuthenticationError : Swift.Equatable {}
2518
+ extension PixelPaySDK.AuthenticationError : Swift.Hashable {}
2519
+ extension PixelPaySDK.URLEncoding.Destination : Swift.Equatable {}
2520
+ extension PixelPaySDK.URLEncoding.Destination : Swift.Hashable {}
2521
+ extension PixelPaySDK.URLEncoding.ArrayEncoding : Swift.Equatable {}
2522
+ extension PixelPaySDK.URLEncoding.ArrayEncoding : Swift.Hashable {}
2523
+ extension PixelPaySDK.URLEncoding.BoolEncoding : Swift.Equatable {}
2524
+ extension PixelPaySDK.URLEncoding.BoolEncoding : Swift.Hashable {}
2525
+ extension PixelPaySDK.URLEncodedFormParameterEncoder.Destination : Swift.Equatable {}
2526
+ extension PixelPaySDK.URLEncodedFormParameterEncoder.Destination : Swift.Hashable {}
2527
+ extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType : Swift.Equatable {}
2528
+ extension PixelPaySDK.NetworkReachabilityManager.NetworkReachabilityStatus.ConnectionType : Swift.Hashable {}