react-native-hyperpay-sdk 0.1.0 → 0.2.0

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 (328) hide show
  1. package/LICENSE +1 -2
  2. package/README.md +8 -6
  3. package/android/build.gradle +116 -40
  4. package/android/gradle.properties +5 -0
  5. package/android/src/main/AndroidManifest.xml +1 -1
  6. package/android/src/main/java/com/{reactnativehyperpay/HyperPayModule.java → reactnativehyperpaysdk/HyperpaySdkModule.java} +7 -8
  7. package/android/src/main/java/com/{reactnativehyperpay/HyperPayPackage.java → reactnativehyperpaysdk/HyperpaySdkPackage.java} +3 -3
  8. package/ios/HyperpaySdk.h +5 -0
  9. package/ios/HyperpaySdk.mm +31 -0
  10. package/ios/{HyperPay.xcodeproj → HyperpaySdk.xcodeproj}/project.pbxproj +20 -28
  11. package/ios/{HyperPay.xcodeproj → HyperpaySdk.xcodeproj}/project.xcworkspace/contents.xcworkspacedata +0 -0
  12. package/lib/commonjs/index.js +24 -0
  13. package/lib/commonjs/index.js.map +1 -0
  14. package/lib/module/index.js +15 -0
  15. package/lib/module/index.js.map +1 -0
  16. package/lib/typescript/index.d.ts +1 -0
  17. package/package.json +30 -27
  18. package/react-native-hyperpay-sdk.podspec +40 -0
  19. package/src/index.tsx +3 -5
  20. package/OPPWAMobile-Resources.bundle/Info.plist +0 -0
  21. package/OPPWAMobile-Resources.bundle/Klarna.json +0 -67
  22. package/OPPWAMobile-Resources.bundle/OPPBrandCollectionViewCell.nib +0 -0
  23. package/OPPWAMobile-Resources.bundle/OPPCardDetailsViewController.nib +0 -0
  24. package/OPPWAMobile-Resources.bundle/OPPCardsTableViewCell.nib +0 -0
  25. package/OPPWAMobile-Resources.bundle/OPPCheckoutTextFieldView.nib +0 -0
  26. package/OPPWAMobile-Resources.bundle/OPPChinaUnionPayDetailsViewController.nib +0 -0
  27. package/OPPWAMobile-Resources.bundle/OPPDirectDebitDetailsViewController.nib +0 -0
  28. package/OPPWAMobile-Resources.bundle/OPPGiropayDetailsViewController.nib +0 -0
  29. package/OPPWAMobile-Resources.bundle/OPPIkanoDetailsViewController.nib +0 -0
  30. package/OPPWAMobile-Resources.bundle/OPPKlarnaDetailsViewController.nib +0 -0
  31. package/OPPWAMobile-Resources.bundle/OPPKlarnaTableViewCell.nib +0 -0
  32. package/OPPWAMobile-Resources.bundle/OPPListDetailsViewController.nib +0 -0
  33. package/OPPWAMobile-Resources.bundle/OPPMBWAYDetailsViewController.nib +0 -0
  34. package/OPPWAMobile-Resources.bundle/OPPPaymentFormHeaderView.nib +0 -0
  35. package/OPPWAMobile-Resources.bundle/OPPPaymentProcessingViewController.nib +0 -0
  36. package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeTableViewCell.nib +0 -0
  37. package/OPPWAMobile-Resources.bundle/OPPPaymentSchemeViewController.nib +0 -0
  38. package/OPPWAMobile-Resources.bundle/OPPStorePaymentDetailsView.nib +0 -0
  39. package/OPPWAMobile-Resources.bundle/OPPTokenCollectionViewCell.nib +0 -0
  40. package/OPPWAMobile-Resources.bundle/OPPTokensTableViewCell.nib +0 -0
  41. package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/objects-11.0+.nib +0 -0
  42. package/OPPWAMobile-Resources.bundle/OPPTotalAmountView.nib/runtime.nib +0 -0
  43. package/OPPWAMobile-Resources.bundle/alipay.png +0 -0
  44. package/OPPWAMobile-Resources.bundle/alipay@2x.png +0 -0
  45. package/OPPWAMobile-Resources.bundle/alipay@3x.png +0 -0
  46. package/OPPWAMobile-Resources.bundle/amex.png +0 -0
  47. package/OPPWAMobile-Resources.bundle/amex@2x.png +0 -0
  48. package/OPPWAMobile-Resources.bundle/amex@3x.png +0 -0
  49. package/OPPWAMobile-Resources.bundle/applepay.png +0 -0
  50. package/OPPWAMobile-Resources.bundle/applepay@2x.png +0 -0
  51. package/OPPWAMobile-Resources.bundle/applepay@3x.png +0 -0
  52. package/OPPWAMobile-Resources.bundle/ar.lproj/OPPCheckout.strings +0 -89
  53. package/OPPWAMobile-Resources.bundle/arrow_down.png +0 -0
  54. package/OPPWAMobile-Resources.bundle/arrow_up.png +0 -0
  55. package/OPPWAMobile-Resources.bundle/boleto.png +0 -0
  56. package/OPPWAMobile-Resources.bundle/boleto@2x.png +0 -0
  57. package/OPPWAMobile-Resources.bundle/boleto@3x.png +0 -0
  58. package/OPPWAMobile-Resources.bundle/ca.lproj/OPPCheckout.strings +0 -90
  59. package/OPPWAMobile-Resources.bundle/camera_icon.png +0 -0
  60. package/OPPWAMobile-Resources.bundle/camera_icon@2x.png +0 -0
  61. package/OPPWAMobile-Resources.bundle/camera_icon@3x.png +0 -0
  62. package/OPPWAMobile-Resources.bundle/card.png +0 -0
  63. package/OPPWAMobile-Resources.bundle/card@2x.png +0 -0
  64. package/OPPWAMobile-Resources.bundle/card@3x.png +0 -0
  65. package/OPPWAMobile-Resources.bundle/cartebleue.png +0 -0
  66. package/OPPWAMobile-Resources.bundle/cartebleue@2x.png +0 -0
  67. package/OPPWAMobile-Resources.bundle/cartebleue@3x.png +0 -0
  68. package/OPPWAMobile-Resources.bundle/dankort.png +0 -0
  69. package/OPPWAMobile-Resources.bundle/dankort@2x.png +0 -0
  70. package/OPPWAMobile-Resources.bundle/dankort@3x.png +0 -0
  71. package/OPPWAMobile-Resources.bundle/de.lproj/OPPCheckout.strings +0 -99
  72. package/OPPWAMobile-Resources.bundle/diners.png +0 -0
  73. package/OPPWAMobile-Resources.bundle/diners@2x.png +0 -0
  74. package/OPPWAMobile-Resources.bundle/diners@3x.png +0 -0
  75. package/OPPWAMobile-Resources.bundle/directdebit_sepa.png +0 -0
  76. package/OPPWAMobile-Resources.bundle/directdebit_sepa@2x.png +0 -0
  77. package/OPPWAMobile-Resources.bundle/directdebit_sepa@3x.png +0 -0
  78. package/OPPWAMobile-Resources.bundle/discover.png +0 -0
  79. package/OPPWAMobile-Resources.bundle/discover@2x.png +0 -0
  80. package/OPPWAMobile-Resources.bundle/discover@3x.png +0 -0
  81. package/OPPWAMobile-Resources.bundle/en.lproj/OPPCheckout.strings +0 -145
  82. package/OPPWAMobile-Resources.bundle/es.lproj/OPPCheckout.strings +0 -92
  83. package/OPPWAMobile-Resources.bundle/eu-ES.lproj/OPPCheckout.strings +0 -92
  84. package/OPPWAMobile-Resources.bundle/fr-CA.lproj/OPPCheckout.strings +0 -93
  85. package/OPPWAMobile-Resources.bundle/fr.lproj/OPPCheckout.strings +0 -93
  86. package/OPPWAMobile-Resources.bundle/giropay.png +0 -0
  87. package/OPPWAMobile-Resources.bundle/giropay@2x.png +0 -0
  88. package/OPPWAMobile-Resources.bundle/giropay@3x.png +0 -0
  89. package/OPPWAMobile-Resources.bundle/gl-ES.lproj/OPPCheckout.strings +0 -92
  90. package/OPPWAMobile-Resources.bundle/ideal.png +0 -0
  91. package/OPPWAMobile-Resources.bundle/ideal@2x.png +0 -0
  92. package/OPPWAMobile-Resources.bundle/ideal@3x.png +0 -0
  93. package/OPPWAMobile-Resources.bundle/it.lproj/OPPCheckout.strings +0 -94
  94. package/OPPWAMobile-Resources.bundle/ja.lproj/OPPCheckout.strings +0 -74
  95. package/OPPWAMobile-Resources.bundle/jcb.png +0 -0
  96. package/OPPWAMobile-Resources.bundle/jcb@2x.png +0 -0
  97. package/OPPWAMobile-Resources.bundle/jcb@3x.png +0 -0
  98. package/OPPWAMobile-Resources.bundle/klarna.png +0 -0
  99. package/OPPWAMobile-Resources.bundle/klarna@2x.png +0 -0
  100. package/OPPWAMobile-Resources.bundle/klarna@3x.png +0 -0
  101. package/OPPWAMobile-Resources.bundle/klarna_detail_logo.png +0 -0
  102. package/OPPWAMobile-Resources.bundle/klarna_detail_logo@2x.png +0 -0
  103. package/OPPWAMobile-Resources.bundle/klarna_detail_logo@3x.png +0 -0
  104. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement.png +0 -0
  105. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@2x.png +0 -0
  106. package/OPPWAMobile-Resources.bundle/klarna_nl_agreement@3x.png +0 -0
  107. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay.png +0 -0
  108. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@2x.png +0 -0
  109. package/OPPWAMobile-Resources.bundle/klarna_payments_billpay@3x.png +0 -0
  110. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater.png +0 -0
  111. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@2x.png +0 -0
  112. package/OPPWAMobile-Resources.bundle/klarna_payments_paylater@3x.png +0 -0
  113. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit.png +0 -0
  114. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@2x.png +0 -0
  115. package/OPPWAMobile-Resources.bundle/klarna_payments_sliceit@3x.png +0 -0
  116. package/OPPWAMobile-Resources.bundle/mada.png +0 -0
  117. package/OPPWAMobile-Resources.bundle/mada@2x.png +0 -0
  118. package/OPPWAMobile-Resources.bundle/mada@3x.png +0 -0
  119. package/OPPWAMobile-Resources.bundle/maestro.png +0 -0
  120. package/OPPWAMobile-Resources.bundle/maestro@2x.png +0 -0
  121. package/OPPWAMobile-Resources.bundle/maestro@3x.png +0 -0
  122. package/OPPWAMobile-Resources.bundle/master.png +0 -0
  123. package/OPPWAMobile-Resources.bundle/master@2x.png +0 -0
  124. package/OPPWAMobile-Resources.bundle/master@3x.png +0 -0
  125. package/OPPWAMobile-Resources.bundle/masterdebit.png +0 -0
  126. package/OPPWAMobile-Resources.bundle/masterdebit@2x.png +0 -0
  127. package/OPPWAMobile-Resources.bundle/masterdebit@3x.png +0 -0
  128. package/OPPWAMobile-Resources.bundle/masterpass.png +0 -0
  129. package/OPPWAMobile-Resources.bundle/masterpass@2x.png +0 -0
  130. package/OPPWAMobile-Resources.bundle/masterpass@3x.png +0 -0
  131. package/OPPWAMobile-Resources.bundle/nl.lproj/OPPCheckout.strings +0 -91
  132. package/OPPWAMobile-Resources.bundle/paydirekt.png +0 -0
  133. package/OPPWAMobile-Resources.bundle/paydirekt@2x.png +0 -0
  134. package/OPPWAMobile-Resources.bundle/paydirekt@3x.png +0 -0
  135. package/OPPWAMobile-Resources.bundle/paypal.png +0 -0
  136. package/OPPWAMobile-Resources.bundle/paypal@2x.png +0 -0
  137. package/OPPWAMobile-Resources.bundle/paypal@3x.png +0 -0
  138. package/OPPWAMobile-Resources.bundle/paysafecard.png +0 -0
  139. package/OPPWAMobile-Resources.bundle/paysafecard@2x.png +0 -0
  140. package/OPPWAMobile-Resources.bundle/paysafecard@3x.png +0 -0
  141. package/OPPWAMobile-Resources.bundle/paytrail.png +0 -0
  142. package/OPPWAMobile-Resources.bundle/paytrail@2x.png +0 -0
  143. package/OPPWAMobile-Resources.bundle/paytrail@3x.png +0 -0
  144. package/OPPWAMobile-Resources.bundle/pf_karte_direct.png +0 -0
  145. package/OPPWAMobile-Resources.bundle/pf_karte_direct@2x.png +0 -0
  146. package/OPPWAMobile-Resources.bundle/pf_karte_direct@3x.png +0 -0
  147. package/OPPWAMobile-Resources.bundle/przelewy.png +0 -0
  148. package/OPPWAMobile-Resources.bundle/przelewy@2x.png +0 -0
  149. package/OPPWAMobile-Resources.bundle/przelewy@3x.png +0 -0
  150. package/OPPWAMobile-Resources.bundle/pt.lproj/OPPCheckout.strings +0 -91
  151. package/OPPWAMobile-Resources.bundle/ratenkauf.png +0 -0
  152. package/OPPWAMobile-Resources.bundle/ratenkauf@2x.png +0 -0
  153. package/OPPWAMobile-Resources.bundle/ratenkauf@3x.png +0 -0
  154. package/OPPWAMobile-Resources.bundle/ru.lproj/OPPCheckout.strings +0 -91
  155. package/OPPWAMobile-Resources.bundle/sibs_multibanco.png +0 -0
  156. package/OPPWAMobile-Resources.bundle/sibs_multibanco@2x.png +0 -0
  157. package/OPPWAMobile-Resources.bundle/sibs_multibanco@3x.png +0 -0
  158. package/OPPWAMobile-Resources.bundle/sofortueberweisung.png +0 -0
  159. package/OPPWAMobile-Resources.bundle/sofortueberweisung@2x.png +0 -0
  160. package/OPPWAMobile-Resources.bundle/sofortueberweisung@3x.png +0 -0
  161. package/OPPWAMobile-Resources.bundle/th.lproj/OPPCheckout.strings +0 -91
  162. package/OPPWAMobile-Resources.bundle/trustly.png +0 -0
  163. package/OPPWAMobile-Resources.bundle/trustly@2x.png +0 -0
  164. package/OPPWAMobile-Resources.bundle/trustly@3x.png +0 -0
  165. package/OPPWAMobile-Resources.bundle/unionpay.png +0 -0
  166. package/OPPWAMobile-Resources.bundle/unionpay@2x.png +0 -0
  167. package/OPPWAMobile-Resources.bundle/unionpay@3x.png +0 -0
  168. package/OPPWAMobile-Resources.bundle/version.plist +0 -0
  169. package/OPPWAMobile-Resources.bundle/visa.png +0 -0
  170. package/OPPWAMobile-Resources.bundle/visa@2x.png +0 -0
  171. package/OPPWAMobile-Resources.bundle/visa@3x.png +0 -0
  172. package/OPPWAMobile-Resources.bundle/visadebit.png +0 -0
  173. package/OPPWAMobile-Resources.bundle/visadebit@2x.png +0 -0
  174. package/OPPWAMobile-Resources.bundle/visadebit@3x.png +0 -0
  175. package/OPPWAMobile-Resources.bundle/visaelectron.png +0 -0
  176. package/OPPWAMobile-Resources.bundle/visaelectron@2x.png +0 -0
  177. package/OPPWAMobile-Resources.bundle/visaelectron@3x.png +0 -0
  178. package/OPPWAMobile-Resources.bundle/yandex.png +0 -0
  179. package/OPPWAMobile-Resources.bundle/yandex@2x.png +0 -0
  180. package/OPPWAMobile-Resources.bundle/yandex@3x.png +0 -0
  181. package/OPPWAMobile-Resources.bundle/zh-Hans.lproj/OPPCheckout.strings +0 -92
  182. package/OPPWAMobile.framework/.DS_Store +0 -0
  183. package/OPPWAMobile.framework/Headers/OPPAlipayPaymentParams.h +0 -49
  184. package/OPPWAMobile.framework/Headers/OPPApplePayPaymentParams.h +0 -64
  185. package/OPPWAMobile.framework/Headers/OPPApplePayRequestStatus.h +0 -117
  186. package/OPPWAMobile.framework/Headers/OPPBankAccount.h +0 -58
  187. package/OPPWAMobile.framework/Headers/OPPBankAccountPaymentParams.h +0 -171
  188. package/OPPWAMobile.framework/Headers/OPPCard.h +0 -68
  189. package/OPPWAMobile.framework/Headers/OPPCardPaymentParams.h +0 -251
  190. package/OPPWAMobile.framework/Headers/OPPCheckoutInfo.h +0 -130
  191. package/OPPWAMobile.framework/Headers/OPPCheckoutPaymentMethod.h +0 -51
  192. package/OPPWAMobile.framework/Headers/OPPCheckoutProvider.h +0 -197
  193. package/OPPWAMobile.framework/Headers/OPPCheckoutSettings.h +0 -185
  194. package/OPPWAMobile.framework/Headers/OPPCheckoutTheme.h +0 -268
  195. package/OPPWAMobile.framework/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
  196. package/OPPWAMobile.framework/Headers/OPPErrors.h +0 -183
  197. package/OPPWAMobile.framework/Headers/OPPIkanoOiPaymentParams.h +0 -74
  198. package/OPPWAMobile.framework/Headers/OPPMBWayPaymentParams.h +0 -66
  199. package/OPPWAMobile.framework/Headers/OPPPayPalPaymentParams.h +0 -48
  200. package/OPPWAMobile.framework/Headers/OPPPaymentBrandsConfig.h +0 -56
  201. package/OPPWAMobile.framework/Headers/OPPPaymentButton.h +0 -79
  202. package/OPPWAMobile.framework/Headers/OPPPaymentParams.h +0 -100
  203. package/OPPWAMobile.framework/Headers/OPPPaymentParamsBrand.h +0 -57
  204. package/OPPWAMobile.framework/Headers/OPPPaymentProvider.h +0 -132
  205. package/OPPWAMobile.framework/Headers/OPPSecurityPolicy.h +0 -87
  206. package/OPPWAMobile.framework/Headers/OPPToken.h +0 -95
  207. package/OPPWAMobile.framework/Headers/OPPTokenPaymentParams.h +0 -180
  208. package/OPPWAMobile.framework/Headers/OPPTransaction.h +0 -77
  209. package/OPPWAMobile.framework/Headers/OPPWAMobile.h +0 -48
  210. package/OPPWAMobile.framework/OPPWAMobile +0 -0
  211. package/OPPWAMobile.framework/Resources/Info.plist +0 -0
  212. package/OPPWAMobile.framework/Versions/.DS_Store +0 -0
  213. package/OPPWAMobile.framework/Versions/2.47.0/.DS_Store +0 -0
  214. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPAlipayPaymentParams.h +0 -49
  215. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayPaymentParams.h +0 -64
  216. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayRequestStatus.h +0 -117
  217. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccount.h +0 -58
  218. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccountPaymentParams.h +0 -171
  219. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCard.h +0 -68
  220. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCardPaymentParams.h +0 -251
  221. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutInfo.h +0 -130
  222. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutPaymentMethod.h +0 -51
  223. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutProvider.h +0 -197
  224. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutSettings.h +0 -185
  225. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutTheme.h +0 -268
  226. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
  227. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPErrors.h +0 -183
  228. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPIkanoOiPaymentParams.h +0 -74
  229. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPMBWayPaymentParams.h +0 -66
  230. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPayPalPaymentParams.h +0 -48
  231. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentBrandsConfig.h +0 -56
  232. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentButton.h +0 -79
  233. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParams.h +0 -100
  234. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParamsBrand.h +0 -57
  235. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentProvider.h +0 -132
  236. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPSecurityPolicy.h +0 -87
  237. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPToken.h +0 -95
  238. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTokenPaymentParams.h +0 -180
  239. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTransaction.h +0 -77
  240. package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPWAMobile.h +0 -48
  241. package/OPPWAMobile.framework/Versions/2.47.0/OPPWAMobile +0 -0
  242. package/OPPWAMobile.framework/Versions/2.47.0/Resources/Info.plist +0 -0
  243. package/OPPWAMobile.framework/Versions/Current/.DS_Store +0 -0
  244. package/OPPWAMobile.framework/Versions/Current/Headers/OPPAlipayPaymentParams.h +0 -49
  245. package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayPaymentParams.h +0 -64
  246. package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayRequestStatus.h +0 -117
  247. package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccount.h +0 -58
  248. package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccountPaymentParams.h +0 -171
  249. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCard.h +0 -68
  250. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCardPaymentParams.h +0 -251
  251. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutInfo.h +0 -130
  252. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutPaymentMethod.h +0 -51
  253. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutProvider.h +0 -197
  254. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutSettings.h +0 -185
  255. package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutTheme.h +0 -268
  256. package/OPPWAMobile.framework/Versions/Current/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
  257. package/OPPWAMobile.framework/Versions/Current/Headers/OPPErrors.h +0 -183
  258. package/OPPWAMobile.framework/Versions/Current/Headers/OPPIkanoOiPaymentParams.h +0 -74
  259. package/OPPWAMobile.framework/Versions/Current/Headers/OPPMBWayPaymentParams.h +0 -66
  260. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPayPalPaymentParams.h +0 -48
  261. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentBrandsConfig.h +0 -56
  262. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentButton.h +0 -79
  263. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParams.h +0 -100
  264. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParamsBrand.h +0 -57
  265. package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentProvider.h +0 -132
  266. package/OPPWAMobile.framework/Versions/Current/Headers/OPPSecurityPolicy.h +0 -87
  267. package/OPPWAMobile.framework/Versions/Current/Headers/OPPToken.h +0 -95
  268. package/OPPWAMobile.framework/Versions/Current/Headers/OPPTokenPaymentParams.h +0 -180
  269. package/OPPWAMobile.framework/Versions/Current/Headers/OPPTransaction.h +0 -77
  270. package/OPPWAMobile.framework/Versions/Current/Headers/OPPWAMobile.h +0 -48
  271. package/OPPWAMobile.framework/Versions/Current/OPPWAMobile +0 -0
  272. package/OPPWAMobile.framework/Versions/Current/Resources/Info.plist +0 -0
  273. package/android/.DS_Store +0 -0
  274. package/android/.gradle/6.8/executionHistory/executionHistory.bin +0 -0
  275. package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
  276. package/android/.gradle/6.8/fileChanges/last-build.bin +0 -0
  277. package/android/.gradle/6.8/fileHashes/fileHashes.bin +0 -0
  278. package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
  279. package/android/.gradle/6.8/fileHashes/resourceHashesCache.bin +0 -0
  280. package/android/.gradle/6.8/gc.properties +0 -0
  281. package/android/.gradle/6.8/javaCompile/javaCompile.lock +0 -0
  282. package/android/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  283. package/android/.gradle/7.1.1/dependencies-accessors/gc.properties +0 -0
  284. package/android/.gradle/7.1.1/executionHistory/executionHistory.lock +0 -0
  285. package/android/.gradle/7.1.1/fileChanges/last-build.bin +0 -0
  286. package/android/.gradle/7.1.1/fileHashes/fileHashes.lock +0 -0
  287. package/android/.gradle/7.1.1/gc.properties +0 -0
  288. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  289. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  290. package/android/.gradle/checksums/checksums.lock +0 -0
  291. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  292. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  293. package/android/.gradle/configuration-cache/gc.properties +0 -0
  294. package/android/.gradle/vcs-1/gc.properties +0 -0
  295. package/android/.idea/.gitignore +0 -3
  296. package/android/.idea/compiler.xml +0 -6
  297. package/android/.idea/gradle.xml +0 -19
  298. package/android/.idea/jarRepositories.xml +0 -40
  299. package/android/.idea/libraries/Gradle____oppwa_mobile_2_44_0_oppwa_mobile_2_44_0_aar.xml +0 -11
  300. package/android/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +0 -18
  301. package/android/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +0 -15
  302. package/android/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +0 -13
  303. package/android/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +0 -19
  304. package/android/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +0 -15
  305. package/android/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +0 -15
  306. package/android/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +0 -15
  307. package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +0 -15
  308. package/android/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +0 -15
  309. package/android/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +0 -19
  310. package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +0 -13
  311. package/android/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +0 -13
  312. package/android/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +0 -13
  313. package/android/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_0.xml +0 -13
  314. package/android/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +0 -13
  315. package/android/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +0 -13
  316. package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +0 -13
  317. package/android/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +0 -13
  318. package/android/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +0 -13
  319. package/android/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +0 -13
  320. package/android/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +0 -11
  321. package/android/.idea/misc.xml +0 -9
  322. package/android/.idea/modules/android.iml +0 -66
  323. package/android/.idea/modules.xml +0 -8
  324. package/android/.idea/vcs.xml +0 -6
  325. package/android/local.properties +0 -8
  326. package/ios/HyperPay.h +0 -11
  327. package/ios/HyperPay.m +0 -95
  328. package/react-native-hyperpay.podspec +0 -20
