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