iamport-react-native 2.0.15 → 3.0.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 (426) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -2
  3. package/lib/commonjs/components/Certification/index.js +69 -69
  4. package/lib/commonjs/components/Certification/index.js.map +1 -1
  5. package/lib/commonjs/components/ErrorOnParams/index.js +10 -9
  6. package/lib/commonjs/components/ErrorOnParams/index.js.map +1 -1
  7. package/lib/commonjs/components/Loading/index.js +10 -9
  8. package/lib/commonjs/components/Loading/index.js.map +1 -1
  9. package/lib/commonjs/components/Payment/index.js +91 -92
  10. package/lib/commonjs/components/Payment/index.js.map +1 -1
  11. package/lib/commonjs/constants/index.js.map +1 -1
  12. package/lib/commonjs/index.js.map +1 -1
  13. package/lib/commonjs/package.json +1 -0
  14. package/lib/commonjs/styles.js.map +1 -1
  15. package/lib/commonjs/utils/IamportUrl.js +48 -29
  16. package/lib/commonjs/utils/IamportUrl.js.map +1 -1
  17. package/lib/commonjs/utils/Validation.js +1 -2
  18. package/lib/commonjs/utils/Validation.js.map +1 -1
  19. package/lib/commonjs/utils/ValidationForPayment.js.map +1 -1
  20. package/lib/module/components/Certification/index.js +75 -72
  21. package/lib/module/components/Certification/index.js.map +1 -1
  22. package/lib/module/components/ErrorOnParams/index.js +13 -9
  23. package/lib/module/components/ErrorOnParams/index.js.map +1 -1
  24. package/lib/module/components/Loading/index.js +13 -9
  25. package/lib/module/components/Loading/index.js.map +1 -1
  26. package/lib/module/components/Payment/index.js +95 -93
  27. package/lib/module/components/Payment/index.js.map +1 -1
  28. package/lib/module/constants/index.js +2 -0
  29. package/lib/module/constants/index.js.map +1 -1
  30. package/lib/module/index.js +6 -4
  31. package/lib/module/index.js.map +1 -1
  32. package/lib/module/package.json +1 -0
  33. package/lib/module/styles.js +2 -0
  34. package/lib/module/styles.js.map +1 -1
  35. package/lib/module/utils/IamportUrl.js +51 -29
  36. package/lib/module/utils/IamportUrl.js.map +1 -1
  37. package/lib/module/utils/Validation.js +3 -2
  38. package/lib/module/utils/Validation.js.map +1 -1
  39. package/lib/module/utils/ValidationForPayment.js +4 -2
  40. package/lib/module/utils/ValidationForPayment.js.map +1 -1
  41. package/lib/typescript/package.json +1 -0
  42. package/lib/typescript/{components → src/components}/Certification/index.d.ts +1 -2
  43. package/lib/typescript/src/components/Certification/index.d.ts.map +1 -0
  44. package/lib/typescript/src/components/ErrorOnParams/index.d.ts +6 -0
  45. package/lib/typescript/src/components/ErrorOnParams/index.d.ts.map +1 -0
  46. package/lib/typescript/src/components/Loading/index.d.ts +3 -0
  47. package/lib/typescript/src/components/Loading/index.d.ts.map +1 -0
  48. package/lib/typescript/{components → src/components}/Payment/index.d.ts +1 -2
  49. package/lib/typescript/src/components/Payment/index.d.ts.map +1 -0
  50. package/lib/typescript/src/constants/index.d.ts.map +1 -0
  51. package/lib/typescript/src/index.d.ts.map +1 -0
  52. package/lib/typescript/{styles.d.ts → src/styles.d.ts} +2 -2
  53. package/lib/typescript/src/styles.d.ts.map +1 -0
  54. package/lib/typescript/{utils → src/utils}/IamportUrl.d.ts +8 -7
  55. package/lib/typescript/src/utils/IamportUrl.d.ts.map +1 -0
  56. package/lib/typescript/src/utils/Validation.d.ts.map +1 -0
  57. package/lib/typescript/src/utils/ValidationForPayment.d.ts.map +1 -0
  58. package/package.json +91 -64
  59. package/src/components/Certification/index.tsx +7 -7
  60. package/src/components/ErrorOnParams/index.tsx +1 -2
  61. package/src/components/Loading/index.tsx +1 -2
  62. package/src/components/Payment/index.tsx +6 -6
  63. package/src/utils/IamportUrl.ts +54 -26
  64. package/.circleci/config.yml +0 -98
  65. package/.editorconfig +0 -15
  66. package/.gitattributes +0 -3
  67. package/.gitignore +0 -69
  68. package/.yarnrc +0 -3
  69. package/.yarnrc.yml +0 -1
  70. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  71. package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
  72. package/android/.gradle/8.9/checksums/sha1-checksums.bin +0 -0
  73. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  74. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  75. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  76. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  77. package/android/.gradle/8.9/gc.properties +0 -0
  78. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  79. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  80. package/android/.gradle/vcs-1/gc.properties +0 -0
  81. package/android/build.gradle +0 -128
  82. package/android/gradle.properties +0 -4
  83. package/android/src/main/AndroidManifest.xml +0 -4
  84. package/android/src/main/java/com/iamportreactnative/IamportReactNativePackage.kt +0 -17
  85. package/android/src/main/java/com/iamportreactnative/IamportReactNativeViewManager.kt +0 -20
  86. package/babel.config.js +0 -3
  87. package/example/.gitignore +0 -69
  88. package/example/README.md +0 -44
  89. package/example/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  90. package/example/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
  91. package/example/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
  92. package/example/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  93. package/example/android/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
  94. package/example/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  95. package/example/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  96. package/example/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  97. package/example/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  98. package/example/android/.gradle/7.5.1/gc.properties +0 -0
  99. package/example/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  100. package/example/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  101. package/example/android/.gradle/vcs-1/gc.properties +0 -0
  102. package/example/android/app/build.gradle +0 -183
  103. package/example/android/app/debug.keystore +0 -0
  104. package/example/android/app/proguard-rules.pro +0 -10
  105. package/example/android/app/src/debug/AndroidManifest.xml +0 -8
  106. package/example/android/app/src/debug/java/com/example/iamportreactnative/ReactNativeFlipper.java +0 -69
  107. package/example/android/app/src/main/AndroidManifest.xml +0 -34
  108. package/example/android/app/src/main/java/com/example/iamportreactnative/MainActivity.java +0 -15
  109. package/example/android/app/src/main/java/com/example/iamportreactnative/MainApplication.java +0 -80
  110. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  111. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  112. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  113. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  114. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  115. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  116. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  117. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  118. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  119. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  120. package/example/android/app/src/main/res/values/strings.xml +0 -3
  121. package/example/android/app/src/main/res/values/styles.xml +0 -9
  122. package/example/android/build.gradle +0 -21
  123. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  124. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  125. package/example/android/gradle.properties +0 -44
  126. package/example/android/gradlew +0 -183
  127. package/example/android/gradlew.bat +0 -103
  128. package/example/android/settings.gradle +0 -9
  129. package/example/app.json +0 -4
  130. package/example/babel.config.js +0 -11
  131. package/example/index.js +0 -5
  132. package/example/ios/File.swift +0 -8
  133. package/example/ios/Gemfile +0 -7
  134. package/example/ios/Gemfile.lock +0 -99
  135. package/example/ios/IamportReactNativeExample/AppDelegate.h +0 -15
  136. package/example/ios/IamportReactNativeExample/AppDelegate.mm +0 -138
  137. package/example/ios/IamportReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  138. package/example/ios/IamportReactNativeExample/Images.xcassets/Contents.json +0 -6
  139. package/example/ios/IamportReactNativeExample/Info.plist +0 -121
  140. package/example/ios/IamportReactNativeExample/LaunchScreen.storyboard +0 -58
  141. package/example/ios/IamportReactNativeExample/main.m +0 -16
  142. package/example/ios/IamportReactNativeExample-Bridging-Header.h +0 -3
  143. package/example/ios/IamportReactNativeExample.xcodeproj/project.pbxproj +0 -969
  144. package/example/ios/IamportReactNativeExample.xcodeproj/xcshareddata/xcschemes/IamportReactNativeExample.xcscheme +0 -99
  145. package/example/ios/IamportReactNativeExample.xcworkspace/contents.xcworkspacedata +0 -10
  146. package/example/ios/IamportReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  147. package/example/ios/Podfile +0 -57
  148. package/example/ios/Podfile.lock +0 -756
  149. package/example/metro.config.js +0 -66
  150. package/example/package.json +0 -40
  151. package/example/src/App.tsx +0 -17
  152. package/example/src/Certification/index.tsx +0 -30
  153. package/example/src/CertificationResult/index.tsx +0 -79
  154. package/example/src/CertificationTest/index.tsx +0 -214
  155. package/example/src/Home/index.tsx +0 -87
  156. package/example/src/Loading/index.tsx +0 -12
  157. package/example/src/NavigationService.tsx +0 -127
  158. package/example/src/Payment/index.tsx +0 -28
  159. package/example/src/PaymentResult/index.tsx +0 -96
  160. package/example/src/PaymentTest/index.tsx +0 -383
  161. package/example/src/Picker/index.tsx +0 -60
  162. package/example/src/constants.ts +0 -274
  163. package/example/src/utils.ts +0 -83
  164. package/example/yarn.lock +0 -7358
  165. package/exampleForExpo/.buckconfig +0 -6
  166. package/exampleForExpo/.expo/README.md +0 -8
  167. package/exampleForExpo/.expo/devices.json +0 -3
  168. package/exampleForExpo/.gitattributes +0 -1
  169. package/exampleForExpo/.gitignore +0 -125
  170. package/exampleForExpo/.idea/.gitignore +0 -3
  171. package/exampleForExpo/.idea/caches/deviceStreaming.xml +0 -549
  172. package/exampleForExpo/.idea/exampleForExpo.iml +0 -9
  173. package/exampleForExpo/.idea/misc.xml +0 -6
  174. package/exampleForExpo/.idea/modules.xml +0 -8
  175. package/exampleForExpo/.idea/vcs.xml +0 -6
  176. package/exampleForExpo/.idea/workspace.xml +0 -53
  177. package/exampleForExpo/README.md +0 -58
  178. package/exampleForExpo/__tests__/App.js +0 -10
  179. package/exampleForExpo/android/.gitignore +0 -21
  180. package/exampleForExpo/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  181. package/exampleForExpo/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  182. package/exampleForExpo/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  183. package/exampleForExpo/android/.gradle/7.5.1/gc.properties +0 -0
  184. package/exampleForExpo/android/.gradle/vcs-1/gc.properties +0 -0
  185. package/exampleForExpo/android/app/BUCK +0 -55
  186. package/exampleForExpo/android/app/build.gradle +0 -362
  187. package/exampleForExpo/android/app/build_defs.bzl +0 -19
  188. package/exampleForExpo/android/app/debug.keystore +0 -0
  189. package/exampleForExpo/android/app/proguard-rules.pro +0 -14
  190. package/exampleForExpo/android/app/src/debug/AndroidManifest.xml +0 -7
  191. package/exampleForExpo/android/app/src/debug/java/kr/iamport/exampleForExpo/ReactNativeFlipper.java +0 -69
  192. package/exampleForExpo/android/app/src/main/AndroidManifest.xml +0 -34
  193. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/MainActivity.java +0 -83
  194. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/MainApplication.java +0 -106
  195. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/MainApplicationReactNativeHost.java +0 -117
  196. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/components/MainComponentsRegistry.java +0 -36
  197. package/exampleForExpo/android/app/src/main/java/kr/iamport/exampleForExpo/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +0 -48
  198. package/exampleForExpo/android/app/src/main/jni/CMakeLists.txt +0 -7
  199. package/exampleForExpo/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -32
  200. package/exampleForExpo/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
  201. package/exampleForExpo/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
  202. package/exampleForExpo/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +0 -38
  203. package/exampleForExpo/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -65
  204. package/exampleForExpo/android/app/src/main/jni/MainComponentsRegistry.h +0 -32
  205. package/exampleForExpo/android/app/src/main/jni/OnLoad.cpp +0 -11
  206. package/exampleForExpo/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  207. package/exampleForExpo/android/app/src/main/res/drawable/splashscreen.xml +0 -4
  208. package/exampleForExpo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  209. package/exampleForExpo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  210. package/exampleForExpo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  211. package/exampleForExpo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  212. package/exampleForExpo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  213. package/exampleForExpo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  214. package/exampleForExpo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  215. package/exampleForExpo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  216. package/exampleForExpo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  217. package/exampleForExpo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  218. package/exampleForExpo/android/app/src/main/res/values/colors.xml +0 -4
  219. package/exampleForExpo/android/app/src/main/res/values/strings.xml +0 -3
  220. package/exampleForExpo/android/app/src/main/res/values/styles.xml +0 -17
  221. package/exampleForExpo/android/app/src/main/res/values-night/colors.xml +0 -1
  222. package/exampleForExpo/android/build.gradle +0 -65
  223. package/exampleForExpo/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  224. package/exampleForExpo/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  225. package/exampleForExpo/android/gradle.properties +0 -53
  226. package/exampleForExpo/android/gradlew +0 -240
  227. package/exampleForExpo/android/gradlew.bat +0 -91
  228. package/exampleForExpo/android/settings.gradle +0 -17
  229. package/exampleForExpo/app.json +0 -16
  230. package/exampleForExpo/babel.config.js +0 -11
  231. package/exampleForExpo/index.js +0 -9
  232. package/exampleForExpo/ios/.gitignore +0 -30
  233. package/exampleForExpo/ios/.xcode.env +0 -11
  234. package/exampleForExpo/ios/Podfile +0 -61
  235. package/exampleForExpo/ios/Podfile.lock +0 -734
  236. package/exampleForExpo/ios/Podfile.properties.json +0 -3
  237. package/exampleForExpo/ios/exampleForExpo/AppDelegate.h +0 -9
  238. package/exampleForExpo/ios/exampleForExpo/AppDelegate.mm +0 -166
  239. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  240. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/Contents.json +0 -6
  241. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/SplashScreenBackground.imageset/Contents.json +0 -21
  242. package/exampleForExpo/ios/exampleForExpo/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
  243. package/exampleForExpo/ios/exampleForExpo/Info.plist +0 -118
  244. package/exampleForExpo/ios/exampleForExpo/SplashScreen.storyboard +0 -43
  245. package/exampleForExpo/ios/exampleForExpo/Supporting/Expo.plist +0 -16
  246. package/exampleForExpo/ios/exampleForExpo/exampleForExpo.entitlements +0 -8
  247. package/exampleForExpo/ios/exampleForExpo/main.m +0 -10
  248. package/exampleForExpo/ios/exampleForExpo/noop-file.swift +0 -4
  249. package/exampleForExpo/ios/exampleForExpo.xcodeproj/project.pbxproj +0 -544
  250. package/exampleForExpo/ios/exampleForExpo.xcodeproj/xcshareddata/xcschemes/exampleForExpo.xcscheme +0 -88
  251. package/exampleForExpo/ios/exampleForExpo.xcworkspace/contents.xcworkspacedata +0 -10
  252. package/exampleForExpo/ios/exampleForExpo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  253. package/exampleForExpo/metro.config.js +0 -62
  254. package/exampleForExpo/package.json +0 -40
  255. package/exampleForExpo/src/App.js +0 -14
  256. package/exampleForExpo/src/Certification/index.js +0 -25
  257. package/exampleForExpo/src/CertificationResult/index.js +0 -61
  258. package/exampleForExpo/src/CertificationTest/index.js +0 -151
  259. package/exampleForExpo/src/Home/index.js +0 -80
  260. package/exampleForExpo/src/Loading/index.js +0 -10
  261. package/exampleForExpo/src/NavigationService.js +0 -102
  262. package/exampleForExpo/src/Payment/index.js +0 -23
  263. package/exampleForExpo/src/PaymentResult/index.js +0 -82
  264. package/exampleForExpo/src/PaymentTest/index.js +0 -313
  265. package/exampleForExpo/src/Picker/index.js +0 -19
  266. package/exampleForExpo/src/constants.js +0 -322
  267. package/exampleForExpo/src/utils.js +0 -116
  268. package/exampleForExpo/yarn.lock +0 -9498
  269. package/exampleForManagedExpo/.expo-shared/assets.json +0 -4
  270. package/exampleForManagedExpo/.gitignore +0 -22
  271. package/exampleForManagedExpo/App.js +0 -11
  272. package/exampleForManagedExpo/README.md +0 -33
  273. package/exampleForManagedExpo/app.json +0 -90
  274. package/exampleForManagedExpo/assets/adaptive-icon.png +0 -0
  275. package/exampleForManagedExpo/assets/favicon.png +0 -0
  276. package/exampleForManagedExpo/assets/icon.png +0 -0
  277. package/exampleForManagedExpo/assets/splash.png +0 -0
  278. package/exampleForManagedExpo/babel.config.js +0 -11
  279. package/exampleForManagedExpo/metro.config.js +0 -62
  280. package/exampleForManagedExpo/package.json +0 -36
  281. package/exampleForManagedExpo/src/Certification/index.js +0 -25
  282. package/exampleForManagedExpo/src/CertificationResult/index.js +0 -61
  283. package/exampleForManagedExpo/src/CertificationTest/index.js +0 -151
  284. package/exampleForManagedExpo/src/Home/index.js +0 -80
  285. package/exampleForManagedExpo/src/Loading/index.js +0 -10
  286. package/exampleForManagedExpo/src/NavigationService.js +0 -102
  287. package/exampleForManagedExpo/src/Payment/index.js +0 -23
  288. package/exampleForManagedExpo/src/PaymentResult/index.js +0 -82
  289. package/exampleForManagedExpo/src/PaymentTest/index.js +0 -313
  290. package/exampleForManagedExpo/src/Picker/index.js +0 -19
  291. package/exampleForManagedExpo/src/constants.js +0 -322
  292. package/exampleForManagedExpo/src/utils.js +0 -116
  293. package/exampleForManagedExpo/yarn.lock +0 -9411
  294. package/exampleForWebView/.buckconfig +0 -6
  295. package/exampleForWebView/.eslintrc.js +0 -4
  296. package/exampleForWebView/.gitattributes +0 -3
  297. package/exampleForWebView/.gitignore +0 -68
  298. package/exampleForWebView/.prettierrc.js +0 -7
  299. package/exampleForWebView/.watchmanconfig +0 -1
  300. package/exampleForWebView/README.md +0 -77
  301. package/exampleForWebView/__tests__/App-test.tsx +0 -14
  302. package/exampleForWebView/_editorconfig +0 -3
  303. package/exampleForWebView/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
  304. package/exampleForWebView/android/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  305. package/exampleForWebView/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  306. package/exampleForWebView/android/.gradle/7.5.1/gc.properties +0 -0
  307. package/exampleForWebView/android/.gradle/vcs-1/gc.properties +0 -0
  308. package/exampleForWebView/android/app/BUCK +0 -55
  309. package/exampleForWebView/android/app/build.gradle +0 -313
  310. package/exampleForWebView/android/app/build_defs.bzl +0 -19
  311. package/exampleForWebView/android/app/debug.keystore +0 -0
  312. package/exampleForWebView/android/app/proguard-rules.pro +0 -10
  313. package/exampleForWebView/android/app/src/debug/AndroidManifest.xml +0 -13
  314. package/exampleForWebView/android/app/src/debug/java/com/exampleforwebview/ReactNativeFlipper.java +0 -73
  315. package/exampleForWebView/android/app/src/main/AndroidManifest.xml +0 -26
  316. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/MainActivity.java +0 -48
  317. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/MainApplication.java +0 -91
  318. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/MainApplicationReactNativeHost.java +0 -116
  319. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/components/MainComponentsRegistry.java +0 -36
  320. package/exampleForWebView/android/app/src/main/java/com/exampleforwebview/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +0 -48
  321. package/exampleForWebView/android/app/src/main/jni/CMakeLists.txt +0 -7
  322. package/exampleForWebView/android/app/src/main/jni/MainApplicationModuleProvider.cpp +0 -32
  323. package/exampleForWebView/android/app/src/main/jni/MainApplicationModuleProvider.h +0 -16
  324. package/exampleForWebView/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +0 -45
  325. package/exampleForWebView/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +0 -38
  326. package/exampleForWebView/android/app/src/main/jni/MainComponentsRegistry.cpp +0 -65
  327. package/exampleForWebView/android/app/src/main/jni/MainComponentsRegistry.h +0 -32
  328. package/exampleForWebView/android/app/src/main/jni/OnLoad.cpp +0 -11
  329. package/exampleForWebView/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  330. package/exampleForWebView/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  331. package/exampleForWebView/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  332. package/exampleForWebView/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  333. package/exampleForWebView/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  334. package/exampleForWebView/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  335. package/exampleForWebView/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  336. package/exampleForWebView/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  337. package/exampleForWebView/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  338. package/exampleForWebView/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  339. package/exampleForWebView/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  340. package/exampleForWebView/android/app/src/main/res/values/strings.xml +0 -3
  341. package/exampleForWebView/android/app/src/main/res/values/styles.xml +0 -9
  342. package/exampleForWebView/android/build.gradle +0 -51
  343. package/exampleForWebView/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  344. package/exampleForWebView/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  345. package/exampleForWebView/android/gradle.properties +0 -40
  346. package/exampleForWebView/android/gradlew +0 -234
  347. package/exampleForWebView/android/gradlew.bat +0 -89
  348. package/exampleForWebView/android/settings.gradle +0 -11
  349. package/exampleForWebView/app.json +0 -4
  350. package/exampleForWebView/babel.config.js +0 -11
  351. package/exampleForWebView/index.js +0 -9
  352. package/exampleForWebView/ios/.xcode.env +0 -11
  353. package/exampleForWebView/ios/Podfile +0 -43
  354. package/exampleForWebView/ios/Podfile.lock +0 -748
  355. package/exampleForWebView/ios/exampleForWebView/AppDelegate.h +0 -8
  356. package/exampleForWebView/ios/exampleForWebView/AppDelegate.mm +0 -133
  357. package/exampleForWebView/ios/exampleForWebView/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  358. package/exampleForWebView/ios/exampleForWebView/Images.xcassets/Contents.json +0 -6
  359. package/exampleForWebView/ios/exampleForWebView/Info.plist +0 -96
  360. package/exampleForWebView/ios/exampleForWebView/LaunchScreen.storyboard +0 -47
  361. package/exampleForWebView/ios/exampleForWebView/main.m +0 -10
  362. package/exampleForWebView/ios/exampleForWebView.xcodeproj/project.pbxproj +0 -723
  363. package/exampleForWebView/ios/exampleForWebView.xcodeproj/xcshareddata/xcschemes/exampleForWebView.xcscheme +0 -88
  364. package/exampleForWebView/ios/exampleForWebView.xcworkspace/contents.xcworkspacedata +0 -10
  365. package/exampleForWebView/ios/exampleForWebView.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  366. package/exampleForWebView/ios/exampleForWebViewTests/Info.plist +0 -24
  367. package/exampleForWebView/ios/exampleForWebViewTests/exampleForWebViewTests.m +0 -66
  368. package/exampleForWebView/manuals/CERTIFICATION.md +0 -223
  369. package/exampleForWebView/manuals/PAYMENT.md +0 -232
  370. package/exampleForWebView/metro.config.js +0 -61
  371. package/exampleForWebView/package.json +0 -54
  372. package/exampleForWebView/src/App.tsx +0 -50
  373. package/exampleForWebView/src/Certification.tsx +0 -54
  374. package/exampleForWebView/src/Home.tsx +0 -49
  375. package/exampleForWebView/src/Loading.tsx +0 -23
  376. package/exampleForWebView/src/Payment.tsx +0 -65
  377. package/exampleForWebView/yarn.lock +0 -7362
  378. package/iamport-react-native.podspec +0 -19
  379. package/ios/IamportReactNative-Bridging-Header.h +0 -1
  380. package/ios/IamportReactNative.xcodeproj/project.pbxproj +0 -293
  381. package/ios/IamportReactNativeViewManager.m +0 -12
  382. package/ios/IamportReactNativeViewManager.swift +0 -32
  383. package/lib/typescript/components/Certification/index.d.ts.map +0 -1
  384. package/lib/typescript/components/ErrorOnParams/index.d.ts +0 -7
  385. package/lib/typescript/components/ErrorOnParams/index.d.ts.map +0 -1
  386. package/lib/typescript/components/Loading/index.d.ts +0 -4
  387. package/lib/typescript/components/Loading/index.d.ts.map +0 -1
  388. package/lib/typescript/components/Payment/index.d.ts.map +0 -1
  389. package/lib/typescript/constants/index.d.ts.map +0 -1
  390. package/lib/typescript/index.d.ts.map +0 -1
  391. package/lib/typescript/styles.d.ts.map +0 -1
  392. package/lib/typescript/utils/IamportUrl.d.ts.map +0 -1
  393. package/lib/typescript/utils/Validation.d.ts.map +0 -1
  394. package/lib/typescript/utils/ValidationForPayment.d.ts.map +0 -1
  395. package/manuals/CALLBACK.md +0 -72
  396. package/manuals/EXAMPLE.md +0 -168
  397. package/manuals/EXPO.md +0 -246
  398. package/manuals/INSTALL.md +0 -31
  399. package/manuals/SETTING.md +0 -140
  400. package/manuals/SUPPORT.md +0 -35
  401. package/manuals/TRANS.md +0 -77
  402. package/manuals/VERSION.md +0 -187
  403. package/manuals/assets/after-linking-iamport.png +0 -0
  404. package/manuals/assets/after-linking-webview.png +0 -0
  405. package/manuals/assets/allow-arbitrary.gif +0 -0
  406. package/manuals/assets/android-studio-avd-manager.png +0 -0
  407. package/manuals/assets/android-studio-build.png +0 -0
  408. package/manuals/assets/app-scheme-registry.gif +0 -0
  409. package/manuals/assets/expo-eject.png +0 -0
  410. package/manuals/assets/ios-emulator-certification.png +0 -0
  411. package/manuals/assets/ios-emulator-home.png +0 -0
  412. package/manuals/assets/ios-emulator-payment.png +0 -0
  413. package/manuals/assets/ios-trans-create-header-file-1.png +0 -0
  414. package/manuals/assets/ios-trans-create-header-file-2.png +0 -0
  415. package/manuals/assets/ios-trans-create-objectivec-file-1.png +0 -0
  416. package/manuals/assets/ios-trans-create-objectivec-file-2.png +0 -0
  417. package/manuals/assets/ios-trans-result.png +0 -0
  418. package/manuals/assets/webview-peer-dependency.png +0 -0
  419. package/scripts/bootstrap.js +0 -24
  420. package/tsconfig.build.json +0 -9
  421. package/tsconfig.json +0 -26
  422. package/yarn.lock +0 -6174
  423. /package/lib/typescript/{constants → src/constants}/index.d.ts +0 -0
  424. /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
  425. /package/lib/typescript/{utils → src/utils}/Validation.d.ts +0 -0
  426. /package/lib/typescript/{utils → src/utils}/ValidationForPayment.d.ts +0 -0
