@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
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PaymentMethod, ApplePay, PaymentSheet, CreatePaymentMethodResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, ConfirmPaymentResult, HandleNextActionResult, ConfirmSetupIntentResult, CreateTokenForCVCUpdateResult, ApplePayResult, ApplePayError, StripeError, InitPaymentSheetResult, PresentPaymentSheetResult, ConfirmPaymentSheetPaymentResult, SetupIntent, CreateTokenResult, PayWithGooglePayResult, GooglePayInitResult, GooglePay, CreateGooglePayPaymentMethodResult, OpenApplePaySetupResult, Token, VerifyMicrodepositsParams, VerifyMicrodepositsForPaymentResult, VerifyMicrodepositsForSetupResult, CollectBankAccountForSetupResult, CollectBankAccountForPaymentResult } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* useStripe hook
|
|
4
4
|
*/
|
|
5
5
|
export declare function useStripe(): {
|
|
6
6
|
retrievePaymentIntent: (clientSecret: string) => Promise<RetrievePaymentIntentResult>;
|
|
7
7
|
retrieveSetupIntent: (clientSecret: string) => Promise<RetrieveSetupIntentResult>;
|
|
8
|
-
confirmPayment: (paymentIntentClientSecret: string, data:
|
|
9
|
-
createPaymentMethod: (data:
|
|
8
|
+
confirmPayment: (paymentIntentClientSecret: string, data: PaymentMethod.ConfirmParams, options?: PaymentMethod.ConfirmOptions) => Promise<ConfirmPaymentResult>;
|
|
9
|
+
createPaymentMethod: (data: PaymentMethod.CreateParams, options?: PaymentMethod.CreateOptions) => Promise<CreatePaymentMethodResult>;
|
|
10
10
|
handleNextAction: (paymentIntentClientSecret: string) => Promise<HandleNextActionResult>;
|
|
11
|
-
handleCardAction: (paymentIntentClientSecret: string) => Promise<HandleNextActionResult>;
|
|
12
11
|
isApplePaySupported: boolean | null;
|
|
13
12
|
presentApplePay: (params: ApplePay.PresentParams) => Promise<ApplePayResult>;
|
|
14
13
|
confirmApplePayPayment: (clientSecret: string) => Promise<{
|
|
15
14
|
error?: StripeError<ApplePayError>;
|
|
16
15
|
}>;
|
|
17
|
-
confirmSetupIntent: (paymentIntentClientSecret: string, data:
|
|
16
|
+
confirmSetupIntent: (paymentIntentClientSecret: string, data: SetupIntent.ConfirmParams, options?: SetupIntent.ConfirmOptions) => Promise<ConfirmSetupIntentResult>;
|
|
18
17
|
createTokenForCVCUpdate: (cvc: string) => Promise<CreateTokenForCVCUpdateResult>;
|
|
19
18
|
updateApplePaySummaryItems: (summaryItems: ApplePay.CartSummaryItem[], errorAddressFields?: Array<{
|
|
20
19
|
field: ApplePay.AddressFields;
|
|
@@ -26,14 +25,14 @@ export declare function useStripe(): {
|
|
|
26
25
|
confirmPaymentSheetPayment: () => Promise<ConfirmPaymentSheetPaymentResult>;
|
|
27
26
|
presentPaymentSheet: () => Promise<PresentPaymentSheetResult>;
|
|
28
27
|
initPaymentSheet: (params: PaymentSheet.SetupParams) => Promise<InitPaymentSheetResult>;
|
|
29
|
-
createToken: (params:
|
|
30
|
-
isGooglePaySupported: (params?: GooglePay.
|
|
28
|
+
createToken: (params: Token.CreateParams) => Promise<CreateTokenResult>;
|
|
29
|
+
isGooglePaySupported: (params?: GooglePay.IsSupportedParams | undefined) => Promise<boolean>;
|
|
31
30
|
initGooglePay: (params: GooglePay.InitParams) => Promise<GooglePayInitResult>;
|
|
32
|
-
presentGooglePay: (params: GooglePay.
|
|
31
|
+
presentGooglePay: (params: GooglePay.PresentParams) => Promise<PayWithGooglePayResult>;
|
|
33
32
|
createGooglePayPaymentMethod: (params: GooglePay.CreatePaymentMethodParams) => Promise<CreateGooglePayPaymentMethodResult>;
|
|
34
33
|
openApplePaySetup: () => Promise<OpenApplePaySetupResult>;
|
|
35
|
-
collectBankAccountForPayment: (clientSecret: string, params: CollectBankAccountParams) => Promise<
|
|
36
|
-
collectBankAccountForSetup: (clientSecret: string, params: CollectBankAccountParams) => Promise<
|
|
37
|
-
verifyMicrodepositsForPayment: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<
|
|
38
|
-
verifyMicrodepositsForSetup: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<
|
|
34
|
+
collectBankAccountForPayment: (clientSecret: string, params: PaymentMethod.CollectBankAccountParams) => Promise<CollectBankAccountForPaymentResult>;
|
|
35
|
+
collectBankAccountForSetup: (clientSecret: string, params: PaymentMethod.CollectBankAccountParams) => Promise<CollectBankAccountForSetupResult>;
|
|
36
|
+
verifyMicrodepositsForPayment: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<VerifyMicrodepositsForPaymentResult>;
|
|
37
|
+
verifyMicrodepositsForSetup: (clientSecret: string, params: VerifyMicrodepositsParams) => Promise<VerifyMicrodepositsForSetupResult>;
|
|
39
38
|
};
|
|
@@ -1,51 +1,49 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
detail?: string;
|
|
11
|
-
}
|
|
12
|
-
interface PostalAddress {
|
|
13
|
-
city?: string;
|
|
14
|
-
country?: string;
|
|
15
|
-
postalCode?: string;
|
|
16
|
-
state?: string;
|
|
17
|
-
street?: string;
|
|
18
|
-
isoCountryCode?: string;
|
|
19
|
-
subAdministrativeArea?: string;
|
|
20
|
-
subLocality?: string;
|
|
21
|
-
}
|
|
22
|
-
interface ContactName {
|
|
23
|
-
familyName?: string;
|
|
24
|
-
namePrefix?: string;
|
|
25
|
-
nameSuffix?: string;
|
|
26
|
-
givenName?: string;
|
|
27
|
-
middleName?: string;
|
|
28
|
-
nickname?: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ShippingContact {
|
|
31
|
-
emailAddress?: string;
|
|
32
|
-
name: ContactName;
|
|
33
|
-
phoneNumber?: number;
|
|
34
|
-
postalAddress: PostalAddress;
|
|
35
|
-
}
|
|
36
|
-
export interface CartSummaryItem {
|
|
37
|
-
label: string;
|
|
38
|
-
amount: string;
|
|
39
|
-
type?: CartSummaryItemType;
|
|
40
|
-
}
|
|
41
|
-
export interface PresentParams {
|
|
42
|
-
cartItems: CartSummaryItem[];
|
|
43
|
-
country: string;
|
|
44
|
-
currency: string;
|
|
45
|
-
requiredShippingAddressFields?: ContactFieldsType[];
|
|
46
|
-
requiredBillingContactFields?: ContactFieldsType[];
|
|
47
|
-
shippingMethods?: ShippingMethod[];
|
|
48
|
-
jcbEnabled?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
1
|
+
export declare type CartSummaryItemType = 'final' | 'pending';
|
|
2
|
+
export declare type ContactFieldsType = 'emailAddress' | 'name' | 'phoneNumber' | 'phoneticName' | 'postalAddress';
|
|
3
|
+
export declare type AddressFields = 'street' | 'city' | 'subAdministrativeArea' | 'state' | 'postalCode' | 'country' | 'countryCode' | 'subLocality';
|
|
4
|
+
export interface ShippingMethod {
|
|
5
|
+
label: string;
|
|
6
|
+
amount: string;
|
|
7
|
+
type?: CartSummaryItemType;
|
|
8
|
+
identifier: string;
|
|
9
|
+
detail?: string;
|
|
51
10
|
}
|
|
11
|
+
interface PostalAddress {
|
|
12
|
+
city?: string;
|
|
13
|
+
country?: string;
|
|
14
|
+
postalCode?: string;
|
|
15
|
+
state?: string;
|
|
16
|
+
street?: string;
|
|
17
|
+
isoCountryCode?: string;
|
|
18
|
+
subAdministrativeArea?: string;
|
|
19
|
+
subLocality?: string;
|
|
20
|
+
}
|
|
21
|
+
interface ContactName {
|
|
22
|
+
familyName?: string;
|
|
23
|
+
namePrefix?: string;
|
|
24
|
+
nameSuffix?: string;
|
|
25
|
+
givenName?: string;
|
|
26
|
+
middleName?: string;
|
|
27
|
+
nickname?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ShippingContact {
|
|
30
|
+
emailAddress?: string;
|
|
31
|
+
name: ContactName;
|
|
32
|
+
phoneNumber?: number;
|
|
33
|
+
postalAddress: PostalAddress;
|
|
34
|
+
}
|
|
35
|
+
export interface CartSummaryItem {
|
|
36
|
+
label: string;
|
|
37
|
+
amount: string;
|
|
38
|
+
type?: CartSummaryItemType;
|
|
39
|
+
}
|
|
40
|
+
export interface PresentParams {
|
|
41
|
+
cartItems: CartSummaryItem[];
|
|
42
|
+
country: string;
|
|
43
|
+
currency: string;
|
|
44
|
+
requiredShippingAddressFields?: ContactFieldsType[];
|
|
45
|
+
requiredBillingContactFields?: ContactFieldsType[];
|
|
46
|
+
shippingMethods?: ShippingMethod[];
|
|
47
|
+
jcbEnabled?: boolean;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface BillingDetails {
|
|
2
|
+
email?: string;
|
|
3
|
+
phone?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
address?: Address;
|
|
6
|
+
}
|
|
7
|
+
export interface Address {
|
|
8
|
+
city?: string;
|
|
9
|
+
country?: string;
|
|
10
|
+
line1?: string;
|
|
11
|
+
line2?: string;
|
|
12
|
+
postalCode?: string;
|
|
13
|
+
state?: string;
|
|
14
|
+
}
|
|
@@ -52,3 +52,13 @@ export declare const MissingRoutingNumber: {
|
|
|
52
52
|
code: CreateTokenError;
|
|
53
53
|
message: string;
|
|
54
54
|
};
|
|
55
|
+
export declare enum VerifyMicrodepositsError {
|
|
56
|
+
Canceled = "Canceled",
|
|
57
|
+
Failed = "Failed",
|
|
58
|
+
Unknown = "Unknown"
|
|
59
|
+
}
|
|
60
|
+
export declare enum CollectBankAccountError {
|
|
61
|
+
Canceled = "Canceled",
|
|
62
|
+
Failed = "Failed",
|
|
63
|
+
Unknown = "Unknown"
|
|
64
|
+
}
|
|
@@ -1,51 +1,46 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
interface CreatePaymentMethodParams {
|
|
48
|
-
currencyCode: string;
|
|
49
|
-
amount: number;
|
|
50
|
-
}
|
|
1
|
+
export declare type PresentParams = PresentType & {
|
|
2
|
+
clientSecret: string;
|
|
3
|
+
};
|
|
4
|
+
export declare type PresentType = {
|
|
5
|
+
forSetupIntent?: true;
|
|
6
|
+
currencyCode: string;
|
|
7
|
+
} | {
|
|
8
|
+
forSetupIntent?: false;
|
|
9
|
+
};
|
|
10
|
+
export declare type InitParams = {
|
|
11
|
+
merchantName: string;
|
|
12
|
+
countryCode: string;
|
|
13
|
+
/**
|
|
14
|
+
* Billing address collection configuration.
|
|
15
|
+
*/
|
|
16
|
+
billingAddressConfig?: BillingAddressConfig;
|
|
17
|
+
/**
|
|
18
|
+
* Flag to indicate whether Google Pay collect the customer's email address.
|
|
19
|
+
*
|
|
20
|
+
* Default to `false`.
|
|
21
|
+
*/
|
|
22
|
+
isEmailRequired?: boolean;
|
|
23
|
+
} & IsSupportedParams;
|
|
24
|
+
export declare type IsSupportedParams = {
|
|
25
|
+
testEnv?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* If `true`, Google Pay is considered ready if the customer's Google Pay wallet
|
|
28
|
+
* has an existing payment method.
|
|
29
|
+
*/
|
|
30
|
+
existingPaymentMethodRequired?: boolean;
|
|
31
|
+
};
|
|
32
|
+
export interface BillingAddressConfig {
|
|
33
|
+
isRequired?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Billing address format required to complete the transaction.
|
|
36
|
+
*/
|
|
37
|
+
format?: 'FULL' | 'MIN';
|
|
38
|
+
/**
|
|
39
|
+
* Set to true if a phone number is required to process the transaction.
|
|
40
|
+
*/
|
|
41
|
+
isPhoneNumberRequired?: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface CreatePaymentMethodParams {
|
|
44
|
+
currencyCode: string;
|
|
45
|
+
amount: number;
|
|
51
46
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { StripeError } from '.';
|
|
2
|
+
import type { Address } from './Common';
|
|
3
|
+
import type { Result as PaymentMethodResult } from './PaymentMethod';
|
|
4
|
+
import type { NextAction } from './NextAction';
|
|
5
|
+
import type * as PaymentMethod from './PaymentMethod';
|
|
6
|
+
export interface Result {
|
|
7
|
+
id: string;
|
|
8
|
+
amount: number;
|
|
9
|
+
created: string;
|
|
10
|
+
currency: string;
|
|
11
|
+
status: Status;
|
|
12
|
+
description: string | null;
|
|
13
|
+
receiptEmail: string | null;
|
|
14
|
+
canceledAt: string | null;
|
|
15
|
+
clientSecret: string;
|
|
16
|
+
livemode: boolean;
|
|
17
|
+
paymentMethodId: string;
|
|
18
|
+
captureMethod: 'Automatic' | 'Manual';
|
|
19
|
+
confirmationMethod: 'Automatic' | 'Manual';
|
|
20
|
+
lastPaymentError: LastPaymentError | null;
|
|
21
|
+
shipping: ShippingDetails | null;
|
|
22
|
+
nextAction: NextAction | null;
|
|
23
|
+
}
|
|
24
|
+
export declare type ConfirmParams = PaymentMethod.CreateParams;
|
|
25
|
+
export declare type ConfirmOptions = PaymentMethod.ConfirmOptions;
|
|
26
|
+
export declare type LastPaymentError = StripeError<string> & {
|
|
27
|
+
paymentMethod: PaymentMethodResult;
|
|
28
|
+
};
|
|
29
|
+
export declare type FutureUsage = 'OffSession' | 'OnSession';
|
|
30
|
+
export interface ShippingDetails {
|
|
31
|
+
address: Required<Address>;
|
|
32
|
+
name: string;
|
|
33
|
+
carrier: string;
|
|
34
|
+
phone: string;
|
|
35
|
+
trackingNumber: string;
|
|
36
|
+
}
|
|
37
|
+
export declare enum Status {
|
|
38
|
+
Succeeded = "Succeeded",
|
|
39
|
+
RequiresPaymentMethod = "RequiresPaymentMethod",
|
|
40
|
+
RequiresConfirmation = "RequiresConfirmation",
|
|
41
|
+
Canceled = "Canceled",
|
|
42
|
+
Processing = "Processing",
|
|
43
|
+
RequiresAction = "RequiresAction",
|
|
44
|
+
RequiresCapture = "RequiresCapture",
|
|
45
|
+
Unknown = "Unknown"
|
|
46
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import type { FormDetails } from './components/AuBECSDebitFormComponent';
|
|
2
|
+
import type { CardBrand, BankAcccountHolderType, BankAcccountType } from './Token';
|
|
3
|
+
import type { FutureUsage } from './PaymentIntent';
|
|
4
|
+
import type { Address, BillingDetails } from './Common';
|
|
5
|
+
export interface Result {
|
|
6
|
+
id: string;
|
|
7
|
+
liveMode: boolean;
|
|
8
|
+
customerId: string;
|
|
9
|
+
billingDetails: BillingDetails;
|
|
10
|
+
type: Type;
|
|
11
|
+
AuBecsDebit: AuBecsDebitResult;
|
|
12
|
+
BacsDebit: BacsDebitResult;
|
|
13
|
+
Card: CardResult;
|
|
14
|
+
Fpx: FpxResult;
|
|
15
|
+
Ideal: IdealResult;
|
|
16
|
+
SepaDebit: SepaDebitResult;
|
|
17
|
+
Sofort: SofortResult;
|
|
18
|
+
Upi: UpiResult;
|
|
19
|
+
}
|
|
20
|
+
export declare type CreateParams = CardParams | IdealParams | OxxoParams | P24Params | AlipayParams | GiropayParams | SepaParams | EpsParams | AuBecsDebitParams | SofortParams | GrabPayParams | FPXParams | AfterpayClearpayParams | KlarnaParams | BancontactParams | USBankAccountParams;
|
|
21
|
+
export declare type ConfirmParams = CreateParams;
|
|
22
|
+
export declare type CreateOptions = {};
|
|
23
|
+
export declare type ConfirmOptions = CreateOptions;
|
|
24
|
+
export declare type ShippingDetails = BillingDetails;
|
|
25
|
+
interface BaseParams {
|
|
26
|
+
billingDetails?: BillingDetails;
|
|
27
|
+
}
|
|
28
|
+
export declare type CardParams = (BaseParams & {
|
|
29
|
+
type: 'Card';
|
|
30
|
+
token?: string;
|
|
31
|
+
setupFutureUsage?: FutureUsage;
|
|
32
|
+
}) | (BaseParams & {
|
|
33
|
+
type: 'Card';
|
|
34
|
+
paymentMethodId: string;
|
|
35
|
+
cvc?: string;
|
|
36
|
+
});
|
|
37
|
+
export interface IdealParams extends BaseParams {
|
|
38
|
+
type: 'Ideal';
|
|
39
|
+
bankName?: string;
|
|
40
|
+
setupFutureUsage?: FutureUsage;
|
|
41
|
+
}
|
|
42
|
+
export interface FPXParams {
|
|
43
|
+
type: 'Fpx';
|
|
44
|
+
testOfflineBank?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface AlipayParams {
|
|
47
|
+
type: 'Alipay';
|
|
48
|
+
}
|
|
49
|
+
export interface OxxoParams extends Required<BaseParams> {
|
|
50
|
+
type: 'Oxxo';
|
|
51
|
+
}
|
|
52
|
+
export interface SofortParams extends BaseParams {
|
|
53
|
+
type: 'Sofort';
|
|
54
|
+
country: string;
|
|
55
|
+
setupFutureUsage?: FutureUsage;
|
|
56
|
+
}
|
|
57
|
+
export interface GrabPayParams extends BaseParams {
|
|
58
|
+
type: 'GrabPay';
|
|
59
|
+
}
|
|
60
|
+
export interface BancontactParams extends Required<BaseParams> {
|
|
61
|
+
type: 'Bancontact';
|
|
62
|
+
setupFutureUsage?: FutureUsage;
|
|
63
|
+
}
|
|
64
|
+
export interface SepaParams extends Required<BaseParams> {
|
|
65
|
+
type: 'SepaDebit';
|
|
66
|
+
iban: string;
|
|
67
|
+
setupFutureUsage?: FutureUsage;
|
|
68
|
+
}
|
|
69
|
+
export interface GiropayParams extends Required<BaseParams> {
|
|
70
|
+
type: 'Giropay';
|
|
71
|
+
}
|
|
72
|
+
export interface AfterpayClearpayParams extends Required<BaseParams> {
|
|
73
|
+
type: 'AfterpayClearpay';
|
|
74
|
+
shippingDetails: ShippingDetails;
|
|
75
|
+
}
|
|
76
|
+
export declare type KlarnaParams = {
|
|
77
|
+
type: 'Klarna';
|
|
78
|
+
billingDetails: Pick<Required<BillingDetails>, 'email'> & {
|
|
79
|
+
address: Pick<Required<Address>, 'country'>;
|
|
80
|
+
} & BillingDetails;
|
|
81
|
+
};
|
|
82
|
+
export interface EpsParams extends Required<BaseParams> {
|
|
83
|
+
type: 'Eps';
|
|
84
|
+
}
|
|
85
|
+
export interface P24Params extends Required<BaseParams> {
|
|
86
|
+
type: 'P24';
|
|
87
|
+
}
|
|
88
|
+
export interface WeChatPayParams extends BaseParams {
|
|
89
|
+
type: 'WeChatPay';
|
|
90
|
+
appId: string;
|
|
91
|
+
}
|
|
92
|
+
export interface AuBecsDebitParams {
|
|
93
|
+
type: 'AuBecsDebit';
|
|
94
|
+
formDetails: FormDetails;
|
|
95
|
+
}
|
|
96
|
+
/** Before using this payment method type, ensure you have already collected the bank information
|
|
97
|
+
* for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account
|
|
98
|
+
* details manually.*/
|
|
99
|
+
export declare type USBankAccountParams = {
|
|
100
|
+
type: 'USBankAccount';
|
|
101
|
+
billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;
|
|
102
|
+
accountNumber?: string;
|
|
103
|
+
routingNumber?: string;
|
|
104
|
+
/** Defaults to Individual */
|
|
105
|
+
accountHolderType?: BankAcccountHolderType;
|
|
106
|
+
/** Defaults to Checking */
|
|
107
|
+
accountType?: BankAcccountType;
|
|
108
|
+
setupFutureUsage?: FutureUsage;
|
|
109
|
+
};
|
|
110
|
+
export interface AuBecsDebitResult {
|
|
111
|
+
fingerprint?: string;
|
|
112
|
+
last4?: string;
|
|
113
|
+
bsbNumber?: string;
|
|
114
|
+
}
|
|
115
|
+
export interface BacsDebitResult {
|
|
116
|
+
sortCode?: string;
|
|
117
|
+
last4?: string;
|
|
118
|
+
fingerprint?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface CardResult {
|
|
121
|
+
brand?: CardBrand;
|
|
122
|
+
country?: string;
|
|
123
|
+
expYear?: number;
|
|
124
|
+
expMonth?: number;
|
|
125
|
+
fingerprint?: string;
|
|
126
|
+
funding?: string;
|
|
127
|
+
last4?: string;
|
|
128
|
+
}
|
|
129
|
+
export interface FpxResult {
|
|
130
|
+
bank?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface IdealResult {
|
|
133
|
+
bankIdentifierCode?: string;
|
|
134
|
+
bank?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface SepaDebitResult {
|
|
137
|
+
bankCode?: string;
|
|
138
|
+
country?: string;
|
|
139
|
+
fingerprint?: string;
|
|
140
|
+
last4?: string;
|
|
141
|
+
}
|
|
142
|
+
export interface SofortResult {
|
|
143
|
+
country?: string;
|
|
144
|
+
}
|
|
145
|
+
export interface UpiResult {
|
|
146
|
+
vpa?: string;
|
|
147
|
+
}
|
|
148
|
+
export declare type USBankAccountResult = {
|
|
149
|
+
routingNumber?: string;
|
|
150
|
+
accountHolderType?: BankAcccountHolderType;
|
|
151
|
+
accountType?: BankAcccountType;
|
|
152
|
+
last4?: string;
|
|
153
|
+
bankName?: string;
|
|
154
|
+
linkedAccount?: string;
|
|
155
|
+
fingerprint?: string;
|
|
156
|
+
preferredNetwork?: string;
|
|
157
|
+
supportedNetworks?: string[];
|
|
158
|
+
};
|
|
159
|
+
export declare type Type = 'AfterpayClearpay' | 'Card' | 'Alipay' | 'GrabPay' | 'Ideal' | 'Fpx' | 'CardPresent' | 'SepaDebit' | 'AuBecsDebit' | 'BacsDebit' | 'Giropay' | 'P24' | 'Eps' | 'Bancontact' | 'Oxxo' | 'Sofort' | 'Upi' | 'USBankAccount' | 'Unknown';
|
|
160
|
+
export declare type CollectBankAccountParams = {
|
|
161
|
+
type: 'USBankAccount';
|
|
162
|
+
billingDetails: {
|
|
163
|
+
name: string;
|
|
164
|
+
email?: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export {};
|
|
@@ -1,56 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
line1?: string;
|
|
42
|
-
line2?: string;
|
|
43
|
-
postalCode?: string;
|
|
44
|
-
state?: string;
|
|
45
|
-
}
|
|
46
|
-
interface BillingDetails {
|
|
47
|
-
address: Address;
|
|
48
|
-
name?: string;
|
|
49
|
-
email?: string;
|
|
50
|
-
phone?: string;
|
|
51
|
-
}
|
|
52
|
-
interface PaymentOption {
|
|
53
|
-
label: string;
|
|
54
|
-
image: string;
|
|
55
|
-
}
|
|
1
|
+
import type { BillingDetails } from './Common';
|
|
2
|
+
export declare type SetupParams = ClientSecretParams & GooglePayParams & ApplePayParams & {
|
|
3
|
+
customerId?: string;
|
|
4
|
+
customerEphemeralKeySecret?: string;
|
|
5
|
+
customFlow?: boolean;
|
|
6
|
+
merchantDisplayName?: string;
|
|
7
|
+
style?: 'alwaysLight' | 'alwaysDark' | 'automatic';
|
|
8
|
+
returnURL?: string;
|
|
9
|
+
primaryButtonColor?: string;
|
|
10
|
+
defaultBillingDetails?: BillingDetails;
|
|
11
|
+
allowsDelayedPaymentMethods?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare type ClientSecretParams = {
|
|
14
|
+
paymentIntentClientSecret: string;
|
|
15
|
+
setupIntentClientSecret?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
setupIntentClientSecret: string;
|
|
18
|
+
paymentIntentClientSecret?: undefined;
|
|
19
|
+
};
|
|
20
|
+
declare type ApplePayParams = {
|
|
21
|
+
applePay?: true;
|
|
22
|
+
merchantCountryCode: string;
|
|
23
|
+
} | {
|
|
24
|
+
applePay?: false;
|
|
25
|
+
merchantCountryCode?: string;
|
|
26
|
+
};
|
|
27
|
+
declare type GooglePayParams = {
|
|
28
|
+
googlePay?: true;
|
|
29
|
+
merchantCountryCode: string;
|
|
30
|
+
currencyCode?: string;
|
|
31
|
+
testEnv?: boolean;
|
|
32
|
+
} | {
|
|
33
|
+
googlePay?: false;
|
|
34
|
+
merchantCountryCode?: string;
|
|
35
|
+
currencyCode?: string;
|
|
36
|
+
testEnv?: boolean;
|
|
37
|
+
};
|
|
38
|
+
export interface PaymentOption {
|
|
39
|
+
label: string;
|
|
40
|
+
image: string;
|
|
56
41
|
}
|
|
42
|
+
export {};
|