@stripe/stripe-react-native 0.6.0 → 0.7.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.
- package/CHANGELOG.md +43 -0
- package/README.md +1 -1
- package/android/build/.transforms/{31ceac6fb5d33b3621129bf6bacef38e → 391dacf2d8747d5d964db20fd2dd8815}/results.bin +0 -0
- package/android/build/.transforms/391dacf2d8747d5d964db20fd2dd8815/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{48791259e8e16eb93ec0e1ee5c2320d3 → 465a3f28c318295b6d1e745a1358f0e6}/results.bin +0 -0
- package/android/build/.transforms/465a3f28c318295b6d1e745a1358f0e6/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{74570cf3214a596c51ea9185f02b2c7f → 538f1369a832b015f982db8e9f3e63d4}/results.bin +0 -0
- package/android/build/.transforms/538f1369a832b015f982db8e9f3e63d4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{82928fc3901d2ce5cedef114e23b9dd5 → 5821b0d6d2e0908c8ed0cd6c2f4e6587}/results.bin +0 -0
- package/android/build/.transforms/5821b0d6d2e0908c8ed0cd6c2f4e6587/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{9338bfb74c726e5746db5e10b980917a → 60446a8b59a82b3ae8bcd81aa8d01afc}/results.bin +0 -0
- package/android/build/.transforms/60446a8b59a82b3ae8bcd81aa8d01afc/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{c731e6bf5b480f659bf1c341f3f0657c → 87295b99343bf0db705fbc154493ffa4}/results.bin +0 -0
- package/android/build/.transforms/87295b99343bf0db705fbc154493ffa4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{d436978a4beecbc35d07543a01fe4a5c → ae18a466edb55818daf7c30291ff4843}/results.bin +0 -0
- package/android/build/.transforms/ae18a466edb55818daf7c30291ff4843/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/d42db6dbe74ca8dbcb5922d32e8646c4/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/results.bin +1 -0
- package/android/build/.transforms/e9a96dae20bdea4f5ebd602fc83f5f77/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/results.bin +1 -0
- package/android/build/.transforms/f183966fd9230baa4d89c2c4e2fcb664/transformed/classes/classes.dex +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/release/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +108 -20
- package/android/build/intermediates/compile_symbol_list/release/R.txt +108 -20
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +78 -20
- package/android/build/intermediates/symbol_list_with_package_name/release/package-aware-r.txt +78 -20
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -2
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/counters.tab +1 -1
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileReleaseKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/last-build.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$3.class → CardFieldView$setListeners$7.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$4.class → CardFieldView$setListeners$8.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/{CardFieldView$setListeners$5.class → CardFieldView$setListeners$9.class} +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/ErrorsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/MappersKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeContainerManager.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule.class +0 -0
- package/android/build.gradle +4 -2
- package/android/gradle.properties +1 -0
- package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +0 -2
- package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +48 -34
- package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +0 -5
- package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +0 -4
- package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +84 -0
- package/android/src/main/java/com/reactnativestripesdk/Constants.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/Errors.kt +16 -6
- package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/GooglePayFragment.kt +0 -3
- package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +3 -2
- package/android/src/main/java/com/reactnativestripesdk/Mappers.kt +77 -40
- package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +77 -22
- package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +81 -5
- package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +199 -113
- package/ios/.DS_Store +0 -0
- package/ios/Mappers.swift +23 -18
- package/ios/StripeSdk.m +2 -2
- package/ios/StripeSdk.swift +16 -26
- package/lib/commonjs/NativeStripeSdk.js.map +1 -1
- package/lib/commonjs/components/ApplePayButton.js.map +1 -1
- package/lib/commonjs/components/CardField.js.map +1 -1
- package/lib/commonjs/components/CardForm.js.map +1 -1
- package/lib/commonjs/components/StripeProvider.js +1 -1
- package/lib/commonjs/components/StripeProvider.js.map +1 -1
- package/lib/commonjs/functions.js +1 -1
- package/lib/commonjs/functions.js.map +1 -1
- package/lib/commonjs/helpers.js.map +1 -1
- package/lib/commonjs/hooks/useConfirmPayment.js.map +1 -1
- package/lib/commonjs/hooks/useConfirmSetupIntent.js.map +1 -1
- package/lib/commonjs/hooks/useGooglePay.js.map +1 -1
- package/lib/commonjs/hooks/useStripe.js +1 -1
- package/lib/commonjs/hooks/useStripe.js.map +1 -1
- package/lib/commonjs/types/ApplePay.js +1 -1
- package/lib/commonjs/types/ApplePay.js.map +1 -1
- package/lib/commonjs/types/Common.js +2 -0
- package/lib/commonjs/types/Common.js.map +1 -0
- package/lib/commonjs/types/Errors.js +1 -1
- package/lib/commonjs/types/Errors.js.map +1 -1
- package/lib/commonjs/types/GooglePay.js +1 -1
- package/lib/commonjs/types/GooglePay.js.map +1 -1
- package/lib/commonjs/types/PaymentIntent.js +2 -0
- package/lib/commonjs/types/PaymentIntent.js.map +1 -0
- package/lib/commonjs/types/PaymentMethod.js +2 -0
- package/lib/commonjs/types/PaymentMethod.js.map +1 -0
- package/lib/commonjs/types/PaymentSheet.js +1 -1
- package/lib/commonjs/types/SetupIntent.js +1 -1
- package/lib/commonjs/types/SetupIntent.js.map +1 -1
- package/lib/commonjs/types/ThreeDSecure.js +1 -1
- package/lib/commonjs/types/ThreeDSecure.js.map +1 -1
- package/lib/commonjs/types/Token.js +2 -0
- package/lib/commonjs/types/Token.js.map +1 -0
- package/lib/commonjs/types/components/ApplePayButtonComponent.js +1 -1
- package/lib/commonjs/types/components/ApplePayButtonComponent.js.map +1 -1
- package/lib/commonjs/types/components/AuBECSDebitFormComponent.js +2 -0
- package/lib/commonjs/types/components/AuBECSDebitFormComponent.js.map +1 -0
- package/lib/commonjs/types/components/CardFieldInput.js +1 -1
- package/lib/commonjs/types/components/CardFieldInput.js.map +1 -1
- package/lib/commonjs/types/components/CardFormView.js +1 -1
- package/lib/commonjs/types/components/CardFormView.js.map +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/module/NativeStripeSdk.js.map +1 -1
- package/lib/module/components/ApplePayButton.js.map +1 -1
- package/lib/module/components/CardField.js.map +1 -1
- package/lib/module/components/CardForm.js.map +1 -1
- package/lib/module/components/StripeProvider.js +1 -1
- package/lib/module/components/StripeProvider.js.map +1 -1
- package/lib/module/functions.js +1 -1
- package/lib/module/functions.js.map +1 -1
- package/lib/module/helpers.js.map +1 -1
- package/lib/module/hooks/useConfirmPayment.js.map +1 -1
- package/lib/module/hooks/useConfirmSetupIntent.js.map +1 -1
- package/lib/module/hooks/useGooglePay.js.map +1 -1
- package/lib/module/hooks/useStripe.js +1 -1
- package/lib/module/hooks/useStripe.js.map +1 -1
- package/lib/module/types/ApplePay.js +1 -1
- package/lib/module/types/ApplePay.js.map +1 -1
- package/lib/module/types/Common.js +2 -0
- package/lib/module/types/Common.js.map +1 -0
- package/lib/module/types/Errors.js +1 -1
- package/lib/module/types/Errors.js.map +1 -1
- package/lib/module/types/GooglePay.js +1 -1
- package/lib/module/types/GooglePay.js.map +1 -1
- package/lib/module/types/PaymentIntent.js +2 -0
- package/lib/module/types/PaymentIntent.js.map +1 -0
- package/lib/module/types/PaymentMethod.js +2 -0
- package/lib/module/types/PaymentMethod.js.map +1 -0
- package/lib/module/types/PaymentSheet.js +1 -1
- package/lib/module/types/SetupIntent.js +1 -1
- package/lib/module/types/SetupIntent.js.map +1 -1
- package/lib/module/types/ThreeDSecure.js +1 -1
- package/lib/module/types/ThreeDSecure.js.map +1 -1
- package/lib/module/types/Token.js +2 -0
- package/lib/module/types/Token.js.map +1 -0
- package/lib/module/types/components/ApplePayButtonComponent.js +1 -1
- package/lib/module/types/components/ApplePayButtonComponent.js.map +1 -1
- package/lib/module/types/components/AuBECSDebitFormComponent.js +2 -0
- package/lib/module/types/components/AuBECSDebitFormComponent.js.map +1 -0
- package/lib/module/types/components/CardFieldInput.js +1 -1
- package/lib/module/types/components/CardFieldInput.js.map +1 -1
- package/lib/module/types/components/CardFormView.js +1 -1
- package/lib/module/types/components/CardFormView.js.map +1 -1
- package/lib/module/types/index.js +1 -1
- package/lib/module/types/index.js.map +1 -1
- package/lib/typescript/src/NativeStripeSdk.d.ts +9 -9
- package/lib/typescript/src/components/ApplePayButton.d.ts +2 -2
- package/lib/typescript/src/components/CardField.d.ts +2 -2
- package/lib/typescript/src/components/StripeProvider.d.ts +1 -1
- package/lib/typescript/src/functions.d.ts +11 -15
- package/lib/typescript/src/helpers.d.ts +2 -1
- package/lib/typescript/src/hooks/useConfirmPayment.d.ts +2 -2
- package/lib/typescript/src/hooks/useConfirmSetupIntent.d.ts +2 -2
- package/lib/typescript/src/hooks/useGooglePay.d.ts +2 -2
- package/lib/typescript/src/hooks/useStripe.d.ts +11 -12
- package/lib/typescript/src/types/ApplePay.d.ts +48 -50
- package/lib/typescript/src/types/Common.d.ts +14 -0
- package/lib/typescript/src/types/Errors.d.ts +10 -0
- package/lib/typescript/src/types/GooglePay.d.ts +45 -50
- package/lib/typescript/src/types/PaymentIntent.d.ts +46 -0
- package/lib/typescript/src/types/PaymentMethod.d.ts +167 -0
- package/lib/typescript/src/types/PaymentSheet.d.ts +41 -55
- package/lib/typescript/src/types/SetupIntent.d.ts +22 -56
- package/lib/typescript/src/types/ThreeDSecure.d.ts +62 -68
- package/lib/typescript/src/types/Token.d.ts +50 -0
- package/lib/typescript/src/types/components/ApplePayButtonComponent.d.ts +8 -10
- package/{src/types/components/AuBECSDebitForm.ts → lib/typescript/src/types/components/AuBECSDebitFormComponent.d.ts} +8 -13
- package/lib/typescript/src/types/components/CardFieldInput.d.ts +62 -65
- package/lib/typescript/src/types/components/CardFormView.d.ts +41 -44
- package/lib/typescript/src/types/index.d.ts +53 -61
- package/package.json +7 -3
- package/src/NativeStripeSdk.tsx +15 -18
- package/src/components/ApplePayButton.tsx +4 -4
- package/src/components/CardField.tsx +2 -2
- package/src/components/CardForm.tsx +1 -1
- package/src/components/StripeProvider.tsx +1 -4
- package/src/functions.ts +75 -136
- package/src/helpers.ts +3 -2
- package/src/hooks/useConfirmPayment.tsx +3 -3
- package/src/hooks/useConfirmSetupIntent.tsx +3 -3
- package/src/hooks/useGooglePay.tsx +2 -2
- package/src/hooks/useStripe.tsx +22 -20
- package/src/types/ApplePay.ts +60 -62
- package/src/types/Common.ts +15 -0
- package/src/types/Errors.ts +12 -0
- package/src/types/GooglePay.ts +67 -73
- package/src/types/PaymentIntent.ts +53 -0
- package/src/types/PaymentMethod.ts +242 -0
- package/src/types/PaymentSheet.ts +49 -63
- package/src/types/SetupIntent.ts +30 -82
- package/src/types/ThreeDSecure.ts +63 -69
- package/src/types/Token.ts +74 -0
- package/src/types/components/ApplePayButtonComponent.ts +25 -27
- package/src/types/components/AuBECSDebitFormComponent.ts +29 -0
- package/src/types/components/CardFieldInput.ts +65 -67
- package/src/types/components/CardFormView.ts +48 -51
- package/src/types/index.ts +78 -71
- package/android/build/.transforms/06225d218c14d1720edd690e5aad3666/results.bin +0 -0
- package/android/build/.transforms/31ceac6fb5d33b3621129bf6bacef38e/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/48791259e8e16eb93ec0e1ee5c2320d3/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/74570cf3214a596c51ea9185f02b2c7f/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/82928fc3901d2ce5cedef114e23b9dd5/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/9338bfb74c726e5746db5e10b980917a/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/c731e6bf5b480f659bf1c341f3f0657c/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/d436978a4beecbc35d07543a01fe4a5c/transformed/classes/classes.dex +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.s +0 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +0 -1
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/CardFieldView$setListeners$2.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
- package/lib/commonjs/types/Card.js +0 -2
- package/lib/commonjs/types/Card.js.map +0 -1
- package/lib/commonjs/types/PaymentIntents.js +0 -2
- package/lib/commonjs/types/PaymentIntents.js.map +0 -1
- package/lib/commonjs/types/PaymentMethods.js +0 -2
- package/lib/commonjs/types/PaymentMethods.js.map +0 -1
- package/lib/commonjs/types/components/AuBECSDebitForm.js +0 -2
- package/lib/commonjs/types/components/AuBECSDebitForm.js.map +0 -1
- package/lib/module/types/Card.js +0 -2
- package/lib/module/types/Card.js.map +0 -1
- package/lib/module/types/PaymentIntents.js +0 -2
- package/lib/module/types/PaymentIntents.js.map +0 -1
- package/lib/module/types/PaymentMethods.js +0 -2
- package/lib/module/types/PaymentMethods.js.map +0 -1
- package/lib/module/types/components/AuBECSDebitForm.js +0 -2
- package/lib/module/types/components/AuBECSDebitForm.js.map +0 -1
- package/lib/typescript/src/types/Card.d.ts +0 -42
- package/lib/typescript/src/types/PaymentIntents.d.ts +0 -52
- package/lib/typescript/src/types/PaymentMethods.d.ts +0 -193
- package/lib/typescript/src/types/components/AuBECSDebitForm.d.ts +0 -28
- package/src/types/Card.ts +0 -61
- package/src/types/PaymentIntents.ts +0 -58
- package/src/types/PaymentMethods.ts +0 -264
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import type { FormDetails } from './components/AuBECSDebitFormComponent';
|
|
2
|
+
import type {
|
|
3
|
+
CardBrand,
|
|
4
|
+
BankAcccountHolderType,
|
|
5
|
+
BankAcccountType,
|
|
6
|
+
} from './Token';
|
|
7
|
+
import type { FutureUsage } from './PaymentIntent';
|
|
8
|
+
import type { Address, BillingDetails } from './Common';
|
|
9
|
+
|
|
10
|
+
export interface Result {
|
|
11
|
+
id: string;
|
|
12
|
+
liveMode: boolean;
|
|
13
|
+
customerId: string;
|
|
14
|
+
billingDetails: BillingDetails;
|
|
15
|
+
type: Type;
|
|
16
|
+
AuBecsDebit: AuBecsDebitResult;
|
|
17
|
+
BacsDebit: BacsDebitResult;
|
|
18
|
+
Card: CardResult;
|
|
19
|
+
Fpx: FpxResult;
|
|
20
|
+
Ideal: IdealResult;
|
|
21
|
+
SepaDebit: SepaDebitResult;
|
|
22
|
+
Sofort: SofortResult;
|
|
23
|
+
Upi: UpiResult;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type CreateParams =
|
|
27
|
+
| CardParams
|
|
28
|
+
| IdealParams
|
|
29
|
+
| OxxoParams
|
|
30
|
+
| P24Params
|
|
31
|
+
| AlipayParams
|
|
32
|
+
| GiropayParams
|
|
33
|
+
| SepaParams
|
|
34
|
+
| EpsParams
|
|
35
|
+
| AuBecsDebitParams
|
|
36
|
+
| SofortParams
|
|
37
|
+
| GrabPayParams
|
|
38
|
+
| FPXParams
|
|
39
|
+
| AfterpayClearpayParams
|
|
40
|
+
| KlarnaParams
|
|
41
|
+
// | WeChatPayParams
|
|
42
|
+
| BancontactParams
|
|
43
|
+
| USBankAccountParams;
|
|
44
|
+
|
|
45
|
+
export type ConfirmParams = CreateParams;
|
|
46
|
+
|
|
47
|
+
export type CreateOptions = {};
|
|
48
|
+
|
|
49
|
+
export type ConfirmOptions = CreateOptions;
|
|
50
|
+
|
|
51
|
+
export type ShippingDetails = BillingDetails;
|
|
52
|
+
|
|
53
|
+
interface BaseParams {
|
|
54
|
+
billingDetails?: BillingDetails;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type CardParams =
|
|
58
|
+
| (BaseParams & {
|
|
59
|
+
type: 'Card';
|
|
60
|
+
token?: string;
|
|
61
|
+
setupFutureUsage?: FutureUsage;
|
|
62
|
+
})
|
|
63
|
+
| (BaseParams & {
|
|
64
|
+
type: 'Card';
|
|
65
|
+
paymentMethodId: string;
|
|
66
|
+
cvc?: string;
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export interface IdealParams extends BaseParams {
|
|
70
|
+
type: 'Ideal';
|
|
71
|
+
bankName?: string;
|
|
72
|
+
setupFutureUsage?: FutureUsage;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface FPXParams {
|
|
76
|
+
type: 'Fpx';
|
|
77
|
+
testOfflineBank?: boolean;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface AlipayParams {
|
|
81
|
+
type: 'Alipay';
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface OxxoParams extends Required<BaseParams> {
|
|
85
|
+
type: 'Oxxo';
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export interface SofortParams extends BaseParams {
|
|
89
|
+
type: 'Sofort';
|
|
90
|
+
country: string;
|
|
91
|
+
setupFutureUsage?: FutureUsage;
|
|
92
|
+
}
|
|
93
|
+
export interface GrabPayParams extends BaseParams {
|
|
94
|
+
type: 'GrabPay';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface BancontactParams extends Required<BaseParams> {
|
|
98
|
+
type: 'Bancontact';
|
|
99
|
+
setupFutureUsage?: FutureUsage;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface SepaParams extends Required<BaseParams> {
|
|
103
|
+
type: 'SepaDebit';
|
|
104
|
+
iban: string;
|
|
105
|
+
setupFutureUsage?: FutureUsage;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface GiropayParams extends Required<BaseParams> {
|
|
109
|
+
type: 'Giropay';
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface AfterpayClearpayParams extends Required<BaseParams> {
|
|
113
|
+
type: 'AfterpayClearpay';
|
|
114
|
+
shippingDetails: ShippingDetails;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type KlarnaParams = {
|
|
118
|
+
type: 'Klarna';
|
|
119
|
+
billingDetails: Pick<Required<BillingDetails>, 'email'> & {
|
|
120
|
+
address: Pick<Required<Address>, 'country'>;
|
|
121
|
+
} & BillingDetails;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export interface EpsParams extends Required<BaseParams> {
|
|
125
|
+
type: 'Eps';
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface P24Params extends Required<BaseParams> {
|
|
129
|
+
type: 'P24';
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface WeChatPayParams extends BaseParams {
|
|
133
|
+
type: 'WeChatPay';
|
|
134
|
+
appId: string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface AuBecsDebitParams {
|
|
138
|
+
type: 'AuBecsDebit';
|
|
139
|
+
formDetails: FormDetails;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/** Before using this payment method type, ensure you have already collected the bank information
|
|
143
|
+
* for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account
|
|
144
|
+
* details manually.*/
|
|
145
|
+
export type USBankAccountParams = {
|
|
146
|
+
type: 'USBankAccount';
|
|
147
|
+
billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;
|
|
148
|
+
accountNumber?: string;
|
|
149
|
+
routingNumber?: string;
|
|
150
|
+
/** Defaults to Individual */
|
|
151
|
+
accountHolderType?: BankAcccountHolderType;
|
|
152
|
+
/** Defaults to Checking */
|
|
153
|
+
accountType?: BankAcccountType;
|
|
154
|
+
setupFutureUsage?: FutureUsage;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export interface AuBecsDebitResult {
|
|
158
|
+
fingerprint?: string;
|
|
159
|
+
last4?: string;
|
|
160
|
+
bsbNumber?: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface BacsDebitResult {
|
|
164
|
+
sortCode?: string;
|
|
165
|
+
last4?: string;
|
|
166
|
+
fingerprint?: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface CardResult {
|
|
170
|
+
brand?: CardBrand;
|
|
171
|
+
country?: string;
|
|
172
|
+
expYear?: number;
|
|
173
|
+
expMonth?: number;
|
|
174
|
+
fingerprint?: string;
|
|
175
|
+
funding?: string;
|
|
176
|
+
last4?: string;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export interface FpxResult {
|
|
180
|
+
bank?: string;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface IdealResult {
|
|
184
|
+
bankIdentifierCode?: string;
|
|
185
|
+
bank?: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface SepaDebitResult {
|
|
189
|
+
bankCode?: string;
|
|
190
|
+
country?: string;
|
|
191
|
+
fingerprint?: string;
|
|
192
|
+
last4?: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface SofortResult {
|
|
196
|
+
country?: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface UpiResult {
|
|
200
|
+
vpa?: string;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type USBankAccountResult = {
|
|
204
|
+
routingNumber?: string;
|
|
205
|
+
accountHolderType?: BankAcccountHolderType;
|
|
206
|
+
accountType?: BankAcccountType;
|
|
207
|
+
last4?: string;
|
|
208
|
+
bankName?: string;
|
|
209
|
+
linkedAccount?: string;
|
|
210
|
+
fingerprint?: string;
|
|
211
|
+
preferredNetwork?: string;
|
|
212
|
+
supportedNetworks?: string[];
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
export type Type =
|
|
216
|
+
| 'AfterpayClearpay'
|
|
217
|
+
| 'Card'
|
|
218
|
+
| 'Alipay'
|
|
219
|
+
| 'GrabPay'
|
|
220
|
+
| 'Ideal'
|
|
221
|
+
| 'Fpx'
|
|
222
|
+
| 'CardPresent'
|
|
223
|
+
| 'SepaDebit'
|
|
224
|
+
| 'AuBecsDebit'
|
|
225
|
+
| 'BacsDebit'
|
|
226
|
+
| 'Giropay'
|
|
227
|
+
| 'P24'
|
|
228
|
+
| 'Eps'
|
|
229
|
+
| 'Bancontact'
|
|
230
|
+
| 'Oxxo'
|
|
231
|
+
| 'Sofort'
|
|
232
|
+
| 'Upi'
|
|
233
|
+
| 'USBankAccount'
|
|
234
|
+
| 'Unknown';
|
|
235
|
+
|
|
236
|
+
export type CollectBankAccountParams = {
|
|
237
|
+
type: 'USBankAccount';
|
|
238
|
+
billingDetails: {
|
|
239
|
+
name: string;
|
|
240
|
+
email?: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
@@ -1,67 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
export type SetupParams = ClientSecretParams &
|
|
3
|
-
GooglePayParams &
|
|
4
|
-
ApplePayParams & {
|
|
5
|
-
customerId?: string;
|
|
6
|
-
customerEphemeralKeySecret?: string;
|
|
7
|
-
customFlow?: boolean;
|
|
8
|
-
merchantDisplayName?: string;
|
|
9
|
-
style?: 'alwaysLight' | 'alwaysDark' | 'automatic';
|
|
10
|
-
returnURL?: string;
|
|
11
|
-
primaryButtonColor?: string;
|
|
12
|
-
defaultBillingDetails?: BillingDetails;
|
|
13
|
-
allowsDelayedPaymentMethods?: boolean;
|
|
14
|
-
};
|
|
1
|
+
import type { BillingDetails } from './Common';
|
|
15
2
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
export type SetupParams = ClientSecretParams &
|
|
4
|
+
GooglePayParams &
|
|
5
|
+
ApplePayParams & {
|
|
6
|
+
customerId?: string;
|
|
7
|
+
customerEphemeralKeySecret?: string;
|
|
8
|
+
customFlow?: boolean;
|
|
9
|
+
merchantDisplayName?: string;
|
|
10
|
+
style?: 'alwaysLight' | 'alwaysDark' | 'automatic';
|
|
11
|
+
returnURL?: string;
|
|
12
|
+
primaryButtonColor?: string;
|
|
13
|
+
defaultBillingDetails?: BillingDetails;
|
|
14
|
+
allowsDelayedPaymentMethods?: boolean;
|
|
15
|
+
};
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
type ClientSecretParams =
|
|
18
|
+
| {
|
|
19
|
+
paymentIntentClientSecret: string;
|
|
20
|
+
setupIntentClientSecret?: undefined;
|
|
21
|
+
}
|
|
22
|
+
| {
|
|
23
|
+
setupIntentClientSecret: string;
|
|
24
|
+
paymentIntentClientSecret?: undefined;
|
|
25
|
+
};
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
export interface PaymentOption {
|
|
64
|
-
label: string;
|
|
65
|
-
image: string;
|
|
66
|
-
}
|
|
27
|
+
type ApplePayParams =
|
|
28
|
+
| {
|
|
29
|
+
applePay?: true;
|
|
30
|
+
merchantCountryCode: string;
|
|
31
|
+
}
|
|
32
|
+
| {
|
|
33
|
+
applePay?: false;
|
|
34
|
+
merchantCountryCode?: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
type GooglePayParams =
|
|
38
|
+
| {
|
|
39
|
+
googlePay?: true;
|
|
40
|
+
merchantCountryCode: string;
|
|
41
|
+
currencyCode?: string;
|
|
42
|
+
testEnv?: boolean;
|
|
43
|
+
}
|
|
44
|
+
| {
|
|
45
|
+
googlePay?: false;
|
|
46
|
+
merchantCountryCode?: string;
|
|
47
|
+
currencyCode?: string;
|
|
48
|
+
testEnv?: boolean;
|
|
49
|
+
};
|
|
50
|
+
export interface PaymentOption {
|
|
51
|
+
label: string;
|
|
52
|
+
image: string;
|
|
67
53
|
}
|
package/src/types/SetupIntent.ts
CHANGED
|
@@ -1,90 +1,38 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Type } from './PaymentMethod';
|
|
2
|
+
import type { LastPaymentError } from './PaymentIntent';
|
|
3
3
|
import type { NextAction } from './NextAction';
|
|
4
|
-
import type
|
|
5
|
-
|
|
6
|
-
PaymentMethods,
|
|
7
|
-
PaymentMethodCreateParams,
|
|
8
|
-
} from './PaymentMethods';
|
|
9
|
-
|
|
10
|
-
export interface SetupIntent {
|
|
4
|
+
import type * as PaymentMethod from './PaymentMethod';
|
|
5
|
+
export interface Result {
|
|
11
6
|
id: string;
|
|
12
7
|
clientSecret: string;
|
|
13
|
-
lastSetupError:
|
|
14
|
-
created:
|
|
8
|
+
lastSetupError: LastPaymentError | null;
|
|
9
|
+
created: string | null;
|
|
15
10
|
livemode: boolean;
|
|
16
|
-
paymentMethodId:
|
|
17
|
-
status:
|
|
18
|
-
paymentMethodTypes:
|
|
19
|
-
usage:
|
|
20
|
-
description:
|
|
11
|
+
paymentMethodId: string | null;
|
|
12
|
+
status: Status;
|
|
13
|
+
paymentMethodTypes: Type[];
|
|
14
|
+
usage: FutureUsage;
|
|
15
|
+
description: string | null;
|
|
21
16
|
nextAction: NextAction | null;
|
|
22
17
|
}
|
|
23
18
|
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export interface CardParams extends BaseParams {
|
|
45
|
-
type: 'Card';
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export interface IdealParams extends BaseParams {
|
|
49
|
-
type: 'Ideal';
|
|
50
|
-
bankName?: string;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface SofortParams extends BaseParams {
|
|
54
|
-
type: 'Sofort';
|
|
55
|
-
country: string;
|
|
56
|
-
}
|
|
57
|
-
export interface BancontactParams extends Required<BaseParams> {
|
|
58
|
-
type: 'Bancontact';
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export interface SepaParams extends Required<BaseParams> {
|
|
62
|
-
type: 'SepaDebit';
|
|
63
|
-
iban: string;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface AuBecsDebitParams {
|
|
67
|
-
type: 'AuBecsDebit';
|
|
68
|
-
formDetails: AuBECSDebitFormComponent.FormDetails;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export namespace SetupIntents {
|
|
73
|
-
export type FutureUsage =
|
|
74
|
-
| 'Unknown'
|
|
75
|
-
| 'None'
|
|
76
|
-
| 'OnSession'
|
|
77
|
-
| 'OffSession'
|
|
78
|
-
| 'OneTime';
|
|
79
|
-
|
|
80
|
-
export enum Status {
|
|
81
|
-
Succeeded = 'Succeeded',
|
|
82
|
-
RequiresPaymentMethod = 'RequiresPaymentMethod',
|
|
83
|
-
RequiresConfirmation = 'RequiresConfirmation',
|
|
84
|
-
Canceled = 'Canceled',
|
|
85
|
-
Processing = 'Processing',
|
|
86
|
-
RequiresAction = 'RequiresAction',
|
|
87
|
-
RequiresCapture = 'RequiresCapture',
|
|
88
|
-
Unknown = 'Unknown',
|
|
89
|
-
}
|
|
19
|
+
export type ConfirmParams = PaymentMethod.CreateParams;
|
|
20
|
+
|
|
21
|
+
export type ConfirmOptions = PaymentMethod.ConfirmOptions;
|
|
22
|
+
|
|
23
|
+
export type FutureUsage =
|
|
24
|
+
| 'Unknown'
|
|
25
|
+
| 'None'
|
|
26
|
+
| 'OnSession'
|
|
27
|
+
| 'OffSession'
|
|
28
|
+
| 'OneTime';
|
|
29
|
+
|
|
30
|
+
export enum Status {
|
|
31
|
+
Succeeded = 'Succeeded',
|
|
32
|
+
RequiresPaymentMethod = 'RequiresPaymentMethod',
|
|
33
|
+
RequiresConfirmation = 'RequiresConfirmation',
|
|
34
|
+
Canceled = 'Canceled',
|
|
35
|
+
Processing = 'Processing',
|
|
36
|
+
RequiresAction = 'RequiresAction',
|
|
37
|
+
Unknown = 'Unknown',
|
|
90
38
|
}
|
|
@@ -1,81 +1,75 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ConfigurationParams extends Props {
|
|
2
2
|
timeout?: number;
|
|
3
|
-
label?:
|
|
4
|
-
navigationBar?:
|
|
5
|
-
textField?:
|
|
6
|
-
submitButton?:
|
|
7
|
-
cancelButton?:
|
|
8
|
-
continueButton?:
|
|
9
|
-
nextButton?:
|
|
10
|
-
resendButton?:
|
|
3
|
+
label?: LabelProps;
|
|
4
|
+
navigationBar?: NavigationBarProps;
|
|
5
|
+
textField?: TextFieldProps;
|
|
6
|
+
submitButton?: ButtonProps;
|
|
7
|
+
cancelButton?: ButtonProps;
|
|
8
|
+
continueButton?: ButtonProps;
|
|
9
|
+
nextButton?: ButtonProps;
|
|
10
|
+
resendButton?: ButtonProps;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export
|
|
14
|
-
export interface Props extends IOS.Props, Android.Props {}
|
|
13
|
+
export interface Props extends IOSProps, AndroidProps {}
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
export enum NavigationBarStyle {
|
|
16
|
+
default = 0,
|
|
17
|
+
black = 1,
|
|
18
|
+
blackTranslucent = 2,
|
|
19
|
+
}
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
}
|
|
21
|
+
export interface IOSProps {
|
|
22
|
+
backgroundColor?: string;
|
|
23
|
+
footer?: FooterProps;
|
|
24
|
+
}
|
|
25
|
+
export interface IOSNavigationBarProps {
|
|
26
|
+
barStyle?: NavigationBarStyle;
|
|
27
|
+
translucent?: boolean;
|
|
28
|
+
barTintColor?: string;
|
|
29
|
+
}
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
}
|
|
31
|
+
export interface AndroidProps {
|
|
32
|
+
accentColor?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface AndroidNavigationBarProps {
|
|
35
|
+
statusBarColor?: string;
|
|
36
|
+
backgroundColor?: string;
|
|
37
|
+
}
|
|
43
38
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
39
|
+
export interface NavigationBarProps
|
|
40
|
+
extends IOSNavigationBarProps,
|
|
41
|
+
AndroidNavigationBarProps {
|
|
42
|
+
headerText?: string;
|
|
43
|
+
buttonText?: string;
|
|
44
|
+
textColor?: string;
|
|
45
|
+
textFontSize?: number;
|
|
46
|
+
}
|
|
52
47
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
export interface FooterProps {
|
|
49
|
+
backgroundColor?: string;
|
|
50
|
+
chevronColor?: string;
|
|
51
|
+
headingTextColor?: string;
|
|
52
|
+
textColor?: string;
|
|
53
|
+
}
|
|
59
54
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
55
|
+
export interface LabelProps {
|
|
56
|
+
headingTextColor?: string;
|
|
57
|
+
textColor?: string;
|
|
58
|
+
textFontSize?: number;
|
|
59
|
+
headingFontSize?: number;
|
|
60
|
+
}
|
|
66
61
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
62
|
+
export interface TextFieldProps {
|
|
63
|
+
borderColor?: string;
|
|
64
|
+
borderWidth?: number;
|
|
65
|
+
borderRadius?: number;
|
|
66
|
+
textColor?: string;
|
|
67
|
+
textFontSize?: number;
|
|
68
|
+
}
|
|
74
69
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
70
|
+
export interface ButtonProps {
|
|
71
|
+
backgroundColor?: string;
|
|
72
|
+
borderRadius?: number;
|
|
73
|
+
textColor?: string;
|
|
74
|
+
textFontSize?: number;
|
|
81
75
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { Address } from './Common';
|
|
2
|
+
|
|
3
|
+
export type CardBrand =
|
|
4
|
+
| 'AmericanExpress'
|
|
5
|
+
| 'DinersClub'
|
|
6
|
+
| 'Discover'
|
|
7
|
+
| 'JCB'
|
|
8
|
+
| 'MasterCard'
|
|
9
|
+
| 'UnionPay'
|
|
10
|
+
| 'Visa'
|
|
11
|
+
| 'Unknown';
|
|
12
|
+
|
|
13
|
+
export type Type =
|
|
14
|
+
| 'Account'
|
|
15
|
+
| 'BankAccount'
|
|
16
|
+
| 'Card'
|
|
17
|
+
| 'CvcUpdate'
|
|
18
|
+
| 'Person'
|
|
19
|
+
| 'Pii';
|
|
20
|
+
|
|
21
|
+
export interface Result {
|
|
22
|
+
id: string;
|
|
23
|
+
created: string;
|
|
24
|
+
type: Type;
|
|
25
|
+
used: boolean;
|
|
26
|
+
livemode: boolean;
|
|
27
|
+
card?: Card;
|
|
28
|
+
bankAccount?: BankAccount;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface BankAccount {
|
|
32
|
+
bankName: string;
|
|
33
|
+
accountHolderName: string;
|
|
34
|
+
accountHolderType: BankAcccountHolderType;
|
|
35
|
+
currency: string;
|
|
36
|
+
country: string;
|
|
37
|
+
routingNumber: string;
|
|
38
|
+
status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface Card {
|
|
42
|
+
country: string;
|
|
43
|
+
brand: CardBrand;
|
|
44
|
+
currency?: string;
|
|
45
|
+
expMonth: number;
|
|
46
|
+
expYear: number;
|
|
47
|
+
last4: string;
|
|
48
|
+
funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';
|
|
49
|
+
address: Address;
|
|
50
|
+
name?: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type CreateParams = CreateCardTokenParams | CreateBankAccountTokenParams;
|
|
54
|
+
|
|
55
|
+
export type CreateCardTokenParams = {
|
|
56
|
+
type: 'Card';
|
|
57
|
+
address?: Address;
|
|
58
|
+
name?: string;
|
|
59
|
+
currency?: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export type BankAcccountHolderType = 'Company' | 'Individual';
|
|
63
|
+
|
|
64
|
+
export type BankAcccountType = 'Checking' | 'Savings';
|
|
65
|
+
|
|
66
|
+
export type CreateBankAccountTokenParams = {
|
|
67
|
+
type: 'BankAccount';
|
|
68
|
+
accountHolderName?: string;
|
|
69
|
+
accountHolderType?: BankAcccountHolderType;
|
|
70
|
+
accountNumber: string;
|
|
71
|
+
country: string;
|
|
72
|
+
currency: string;
|
|
73
|
+
routingNumber?: string;
|
|
74
|
+
};
|