@@ -1,91 +0,0 @@
1
- //
2
- // Checkout.strings
3
- // OPPWAMobile
4
- //
5
-
6
- /// View controller titles
7
- "VIEW_CONTROLLER_TITLE_PAYMENT_METHOD_SELECTION" = "เลือกวิธีชำระเงิน";
8
- "VIEW_CONTROLLER_TITLE_PAYMENT_DETAILS" = "ข้อมูลชำระเงิน";
9
- "VIEW_CONTROLLER_TITLE_PROCESSING" = "กำลังดำเนินรายการ";
10
-
11
- /// Form titles
12
- "FORM_TITLE_PAYMENT_INFO" = "รายละเอียดชำระเงิน";
13
-
14
- /// Labels
15
- "LABEL_TOTAL_AMOUNT" = "ราคารวม";
16
- "LABEL_MBWAY_PUSH_NOTIFICATION" = "ระบบจะส่งพุชแจ้งเตือนไปที่โทรศัพท์มือถือ";
17
- "LABEL_MBWAY_ACCEPT_PIN" = "กรุณาใส่ PIN ของ MB WAY เพื่อยืนยันการทำรายการ";
18
- "LABEL_TERMS_AND_CONDITIONS" = "ข้อตกลงและเงื่อนไข";
19
- "LABEL_TERMS_AND_CONDITIONS_AGREEMENT" = "ยอมรับข้อตกลงและเงื่อนไข";
20
- "LABEL_SWEDISH" = "สวีเดน";
21
- "LABEL_FINNISH" = "ฟินแลนด์";
22
-
23
- /// Messages
24
- "MESSAGE_PLEASE_WAIT" = "กรุณารอสักครู่";
25
-
26
- /// Device owner authentication
27
- "DEVICE_AUTH_REASON" = "ยืนยันชำระเงิน";
28
-
29
- /// Button titles
30
- "BUTTON_TITLE_PAY" = "ชำระเงิน";
31
- "BUTTON_TITLE_PAY_AMOUNT" = "จ่าย %@";
32
- "BUTTON_TITLE_REGISTER" = "ลงทะเบียน";
33
- "BUTTON_TITLE_CANCEL" = "ยกเลิก";
34
- "BUTTON_TITLE_BACK" = "เปลี่ยน";
35
- "BUTTON_TITLE_DONE" = "สำเร็จ";
36
-
37
- /// Text field label names
38
- "FIELD_LABEL_CARD_HOLDER_NAME" = "ชื่อผู้ถือบัตร";
39
- "FIELD_LABEL_CREDIT_CARD_NUMBER" = "หมายเลขบัตรเครดิต";
40
- "FIELD_LABEL_EXPIRY_DATE" = "วันหมดอายุ";
41
- "FIELD_LABEL_CVV" = "รหัสตรวจสอบบัตร CVC";
42
- "FIELD_LABEL_MOBILE_PHONE_NUMBER" = "หมายเลขโทรศัพท์เคลื่อนที่";
43
- "FIELD_LABEL_BANK_ACCOUNT_HOLDER_NAME" = "เจ้าของบัญชี";
44
- "FIELD_LABEL_IBAN" = "IBAN";
45
- "FIELD_LABEL_IBAN_OR_ACCOUNT_NUMBER" = "IBAN หรือ เลขที่บัญชี";
46
- "FIELD_LABEL_BIC_OR_BANK_CODE" = "BIC หรือ รหัสธนาคาร";
47
- "FIELD_LABEL_SELECT_COUNTRY" = "เลือกประเทศ";
48
- "FIELD_LABEL_SELECT_BANK" = "เลือกธนาคาร";
49
- "FIELD_LABEL_STORE_PAYMENT_DETAILS" = "บันทึกข้อมูลชำระเงินสำหรับใช้ครั้งต่อไป";
50
- "FIELD_LABEL_STORE_CARD_TYPE" = "เลือกประเภทบัตร";
51
- "FIELD_LABEL_NUMBER_OF_INSTALLMENTS" = "จำนวนรอบผ่อนชำระ";
52
- "FIELD_LABEL_EMAIL" = "อีเมล";
53
- "FIELD_LABEL_COUNTRY_CODE" = "รหัสประเทศ";
54
- "FIELD_LABEL_NATIONAL_IDENTIFIER" = "หมายเลขบัตรประชาชน";
55
-
56
- /// Text field placeholders
57
- "FIELD_PLACEHOLDER_CARD_HOLDER_NAME" = "ชื่อบนหน้าบัตร";
58
- "FIELD_PLACEHOLDER_CARD_NUMBER" = "เลขบนหน้าบัตร";
59
- "FIELD_PLACEHOLDER_EXPIRY_DATE" = "ดด/ปป หรือ ดด/ปปปป";
60
- "FIELD_PLACEHOLDER_CVV_3_DIGITS" = "รหัส 3 หลัก";
61
- "FIELD_PLACEHOLDER_CVV_4_DIGITS" = "รหัส 4 หลัก";
62
- "FIELD_PLACEHOLDER_BANK_ACCOUNT_HOLDER_NAME" = "ชื่อเจ้าของบัญชี";
63
- "FIELD_PLACEHOLDER_IBAN" = "เลขที่บัญชีสากล";
64
- "FIELD_PLACEHOLDER_IBAN_OR_ACCOUNT_NUMBER" = "IBAN หรือ เลขที่บัญชี";
65
- "FIELD_PLACEHOLDER_BIC_OR_BANK_CODE" = "BIC หรือ รหัสธนาคาร";
66
- "FIELD_PLACEHOLDER_COUNTRY_CODE" = "+xx";
67
- "FIELD_PLACEHOLDER_EMAIL" = "อีเมล";
68
- "FIELD_PLACEHOLDER_NATIONAL_IDENTIFIER" = "หมายเลขบัตรประชาชน";
69
-
70
- /// Text field errors
71
- "FIELD_ERROR_CARD_HOLDER_NAME_INVALID" = "ชื่อผู้ถือบัตรไม่ถูกต้อง";
72
- "FIELD_ERROR_CARD_NUMBER_INVALID" = "หมายเลขบัตรไม่ถูกต้อง";
73
- "FIELD_ERROR_CARD_EXPIRY_DATE_INVALID" = "วันหมดอายุไม่ถูกต้อง ใช้ ดด/ปป หรือ ดด/ปปปป";
74
- "FIELD_ERROR_CARD_EXPIRED" = "บัตรหมดอายุ";
75
- "FIELD_ERROR_CARD_CVV_3_DIGITS_INVALID" = "รหัสตรวจสอบบัตรไม่ใช่เลข 3 หลักสุดท้ายบนหลังบัตร";
76
- "FIELD_ERROR_CARD_CVV_4_DIGITS_INVALID" = "รหัสตรวจสอบบัตรไม่ใช่เลข 4 หลักบนหน้าบัตร";
77
- "FIELD_ERROR_MOBILE_PHONE_INVALID" = "รหัสประเทศไม่ถูกต้อง";
78
- "FIELD_ERROR_BANK_ACCOUNT_HOLDER_INVALID" = "ชื่อเจ้าของบัญชีไม่ถูกต้อง";
79
- "FIELD_ERROR_IBAN_INVALID" = "IBAN ไม่ถูกต้อง";
80
- "FIELD_ERROR_IBAN_OR_ACCOUNT_NUMBER_INVALID" = "IBAN หรือ เลขที่บัญชีไม่ถูกต้อง";
81
- "FIELD_ERROR_BIC_OR_BANK_CODE_INVALID" = "BIC หรือ รหัสธนาคารไม่ถูกต้อง";
82
- "FIELD_ERROR_EMAIL_INVALID" = "อีเมลไม่ถูกต้อง";
83
- "FIELD_ERROR_NATIONAL_IDENTIFIER_INVALID" = "หมายเลขบัตรประชาชนไม่ถูกต้อง";
84
-
85
- /// Payment method names
86
- "PAYMENT_METHOD_TYPE_SOFORT_BANKING" = "SOFORT";
87
-
88
- /// Payment method groups are displayed if tokens are received
89
- "PAYMENT_METHOD_GROUP_STORED" = "วิธีชำระเงินที่เก็บบันทึกไว้";
90
- "PAYMENT_METHOD_GROUP_OTHER" = "วิธีชำระเงินอื่น";
91
- "PAYMENT_METHOD_GROUP_CARDS" = "บัตรเครดิต / เดบิต";
@@ -1,92 +0,0 @@
1
- //
2
- // Checkout.strings
3
- // OPPWAMobile
4
- //
5
-
6
- /// View controller titles
7
- "VIEW_CONTROLLER_TITLE_PAYMENT_METHOD_SELECTION" = "请选择支付方式";
8
- "VIEW_CONTROLLER_TITLE_PAYMENT_DETAILS" = "支付信息";
9
- "VIEW_CONTROLLER_TITLE_PROCESSING" = "处理中";
10
-
11
- /// Form titles
12
- "FORM_TITLE_PAYMENT_INFO" = "支付信息";
13
-
14
- /// Labels
15
- "LABEL_TOTAL_AMOUNT" = "合计金额";
16
- "LABEL_MBWAY_PUSH_NOTIFICATION" = "您的设备将会收到一条推送通知";
17
- "LABEL_MBWAY_ACCEPT_PIN" = "请采用PIN MB WAY方式受理交易";
18
- "LABEL_TERMS_AND_CONDITIONS" = "条款和条件";
19
- "LABEL_TERMS_AND_CONDITIONS_AGREEMENT" = "我已阅读并同意此条款和条件";
20
- "LABEL_SWEDISH" = "瑞典文";
21
- "LABEL_FINNISH" = "芬兰文";
22
-
23
- /// Messages
24
- "MESSAGE_PLEASE_WAIT" = "请稍等";
25
-
26
- /// Device owner authentication
27
- "DEVICE_AUTH_REASON" = "确认支付";
28
-
29
- /// Button titles
30
- "BUTTON_TITLE_PAY" = "立即付款";
31
- "BUTTON_TITLE_PAY_AMOUNT" = "付款 %@";
32
- "BUTTON_TITLE_REGISTER" = "注册";
33
- "BUTTON_TITLE_CANCEL" = "取消";
34
- "BUTTON_TITLE_BACK" = "更改";
35
- "BUTTON_TITLE_DONE" = "确定";
36
-
37
- /// Text field label names
38
- "FIELD_LABEL_CARD_HOLDER_NAME" = "持卡人姓名";
39
- "FIELD_LABEL_CREDIT_CARD_NUMBER" = "卡号";
40
- "FIELD_LABEL_EXPIRY_DATE" = "有效期限";
41
- "FIELD_LABEL_CVV" = "安全码 或 卡验证码";
42
- "FIELD_LABEL_MOBILE_PHONE_NUMBER" = "手机号码";
43
- "FIELD_LABEL_BANK_ACCOUNT_HOLDER_NAME" = "开户人姓名";
44
- "FIELD_LABEL_IBAN" = "国际银行账户号码";
45
- "FIELD_LABEL_IBAN_OR_ACCOUNT_NUMBER" = "国际银行账户号码 或 账号";
46
- "FIELD_LABEL_BIC_OR_BANK_CODE" = "银行识别码 或 银行代码";
47
- "FIELD_LABEL_SELECT_COUNTRY" = "请选择国家";
48
- "FIELD_LABEL_SELECT_BANK" = "请选择发卡银行";
49
- "FIELD_LABEL_STORE_PAYMENT_DETAILS" = "保存支付信息方便下次购买";
50
- "FIELD_LABEL_STORE_CARD_TYPE" = "请选择卡种";
51
- "FIELD_LABEL_NUMBER_OF_INSTALLMENTS" = "分期笔数";
52
- "FIELD_LABEL_EMAIL" = "邮箱";
53
- "FIELD_LABEL_COUNTRY_CODE" = "国家代码";
54
- "FIELD_LABEL_NATIONAL_IDENTIFIER" = "身份证号码";
55
-
56
- /// Text field placeholders
57
- "FIELD_PLACEHOLDER_CARD_HOLDER_NAME" = "卡面上的姓名";
58
- "FIELD_PLACEHOLDER_CARD_NUMBER" = "卡正面一串较长的数字";
59
- "FIELD_PLACEHOLDER_EXPIRY_DATE" = "两位月份/两位年份 或 两位月份/四位年份";
60
- "FIELD_PLACEHOLDER_CVV_3_DIGITS" = "3位号码";
61
- "FIELD_PLACEHOLDER_CVV_4_DIGITS" = "4位号码";
62
- "FIELD_PLACEHOLDER_BANK_ACCOUNT_HOLDER_NAME" = "开户人姓名";
63
- "FIELD_PLACEHOLDER_IBAN" = "国际银行账户号码";
64
- "FIELD_PLACEHOLDER_IBAN_OR_ACCOUNT_NUMBER" = "国际银行账户号码 或 账号";
65
- "FIELD_PLACEHOLDER_BIC_OR_BANK_CODE" = "银行识别码 或 银行代码";
66
- "FIELD_PLACEHOLDER_COUNTRY_CODE" = "+xxx";
67
- "FIELD_PLACEHOLDER_MOBILE_PHONE_NUMBER" = "xxxxxxxxx";
68
- "FIELD_PLACEHOLDER_EMAIL" = "邮箱";
69
- "FIELD_PLACEHOLDER_NATIONAL_IDENTIFIER" = "身份证号码";
70
-
71
- /// Text field errors
72
- "FIELD_ERROR_CARD_HOLDER_NAME_INVALID" = "持卡人姓名不正确";
73
- "FIELD_ERROR_CARD_NUMBER_INVALID" = "输入的卡号不正确";
74
- "FIELD_ERROR_CARD_EXPIRY_DATE_INVALID" = "有效期不正确,请使用两位月份/两位年份 或 两位月份/四位年份 格式";
75
- "FIELD_ERROR_CARD_EXPIRED" = "卡片已过期";
76
- "FIELD_ERROR_CARD_CVV_3_DIGITS_INVALID" = "安全代码由卡背面签名栏数字最后三位构成";
77
- "FIELD_ERROR_CARD_CVV_4_DIGITS_INVALID" = "安全代码由卡正面的4位号码构成";
78
- "FIELD_ERROR_MOBILE_PHONE_INVALID" = "手机号码不正确";
79
- "FIELD_ERROR_BANK_ACCOUNT_HOLDER_INVALID" = "开户人姓名不正确";
80
- "FIELD_ERROR_IBAN_INVALID" = "国际银行账户号码不正确";
81
- "FIELD_ERROR_IBAN_OR_ACCOUNT_NUMBER_INVALID" = "国际银行账户号码 或 账号不正确";
82
- "FIELD_ERROR_BIC_OR_BANK_CODE_INVALID" = "银行识别码 或 银行代码不正确";
83
- "FIELD_ERROR_EMAIL_INVALID" = "邮箱无效";
84
- "FIELD_ERROR_NATIONAL_IDENTIFIER_INVALID" = "身份证号码无效";
85
-
86
- /// Payment method groups are displayed if tokens are received
87
- "PAYMENT_METHOD_GROUP_STORED" = "已保存的支付方式";
88
- "PAYMENT_METHOD_GROUP_OTHER" = "其它支付方式";
89
- "PAYMENT_METHOD_GROUP_CARDS" = "信用卡或借記卡";
90
-
91
- /// Payment method names
92
- "PAYMENT_METHOD_TYPE_DIRECTDEBIT_SEPA" = "单一欧元支付区直接借记";
Binary file
@@ -1,49 +0,0 @@
1
- //
2
- // Copyright (c) 2019 by ACI Worldwide, Inc.
3
- // All rights reserved.
4
- //
5
- // This software is the confidential and proprietary information
6
- // of ACI Worldwide Inc ("Confidential Information"). You shall
7
- // not disclose such Confidential Information and shall use it
8
- // only in accordance with the terms of the license agreement
9
- // you entered with ACI Worldwide Inc.
10
- //
11
-
12
-
13
- #import <Foundation/Foundation.h>
14
- #import "OPPPaymentParams.h"
15
-
16
- __deprecated_msg("The OPPAlipayPaymentParams class is formally deprecated. To make Alipay transaction, instead use OPPPaymentParams class with payment brand 'ALIPAY'.")
17
- /**
18
- Class to encapsulate all necessary transaction parameters for performing an Alipay transaction.
19
-
20
- @warning **Deprecated:** The `OPPAlipayPaymentParams` class is formally deprecated in 1.4.0. To make Alipay transaction, instead use `OPPPaymentParams` class with payment brand 'ALIPAY'.
21
- */
22
-
23
- NS_ASSUME_NONNULL_BEGIN
24
- @interface OPPAlipayPaymentParams : OPPPaymentParams
25
-
26
- /// @name Initialization
27
-
28
- /// :nodoc:
29
- - (instancetype)initWithCheckoutID:(NSString *)checkoutID paymentBrand:(NSString *)paymentBrand error:(NSError * _Nullable __autoreleasing *)error NS_UNAVAILABLE;
30
-
31
- /**
32
- Creates an object representing an Alipay transaction.
33
-
34
- @param checkoutID The checkout ID of the transaction. Must be not nil or empty.
35
- @param error The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.
36
- @return Returns an object representing an Alipay transaction.
37
- */
38
- + (nullable instancetype)alipayPaymentParamsWithCheckoutID:(NSString *)checkoutID error:(NSError **)error;
39
-
40
- /**
41
- Creates an object representing an Alipay transaction.
42
-
43
- @param checkoutID The checkout ID of the transaction. Must be not nil or empty.
44
- @param error The error that occurred while validating payment parameters. See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.
45
- @return Returns an object representing an Alipay transaction.
46
- */
47
- - (nullable instancetype)initWithCheckoutID:(NSString *)checkoutID error:(NSError **)error NS_DESIGNATED_INITIALIZER;
48
- @end
49
- NS_ASSUME_NONNULL_END
@@ -1,64 +0,0 @@
1
- //
2
- // Copyright (c) 2019 by ACI Worldwide, Inc.
3
- // All rights reserved.
4
- //
5
- // This software is the confidential and proprietary information
6
- // of ACI Worldwide Inc ("Confidential Information"). You shall
7
- // not disclose such Confidential Information and shall use it
8
- // only in accordance with the terms of the license agreement
9
- // you entered with ACI Worldwide Inc.
10
- //
11
-
12
- #import "OPPPaymentParams.h"
13
-
14
- /**
15
- Class to encapsulate all necessary transaction parameters for performing an Apple Pay transaction.
16
- */
17
-
18
- NS_ASSUME_NONNULL_BEGIN
19
- @interface OPPApplePayPaymentParams : OPPPaymentParams
20
-
21
- /// @name Initialization
22
-
23
- /// :nodoc:
24
- - (instancetype)initWithCheckoutID:(NSString *)checkoutID paymentBrand:(NSString *)paymentBrand error:(NSError * _Nullable __autoreleasing *)error NS_UNAVAILABLE;
25
-
26
- /**
27
- Creates an object representing an Apple Pay transaction.
28
-
29
- @param checkoutID The checkout ID of the transaction. Must be not nil or empty.
30
- @param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
31
- @param error The error that occurred while validating payment parameters. See code attribute (`OPPErrorCode`) and `NSLocalizedDescription` to identify the reason of failure.
32
- @return Returns an object representing an Apple Pay transaction, and nil if parameters are invalid.
33
- */
34
- + (nullable instancetype)applePayPaymentParamsWithCheckoutID:(NSString *)checkoutID tokenData:(NSData *)tokenData error:(NSError **)error;
35
-
36
- /**
37
- Creates an object representing an Apple Pay transaction.
38
-
39
- @param checkoutID The checkout ID of the transaction. Must be not nil or empty.
40
- @param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
41
- @param error The error that occurred while validating payment parameters. See code attribute (`OPPErrorCode`) and `NSLocalizedDescription` to identify the reason of failure.
42
- @return Returns an object representing an Apple Pay transaction, and nil if parameters are invalid.
43
- */
44
- - (nullable instancetype)initWithCheckoutID:(NSString *)checkoutID tokenData:(NSData *)tokenData error:(NSError **)error NS_DESIGNATED_INITIALIZER;
45
-
46
- /// @name Properties
47
-
48
- /**
49
- UTF-8 encoded JSON dictionary of encrypted payment data. Ready for transmission to merchant's e-commerce backend for decryption and submission to a payment processor's gateway.
50
- */
51
- @property (nonatomic, copy, readonly) NSData *tokenData;
52
-
53
- /// @name Validation methods
54
- /**
55
- Checks if the token data is valid to perform a transaction.
56
-
57
- @param tokenData UTF-8 encoded JSON dictionary of encrypted payment data.
58
- @return `YES` if the token data is not empty.
59
- */
60
- + (BOOL)isTokenDataValid:(NSData *)tokenData;
61
-
62
- @end
63
-
64
- NS_ASSUME_NONNULL_END
@@ -1,117 +0,0 @@
1
- //
2
- // Copyright (c) 2019 by ACI Worldwide, Inc.
3
- // All rights reserved.
4
- //
5
- // This software is the confidential and proprietary information
6
- // of ACI Worldwide Inc ("Confidential Information"). You shall
7
- // not disclose such Confidential Information and shall use it
8
- // only in accordance with the terms of the license agreement
9
- // you entered with ACI Worldwide Inc.
10
- //
11
-
12
- @import Foundation;
13
- @import PassKit;
14
-
15
- NS_ASSUME_NONNULL_BEGIN
16
-
17
- /**
18
- Class that reports the status code and errors that you return when a payment is authorized.
19
- */
20
- @interface OPPApplePayRequestAuthorizationResult : NSObject
21
-
22
- /// @name Initialization
23
-
24
- /**
25
- Initializes the result with the status code and list of errors.
26
- @param status Payment authorization general status.
27
- @param errors List of errors in the Apple Pay form (available for iOS 11 and higher).
28
- */
29
- - (instancetype)initWithStatus:(PKPaymentAuthorizationStatus)status
30
- errors:(nullable NSArray<NSError *> *)errors NS_DESIGNATED_INITIALIZER;
31
-
32
- /// @name Properties
33
-
34
- /**
35
- Payment authorization general status.
36
- */
37
- @property (nonatomic) PKPaymentAuthorizationStatus status;
38
-
39
- /**
40
- Any errors that applied. These errors will be displayed to the user to correct (available for iOS 11 and higher).
41
- Errors should be ordered from most to least serious.
42
- See `PKError` for specific `NSError` keys to use to enable rich error handling.
43
- */
44
- @property (null_resettable, nonatomic, copy) NSArray<NSError *> *errors;
45
-
46
- @end
47
-
48
-
49
- /**
50
- Base class for updating the payment request after the shopper makes changes on the payment form.
51
- */
52
- @interface OPPApplePayRequestUpdate : NSObject
53
-
54
- /// @name Initialization
55
-
56
- /**
57
- Initializes a payment request update with the given list of summary items.
58
- @param paymentSummaryItems The new payment summary items to update the payment request with.
59
- */
60
- - (instancetype)initWithPaymentSummaryItems:(NSArray<PKPaymentSummaryItem *> *)paymentSummaryItems NS_DESIGNATED_INITIALIZER;
61
-
62
- /// @name Properties
63
-
64
- /**
65
- The status of the payment request update.
66
- Set `PKPaymentAuthorizationStatusSuccess` for a successful update, and `PKPaymentAuthorizationStatusFailure` if you were unable to process the required changes.
67
- `PKPaymentAuthorizationStatusSuccess` by default.
68
- */
69
- @property (nonatomic) PKPaymentAuthorizationStatus status;
70
-
71
- /**
72
- The new payment summary items to update the payment request with.
73
- */
74
- @property (nonatomic, copy) NSArray<PKPaymentSummaryItem *> *paymentSummaryItems;
75
-
76
- @end
77
-
78
- /**
79
- Class for updating the payment request after the shipping contact information changed.
80
- */
81
- @interface OPPApplePayRequestShippingContactUpdate : OPPApplePayRequestUpdate
82
-
83
- /// @name Initialization
84
-
85
- /**
86
- Initializes a payment request update with provided errors, payment summary items and shipping methods.
87
- @param errors List of errors in the shipping contact information (available for iOS 11 and higher). See `PKError` for specific `NSError` keys to use.
88
- @param paymentSummaryItems The new payment summary items to update the payment request with.
89
- @param shippingMethods The new shipping methods to update the payment request with.
90
- */
91
- - (instancetype)initWithErrors:(nullable NSArray<NSError *> *)errors
92
- paymentSummaryItems:(NSArray<PKPaymentSummaryItem *> *)paymentSummaryItems
93
- shippingMethods:(NSArray<PKShippingMethod *> *)shippingMethods NS_DESIGNATED_INITIALIZER;
94
-
95
- /// @name Properties
96
-
97
- /**
98
- The new shipping methods to update the payment request with.
99
- */
100
- @property (nonatomic, copy) NSArray<PKShippingMethod *> *shippingMethods;
101
-
102
- /**
103
- List of errors in the shipping contact information (available for iOS 11 and higher).
104
- See `PKError` for specific `NSError` keys to use.
105
- */
106
- @property (null_resettable, nonatomic, copy) NSArray<NSError *> *errors;
107
-
108
- @end
109
-
110
- /**
111
- Class for updating the payment request after the shipping method changed.
112
- */
113
- @interface OPPApplePayRequestShippingMethodUpdate : OPPApplePayRequestUpdate
114
-
115
- @end
116
-
117
- NS_ASSUME_NONNULL_END
@@ -1,58 +0,0 @@
1
- //
2
- // Copyright (c) 2019 by ACI Worldwide, Inc.
3
- // All rights reserved.
4
- //
5
- // This software is the confidential and proprietary information
6
- // of ACI Worldwide Inc ("Confidential Information"). You shall
7
- // not disclose such Confidential Information and shall use it
8
- // only in accordance with the terms of the license agreement
9
- // you entered with ACI Worldwide Inc.
10
- //
11
-
12
- #import <Foundation/Foundation.h>
13
-
14
- /**
15
- Class to encapsulate shopper’s bank account details that have been tokenized.
16
- */
17
-
18
- NS_ASSUME_NONNULL_BEGIN
19
- @interface OPPBankAccount : NSObject
20
-
21
- /// @name Properties
22
-
23
- /** The name of the bank account holder. */
24
- @property (nonatomic, copy) NSString *holder;
25
-
26
- /** The IBAN (International Bank Account Number) associated with the bank account. */
27
- @property (nonatomic, copy) NSString *IBAN;
28
-
29
- /// @name Initialization
30
-
31
- /// :nodoc:
32
- - (instancetype)init NS_UNAVAILABLE;
33
-
34
- /**
35
- Creates an `OPPBankAccount` object from the JSON.
36
- @param JSON A dictionary with parameters received from the Server.
37
- @return Returns an `OPPBankAccount` object, or `nil` if JSON contains invalid values.
38
- */
39
- + (nullable instancetype)bankAccountFromJSON:(NSDictionary *)JSON;
40
-
41
- /**
42
- Creates an `OPPBankAccount` object with the provided values.
43
- @param holder The name of the bank account holder.
44
- @param IBAN The IBAN (International Bank Account Number) associated with the bank account.
45
- @return Returns an `OPPBankAccount` object, or `nil` if parameters are empty.
46
- */
47
- + (nullable instancetype)bankAccountWithHolder:(NSString *)holder IBAN:(NSString *)IBAN;
48
-
49
- /**
50
- Creates an `OPPBankAccount` object with the provided values.
51
- @param holder The name of the bank account holder.
52
- @param IBAN The IBAN (International Bank Account Number) associated with the bank account.
53
- @return Returns an `OPPBankAccount` object, or `nil` if parameters are empty.
54
- */
55
- - (nullable instancetype)initWithHolder:(NSString *)holder IBAN:(NSString *)IBAN NS_DESIGNATED_INITIALIZER;
56
-
57
- @end
58
- NS_ASSUME_NONNULL_END