@@ -1,313 +0,0 @@
1
- import React, { useState } from 'react';
2
- import {
3
- Button,
4
- FormControl,
5
- Input,
6
- ScrollView,
7
- Stack,
8
- Switch,
9
- Text,
10
- } from 'native-base';
11
- import { SafeAreaView } from 'react-native-safe-area-context';
12
- import Picker from '../Picker';
13
- import { PGS, TIER_CODES } from '../constants';
14
- import { getMethods, getQuotas } from '../utils';
15
- import { IMPConst } from 'iamport-react-native';
16
- import { useSafeAreaInsets } from 'react-native-safe-area-context';
17
-
18
- export default function PaymentTest({ navigation }) {
19
- const [pg, setPg] = useState('html5_inicis');
20
- const [tierCode, setTierCode] = useState(undefined);
21
- const [method, setMethod] = useState('card');
22
- const [cardQuota, setCardQuota] = useState(0);
23
- const [merchantUid, setMerchantUid] = useState(`mid_${new Date().getTime()}`);
24
- const [name, setName] = useState('아임포트 결제데이터분석');
25
- const [amount, setAmount] = useState('39000');
26
- const [buyerName, setBuyerName] = useState('홍길동');
27
- const [buyerTel, setBuyerTel] = useState('01012341234');
28
- const [buyerEmail, setBuyerEmail] = useState('example@example.com');
29
- const [vbankDue, setVbankDue] = useState('');
30
- const [bizNum, setBizNum] = useState('');
31
- const [escrow, setEscrow] = useState(false);
32
- const [digital, setDigital] = useState(false);
33
- const insets = useSafeAreaInsets();
34
-
35
- return (
36
- <SafeAreaView
37
- style={{
38
- flex: 1,
39
- justifyContent: 'center',
40
- backgroundColor: '#f5f5f5',
41
- paddingTop: -insets.top,
42
- }}
43
- >
44
- <ScrollView m={2} backgroundColor={'#fff'}>
45
- <FormControl p={'5%'} borderRadius={3}>
46
- <Stack direction={'row'}>
47
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
48
- PG사
49
- </FormControl.Label>
50
- <Picker
51
- data={PGS}
52
- selectedValue={pg}
53
- onValueChange={(value) => {
54
- setPg(value);
55
- const methods = getMethods(value);
56
- setMethod(methods[0].value);
57
- }}
58
- />
59
- </Stack>
60
- <Stack direction={'row'}>
61
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
62
- 티어 코드
63
- </FormControl.Label>
64
- <Picker
65
- data={TIER_CODES}
66
- selectedValue={tierCode}
67
- onValueChange={(value) => setTierCode(value)}
68
- />
69
- </Stack>
70
- <Stack direction={'row'}>
71
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
72
- 결제수단
73
- </FormControl.Label>
74
- <Picker
75
- data={getMethods(pg)}
76
- selectedValue={method}
77
- onValueChange={(value) => setMethod(value)}
78
- />
79
- </Stack>
80
- {method === 'card' && (
81
- <Stack direction={'row'}>
82
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
83
- 할부개월수
84
- </FormControl.Label>
85
- <Picker
86
- data={getQuotas(pg)}
87
- selectedValue={cardQuota}
88
- onValueChange={(value) => setCardQuota(parseInt(value, 10))}
89
- />
90
- </Stack>
91
- )}
92
- {method === 'vbank' && (
93
- <Stack direction={'row'}>
94
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
95
- 입금기한
96
- </FormControl.Label>
97
- <Input
98
- mb={2}
99
- flex={1}
100
- value={vbankDue}
101
- onChangeText={(value) => setVbankDue(value)}
102
- />
103
- </Stack>
104
- )}
105
- {method === 'vbank' && pg === 'danal_tpay' && (
106
- <Stack direction={'row'}>
107
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
108
- 사업자번호
109
- </FormControl.Label>
110
- <Input
111
- mb={2}
112
- flex={1}
113
- value={bizNum}
114
- keyboardType="number-pad"
115
- returnKeyType={'done'}
116
- onChangeText={(value) => setBizNum(value)}
117
- />
118
- </Stack>
119
- )}
120
- {method === 'phone' && (
121
- <Stack direction={'row'}>
122
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
123
- 실물컨텐츠
124
- </FormControl.Label>
125
- <Switch
126
- mb={2}
127
- value={digital}
128
- onValueChange={(value) => setDigital(value)}
129
- />
130
- </Stack>
131
- )}
132
- <Stack direction={'row'}>
133
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
134
- 에스크로
135
- </FormControl.Label>
136
- <Switch
137
- mb={2}
138
- value={escrow}
139
- onValueChange={(value) => setEscrow(value)}
140
- />
141
- </Stack>
142
- <Stack direction={'row'}>
143
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
144
- 주문명
145
- </FormControl.Label>
146
- <Input
147
- mb={2}
148
- flex={1}
149
- value={name}
150
- onChangeText={(value) => setName(value)}
151
- />
152
- </Stack>
153
- <Stack direction={'row'}>
154
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
155
- 결제금액
156
- </FormControl.Label>
157
- <Input
158
- mb={2}
159
- flex={1}
160
- value={amount}
161
- keyboardType="number-pad"
162
- returnKeyType={'done'}
163
- onChangeText={(value) => setAmount(value)}
164
- />
165
- </Stack>
166
- <Stack direction={'row'}>
167
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
168
- 주문번호
169
- </FormControl.Label>
170
- <Input
171
- mb={2}
172
- flex={1}
173
- value={merchantUid}
174
- onChangeText={(value) => setMerchantUid(value)}
175
- />
176
- </Stack>
177
- <Stack direction={'row'}>
178
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
179
- 이름
180
- </FormControl.Label>
181
- <Input
182
- mb={2}
183
- flex={1}
184
- value={buyerName}
185
- onChangeText={(value) => setBuyerName(value)}
186
- />
187
- </Stack>
188
- <Stack direction={'row'}>
189
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
190
- 전화번호
191
- </FormControl.Label>
192
- <Input
193
- mb={2}
194
- flex={1}
195
- value={buyerTel}
196
- keyboardType="number-pad"
197
- returnKeyType={'done'}
198
- onChangeText={(value) => setBuyerTel(value)}
199
- />
200
- </Stack>
201
- <Stack direction={'row'}>
202
- <FormControl.Label alignItems={'center'} mb={2} w={'18%'}>
203
- 이메일
204
- </FormControl.Label>
205
- <Input
206
- mb={2}
207
- flex={1}
208
- value={buyerEmail}
209
- onChangeText={(value) => setBuyerEmail(value)}
210
- />
211
- </Stack>
212
- <Button
213
- bgColor={'#344e81'}
214
- /* @ts-ignore */
215
- onPress={() => {
216
- const data = {
217
- params: {
218
- pg,
219
- pay_method: method,
220
- currency: undefined,
221
- notice_url: undefined,
222
- display: undefined,
223
- merchant_uid: merchantUid,
224
- name,
225
- amount,
226
- app_scheme: 'exampleforexpo',
227
- tax_free: undefined,
228
- buyer_name: buyerName,
229
- buyer_tel: buyerTel,
230
- buyer_email: buyerEmail,
231
- buyer_addr: undefined,
232
- buyer_postcode: undefined,
233
- custom_data: undefined,
234
- vbank_due: undefined,
235
- popup: undefined,
236
- digital: undefined,
237
- language: undefined,
238
- biz_num: undefined,
239
- customer_uid: undefined,
240
- naverPopupMode: undefined,
241
- naverUseCfm: undefined,
242
- naverProducts: undefined,
243
- m_redirect_url: IMPConst.M_REDIRECT_URL,
244
- escrow,
245
- },
246
- tierCode,
247
- };
248
-
249
- // 신용카드의 경우, 할부기한 추가
250
- if (method === 'card' && cardQuota !== 0) {
251
- data.params.display = {
252
- card_quota: cardQuota === 1 ? [] : [cardQuota],
253
- };
254
- }
255
-
256
- // 가상계좌의 경우, 입금기한 추가
257
- if (method === 'vbank' && vbankDue) {
258
- data.params.vbank_due = vbankDue;
259
- }
260
-
261
- // 다날 && 가상계좌의 경우, 사업자 등록번호 10자리 추가
262
- if (method === 'vbank' && pg === 'danal_tpay') {
263
- data.params.biz_num = bizNum;
264
- }
265
-
266
- // 휴대폰 소액결제의 경우, 실물 컨텐츠 여부 추가
267
- if (method === 'phone') {
268
- data.params.digital = digital;
269
- }
270
-
271
- // 정기결제의 경우, customer_uid 추가
272
- if (pg === 'kcp_billing') {
273
- data.params.customer_uid = `cuid_${new Date().getTime()}`;
274
- }
275
-
276
- if (pg === 'naverpay') {
277
- const today = new Date();
278
- const oneMonthLater = new Date(
279
- today.setMonth(today.getMonth() + 1)
280
- );
281
- const dd = String(oneMonthLater.getDate()).padStart(2, '0');
282
- const mm = String(oneMonthLater.getMonth() + 1).padStart(
283
- 2,
284
- '0'
285
- ); // January is 0!
286
- const yyyy = oneMonthLater.getFullYear();
287
-
288
- data.params.naverPopupMode = false;
289
- data.params.naverUseCfm = `${yyyy}${mm}${dd}`;
290
- data.params.naverProducts = [
291
- {
292
- categoryType: 'BOOK',
293
- categoryId: 'GENERAL',
294
- uid: '107922211',
295
- name: '한국사',
296
- payReferrer: 'NAVER_BOOK',
297
- count: 10,
298
- },
299
- ];
300
- }
301
-
302
- navigation.navigate('Payment', data);
303
- }}
304
- >
305
- <Text fontWeight={'bold'} color={'#fff'}>
306
- 결제하기
307
- </Text>
308
- </Button>
309
- </FormControl>
310
- </ScrollView>
311
- </SafeAreaView>
312
- );
313
- }
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Select } from 'native-base';
3
-
4
- export default function Picker(props) {
5
- return (
6
- <Select
7
- mb={2}
8
- flex={1}
9
- borderColor={'transparent'}
10
- selectedValue={props.selectedValue}
11
- onValueChange={props.onValueChange}
12
- >
13
- {props.data.map((e, index) => {
14
- const { label, value } = e;
15
- return <Select.Item label={label} value={value} key={index} />;
16
- })}
17
- </Select>
18
- );
19
- }
@@ -1,322 +0,0 @@
1
- const PGS = [
2
- {
3
- value: 'html5_inicis',
4
- label: '웹 표준 이니시스',
5
- },
6
- {
7
- value: 'kcp',
8
- label: 'NHN KCP',
9
- },
10
- {
11
- value: 'kcp_billing',
12
- label: 'NHN KCP 정기결제',
13
- },
14
- {
15
- value: 'uplus',
16
- label: '토스페이먼츠 - (구)LG 유플러스',
17
- },
18
- {
19
- value: 'jtnet',
20
- label: 'JTNET',
21
- },
22
- {
23
- value: 'nice',
24
- label: '나이스 정보통신',
25
- },
26
- {
27
- value: 'kakaopay',
28
- label: '신 - 카카오페이',
29
- },
30
- {
31
- value: 'kakao',
32
- label: '구 - LG CNS 카카오페이',
33
- },
34
- {
35
- value: 'danal',
36
- label: '다날 휴대폰 소액결제',
37
- },
38
- {
39
- value: 'danal_tpay',
40
- label: '다날 일반결제',
41
- },
42
- {
43
- value: 'kicc',
44
- label: '한국정보통신',
45
- },
46
- {
47
- value: 'paypal',
48
- label: '페이팔',
49
- },
50
- {
51
- value: 'mobilians',
52
- label: '모빌리언스',
53
- },
54
- {
55
- value: 'payco',
56
- label: '페이코',
57
- },
58
- {
59
- value: 'eximbay',
60
- label: '엑심베이',
61
- },
62
- {
63
- value: 'settle',
64
- label: '세틀뱅크 가상계좌',
65
- },
66
- {
67
- value: 'naverco',
68
- label: '네이버 체크아웃',
69
- },
70
- {
71
- value: 'naverpay',
72
- label: '네이버페이',
73
- },
74
- {
75
- value: 'smilepay',
76
- label: '스마일페이',
77
- },
78
- {
79
- value: 'chai',
80
- label: '차이페이',
81
- },
82
- {
83
- value: 'payple',
84
- label: '페이플',
85
- },
86
- {
87
- value: 'alipay',
88
- label: '알리페이',
89
- },
90
- {
91
- value: 'bluewalnut',
92
- label: '블루월넛',
93
- },
94
- {
95
- value: 'tosspay',
96
- label: '토스 - 간편결제',
97
- },
98
- {
99
- value: 'smartro',
100
- label: '스마트로',
101
- },
102
- {
103
- value: 'tosspayments',
104
- label: '토스페이먼츠 (신모듈)',
105
- },
106
- {
107
- value: 'ksnet',
108
- label: 'KSNET',
109
- },
110
- ];
111
-
112
- const TIER_CODES = [
113
- {
114
- value: 'ADD',
115
- label: '아디다스',
116
- },
117
- {
118
- value: 'RBK',
119
- label: '리복 - 복수PG 사용중',
120
- },
121
- {
122
- value: 'HKT',
123
- label: '에어텔닷컴 렌트카 테스트',
124
- },
125
- {
126
- value: 'HKK',
127
- label: 'YES Angel',
128
- },
129
- {
130
- value: 'DGA',
131
- label: 'CAMPVR대구',
132
- },
133
- {
134
- value: 'SCH',
135
- label: 'CAMPVR광화문',
136
- },
137
- {
138
- value: 'SNL',
139
- label: '토즈_선릉점',
140
- },
141
- {
142
- value: '111',
143
- label: '여기어때',
144
- },
145
- {
146
- value: 'ABC',
147
- label: '삼성점',
148
- },
149
- {
150
- value: 'XYZ',
151
- label: '삼성점',
152
- },
153
- {
154
- value: '123',
155
- label: 'aaaaaaa',
156
- },
157
- {
158
- value: 'AAZ',
159
- label: '테스트하위가맹',
160
- },
161
- {
162
- value: '001',
163
- label: '테스트',
164
- },
165
- {
166
- value: 'A01',
167
- label: '행복쇼핑',
168
- },
169
- {
170
- value: 'T11',
171
- label: 'test11',
172
- },
173
- ];
174
-
175
- const METHODS = [
176
- {
177
- value: 'card',
178
- label: '신용카드',
179
- },
180
- {
181
- value: 'vbank',
182
- label: '가상계좌',
183
- },
184
- {
185
- value: 'trans',
186
- label: '실시간 계좌이체',
187
- },
188
- {
189
- value: 'phone',
190
- label: '휴대폰 소액결제',
191
- },
192
- ];
193
-
194
- const METHODS_FOR_INICIS = METHODS.concat([
195
- {
196
- value: 'samsung',
197
- label: '삼성페이',
198
- },
199
- {
200
- value: 'kapy',
201
- label: 'KPAY',
202
- },
203
- {
204
- value: 'cultureland',
205
- label: '문화상품권',
206
- },
207
- {
208
- value: 'smartculture',
209
- label: '스마트문상',
210
- },
211
- {
212
- value: 'happymoney',
213
- label: '해피머니',
214
- },
215
- ]);
216
-
217
- const METHODS_FOR_UPLUS = METHODS.concat([
218
- {
219
- value: 'cultureland',
220
- label: '문화상품권',
221
- },
222
- {
223
- value: 'smartculture',
224
- label: '스마트문상',
225
- },
226
- {
227
- value: 'booknlife',
228
- label: '도서상품권',
229
- },
230
- ]);
231
-
232
- const METHODS_FOR_KCP = METHODS.concat([
233
- {
234
- value: 'samsung',
235
- label: '삼성페이',
236
- },
237
- ]);
238
-
239
- const METHODS_FOR_MOBILIANS = [
240
- {
241
- value: 'card',
242
- label: '신용카드',
243
- },
244
- {
245
- value: 'phone',
246
- label: '휴대폰 소액결제',
247
- },
248
- ];
249
-
250
- const METHOD_FOR_CARD = [
251
- {
252
- value: 'card',
253
- label: '신용카드',
254
- },
255
- ];
256
-
257
- const METHOD_FOR_PHONE = [
258
- {
259
- value: 'phone',
260
- label: '휴대폰 소액결제',
261
- },
262
- ];
263
-
264
- const METHOD_FOR_VBANK = [
265
- {
266
- value: 'vbank',
267
- label: '가상계좌',
268
- },
269
- ];
270
-
271
- const METHOD_FOR_TRANS = [
272
- {
273
- value: 'trans',
274
- label: '실시간 계좌이체',
275
- },
276
- ];
277
-
278
- const QUOTAS = [
279
- {
280
- value: 0,
281
- label: 'PG사 기본 제공',
282
- },
283
- {
284
- value: 1,
285
- label: '일시불',
286
- },
287
- ];
288
-
289
- const CARRIERS = [
290
- {
291
- value: 'SKT',
292
- label: 'SKT',
293
- },
294
- {
295
- value: 'KTF',
296
- label: 'KT',
297
- },
298
- {
299
- value: 'LGT',
300
- label: 'LGU+',
301
- },
302
- {
303
- value: 'MVNO',
304
- label: '알뜰폰',
305
- },
306
- ];
307
-
308
- export {
309
- PGS,
310
- TIER_CODES,
311
- METHODS,
312
- METHODS_FOR_INICIS,
313
- METHODS_FOR_UPLUS,
314
- METHODS_FOR_KCP,
315
- METHODS_FOR_MOBILIANS,
316
- METHOD_FOR_CARD,
317
- METHOD_FOR_PHONE,
318
- METHOD_FOR_VBANK,
319
- METHOD_FOR_TRANS,
320
- QUOTAS,
321
- CARRIERS,
322
- };