@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["PaymentMethods.ts"],"names":["PaymentMethodCreateParams"],"mappings":"qOAoBiBA,yB,qCAAAA,yB","sourcesContent":["import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';\nimport type { Card } from './Card';\nimport type { PaymentIntents } from './PaymentIntents';\nimport type { BankAcccountHolderType, BankAcccountType } from './index';\nexport interface PaymentMethod {\n id: string;\n liveMode: boolean;\n customerId: string;\n billingDetails: PaymentMethods.BillingDetails;\n type: PaymentMethods.Types;\n AuBecsDebit: PaymentMethods.AuBecsDebit;\n BacsDebit: PaymentMethods.BacsDebit;\n Card: PaymentMethods.Card;\n Fpx: PaymentMethods.Fpx;\n Ideal: PaymentMethods.Ideal;\n SepaDebit: PaymentMethods.SepaDebit;\n Sofort: PaymentMethods.Sofort;\n Upi: PaymentMethods.Upi;\n}\n\nexport namespace PaymentMethodCreateParams {\n export type Params =\n | CardParams\n | IdealParams\n | OxxoParams\n | P24Params\n | AlipayParams\n | GiropayParams\n | SepaParams\n | EpsParams\n | AuBecsDebitParams\n | SofortParams\n | GrabPayParams\n | FPXParams\n | AfterpayClearpayParams\n | KlarnaParams\n // | WeChatPayParams\n | BancontactParams\n | USBankAccountParams;\n\n export type BillingDetails = {\n email?: string;\n name?: string;\n phone?: string;\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n };\n\n export type ShippingDetails = {\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n name?: string;\n };\n\n export interface Options {}\n\n export interface BaseParams {\n billingDetails?: BillingDetails;\n }\n\n export type CardParams =\n | (BaseParams & {\n type: 'Card';\n token?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n })\n | (BaseParams & {\n type: 'Card';\n paymentMethodId: string;\n cvc?: string;\n });\n\n export interface IdealParams extends BaseParams {\n type: 'Ideal';\n bankName?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface FPXParams {\n type: 'Fpx';\n testOfflineBank?: boolean;\n }\n\n export interface AlipayParams {\n type: 'Alipay';\n }\n\n export interface OxxoParams extends Required<BaseParams> {\n type: 'Oxxo';\n }\n\n export interface SofortParams extends BaseParams {\n type: 'Sofort';\n country: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n export interface GrabPayParams extends BaseParams {\n type: 'GrabPay';\n }\n\n export interface BancontactParams extends Required<BaseParams> {\n type: 'Bancontact';\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface SepaParams extends Required<BaseParams> {\n type: 'SepaDebit';\n iban: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface GiropayParams extends Required<BaseParams> {\n type: 'Giropay';\n }\n\n export interface AfterpayClearpayParams extends Required<BaseParams> {\n type: 'AfterpayClearpay';\n shippingDetails: ShippingDetails;\n }\n\n export type KlarnaParams = {\n type: 'Klarna';\n billingDetails: Pick<Required<BillingDetails>, 'email' | 'addressCountry'> &\n BillingDetails;\n };\n\n export interface EpsParams extends Required<BaseParams> {\n type: 'Eps';\n }\n\n export interface P24Params extends Required<BaseParams> {\n type: 'P24';\n }\n\n export interface WeChatPayParams extends BaseParams {\n type: 'WeChatPay';\n appId: string;\n }\n\n export interface AuBecsDebitParams {\n type: 'AuBecsDebit';\n formDetails: AuBECSDebitFormComponent.FormDetails;\n }\n\n /** Before using this payment method type, ensure you have already collected the bank information\n * for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account\n * details manually.*/\n export type USBankAccountParams = {\n type: 'USBankAccount';\n billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;\n accountNumber?: string;\n routingNumber?: string;\n /** Defaults to Individual */\n accountHolderType?: BankAcccountHolderType;\n /** Defaults to Checking */\n accountType?: BankAcccountType;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n };\n}\n\nexport declare namespace PaymentMethods {\n export interface BillingDetails {\n email?: string;\n phone?: string;\n name?: string;\n address?: Address;\n }\n\n export interface Address {\n city: string;\n county: string;\n line1: string;\n line2: string;\n postalCode: string;\n state: string;\n }\n\n export interface AuBecsDebit {\n fingerprint?: string;\n last4?: string;\n bsbNumber?: string;\n }\n\n export interface BacsDebit {\n sortCode?: string;\n last4?: string;\n fingerprint?: string;\n }\n\n export interface Card {\n brand?: Card.Brand;\n country?: string;\n expYear?: number;\n expMonth?: number;\n fingerprint?: string;\n funding?: string;\n last4?: string;\n }\n\n export interface Fpx {\n bank?: string;\n }\n\n export interface Ideal {\n bankIdentifierCode?: string;\n bank?: string;\n }\n\n export interface SepaDebit {\n bankCode?: string;\n country?: string;\n fingerprint?: string;\n last4?: string;\n }\n\n export interface Sofort {\n country?: string;\n }\n\n export interface Upi {\n vpa?: string;\n }\n\n export type USBankAccount = {\n routingNumber?: string;\n accountHolderType?: BankAcccountHolderType;\n accountType?: BankAcccountType;\n last4?: string;\n bankName?: string;\n linkedAccount?: string;\n fingerprint?: string;\n preferredNetwork?: string;\n supportedNetworks?: string[];\n };\n\n export type Types =\n | 'AfterpayClearpay'\n | 'Card'\n | 'Alipay'\n | 'GrabPay'\n | 'Ideal'\n | 'Fpx'\n | 'CardPresent'\n | 'SepaDebit'\n | 'AuBecsDebit'\n | 'BacsDebit'\n | 'Giropay'\n | 'P24'\n | 'Eps'\n | 'Bancontact'\n | 'Oxxo'\n | 'Sofort'\n | 'Upi'\n | 'USBankAccount'\n | 'Unknown';\n}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.AuBECSDebitFormComponent=void 0;var AuBECSDebitFormComponent;exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent;(function(_AuBECSDebitFormComponent){})(AuBECSDebitFormComponent||(exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent={}));
|
|
2
|
-
//# sourceMappingURL=AuBECSDebitForm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AuBECSDebitForm.ts"],"names":["AuBECSDebitFormComponent"],"mappings":"gOAEiBA,wB,oCAAAA,wB","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\n\nexport namespace AuBECSDebitFormComponent {\n /**\n * @ignore\n */\n export interface NativeProps {\n companyName: string;\n style?: StyleProp<ViewStyle>;\n formStyle: Styles;\n onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;\n }\n\n export interface FormDetails {\n accountNumber: string;\n bsbNumber: string;\n email: string;\n name: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n textErrorColor?: string;\n }\n}\n"]}
|
package/lib/module/types/Card.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Card.ts"],"names":["Card"],"mappings":"4HAAiBA,I,gBAAAA,I","sourcesContent":["export namespace Card {\n export type Brand =\n | 'AmericanExpress'\n | 'DinersClub'\n | 'Discover'\n | 'JCB'\n | 'MasterCard'\n | 'UnionPay'\n | 'Visa'\n | 'Unknown';\n\n export type TokenType =\n | 'Account'\n | 'BankAccount'\n | 'Card'\n | 'CvcUpdate'\n | 'Person'\n | 'Pii';\n\n export interface Token {\n id: string;\n created: string;\n type: TokenType;\n used: boolean;\n livemode: boolean;\n card?: Params;\n bankAccount?: BankAccount;\n }\n\n export interface BankAccount {\n bankName: string;\n accountHolderName: string;\n accountHolderType: 'Individual' | 'Company';\n currency: string;\n country: string;\n routingNumber: string;\n status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';\n }\n\n export interface Params {\n id: string;\n country: string;\n brand: Card.Brand;\n currency?: string;\n expMonth: number;\n expYear: number;\n last4: string;\n funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';\n address: Address;\n name?: string;\n }\n\n export interface Address {\n city?: string;\n country?: string;\n line1?: string;\n line2?: string;\n postalCode?: string;\n state?: string;\n }\n}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.PaymentIntents=void 0;var PaymentIntents;exports.PaymentIntents=PaymentIntents;(function(_PaymentIntents){var Status;(function(Status){Status["Succeeded"]="Succeeded";Status["RequiresPaymentMethod"]="RequiresPaymentMethod";Status["RequiresConfirmation"]="RequiresConfirmation";Status["Canceled"]="Canceled";Status["Processing"]="Processing";Status["RequiresAction"]="RequiresAction";Status["RequiresCapture"]="RequiresCapture";Status["Unknown"]="Unknown";})(Status||(Status={}));_PaymentIntents.Status=Status;})(PaymentIntents||(exports.PaymentIntents=PaymentIntents={}));
|
|
2
|
-
//# sourceMappingURL=PaymentIntents.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["PaymentIntents.ts"],"names":["Status","PaymentIntents"],"mappings":"8KA+CcA,CAAAA,M,WAAAA,M,EAAAA,M,0BAAAA,M,kDAAAA,M,gDAAAA,M,wBAAAA,M,4BAAAA,M,oCAAAA,M,sCAAAA,M,yBAAAA,M,GAAAA,M,uCAxBGC,c,0BAAAA,c","sourcesContent":["import type { Nullable, StripeError } from '.';\nimport type { NextAction } from './NextAction';\nimport type { PaymentMethod } from './PaymentMethods';\n\nexport interface PaymentIntent {\n id: string;\n amount: number;\n created: string;\n currency: string;\n status: PaymentIntents.Status;\n description: Nullable<string>;\n receiptEmail: Nullable<string>;\n canceledAt: Nullable<string>;\n clientSecret: string;\n livemode: boolean;\n paymentMethodId: string;\n captureMethod: 'Automatic' | 'Manual';\n confirmationMethod: 'Automatic' | 'Manual';\n lastPaymentError: Nullable<PaymentIntents.LastPaymentError>;\n shipping: Nullable<PaymentIntents.ShippingDetails>;\n nextAction: NextAction | null;\n}\n\nexport namespace PaymentIntents {\n export type LastPaymentError = StripeError<string> & {\n paymentMethod: PaymentMethod;\n };\n\n export interface Address {\n city: string;\n county: string;\n line1: string;\n line2: string;\n postalCode: string;\n state: string;\n }\n\n export type FutureUsage = 'OffSession' | 'OnSession';\n\n export interface ShippingDetails {\n address: Address;\n name: string;\n carrier: string;\n phone: string;\n trackingNumber: string;\n }\n\n export enum Status {\n Succeeded = 'Succeeded',\n RequiresPaymentMethod = 'RequiresPaymentMethod',\n RequiresConfirmation = 'RequiresConfirmation',\n Canceled = 'Canceled',\n Processing = 'Processing',\n RequiresAction = 'RequiresAction',\n RequiresCapture = 'RequiresCapture',\n Unknown = 'Unknown',\n }\n}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.PaymentMethodCreateParams=void 0;var PaymentMethodCreateParams;exports.PaymentMethodCreateParams=PaymentMethodCreateParams;(function(_PaymentMethodCreateParams){})(PaymentMethodCreateParams||(exports.PaymentMethodCreateParams=PaymentMethodCreateParams={}));
|
|
2
|
-
//# sourceMappingURL=PaymentMethods.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["PaymentMethods.ts"],"names":["PaymentMethodCreateParams"],"mappings":"qOAoBiBA,yB,qCAAAA,yB","sourcesContent":["import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';\nimport type { Card } from './Card';\nimport type { PaymentIntents } from './PaymentIntents';\nimport type { BankAcccountHolderType, BankAcccountType } from './index';\nexport interface PaymentMethod {\n id: string;\n liveMode: boolean;\n customerId: string;\n billingDetails: PaymentMethods.BillingDetails;\n type: PaymentMethods.Types;\n AuBecsDebit: PaymentMethods.AuBecsDebit;\n BacsDebit: PaymentMethods.BacsDebit;\n Card: PaymentMethods.Card;\n Fpx: PaymentMethods.Fpx;\n Ideal: PaymentMethods.Ideal;\n SepaDebit: PaymentMethods.SepaDebit;\n Sofort: PaymentMethods.Sofort;\n Upi: PaymentMethods.Upi;\n}\n\nexport namespace PaymentMethodCreateParams {\n export type Params =\n | CardParams\n | IdealParams\n | OxxoParams\n | P24Params\n | AlipayParams\n | GiropayParams\n | SepaParams\n | EpsParams\n | AuBecsDebitParams\n | SofortParams\n | GrabPayParams\n | FPXParams\n | AfterpayClearpayParams\n | KlarnaParams\n // | WeChatPayParams\n | BancontactParams\n | USBankAccountParams;\n\n export type BillingDetails = {\n email?: string;\n name?: string;\n phone?: string;\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n };\n\n export type ShippingDetails = {\n addressPostalCode?: string;\n addressCity?: string;\n addressCountry?: string;\n addressLine1?: string;\n addressLine2?: string;\n addressState?: string;\n name?: string;\n };\n\n export interface Options {}\n\n export interface BaseParams {\n billingDetails?: BillingDetails;\n }\n\n export type CardParams =\n | (BaseParams & {\n type: 'Card';\n token?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n })\n | (BaseParams & {\n type: 'Card';\n paymentMethodId: string;\n cvc?: string;\n });\n\n export interface IdealParams extends BaseParams {\n type: 'Ideal';\n bankName?: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface FPXParams {\n type: 'Fpx';\n testOfflineBank?: boolean;\n }\n\n export interface AlipayParams {\n type: 'Alipay';\n }\n\n export interface OxxoParams extends Required<BaseParams> {\n type: 'Oxxo';\n }\n\n export interface SofortParams extends BaseParams {\n type: 'Sofort';\n country: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n export interface GrabPayParams extends BaseParams {\n type: 'GrabPay';\n }\n\n export interface BancontactParams extends Required<BaseParams> {\n type: 'Bancontact';\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface SepaParams extends Required<BaseParams> {\n type: 'SepaDebit';\n iban: string;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n }\n\n export interface GiropayParams extends Required<BaseParams> {\n type: 'Giropay';\n }\n\n export interface AfterpayClearpayParams extends Required<BaseParams> {\n type: 'AfterpayClearpay';\n shippingDetails: ShippingDetails;\n }\n\n export type KlarnaParams = {\n type: 'Klarna';\n billingDetails: Pick<Required<BillingDetails>, 'email' | 'addressCountry'> &\n BillingDetails;\n };\n\n export interface EpsParams extends Required<BaseParams> {\n type: 'Eps';\n }\n\n export interface P24Params extends Required<BaseParams> {\n type: 'P24';\n }\n\n export interface WeChatPayParams extends BaseParams {\n type: 'WeChatPay';\n appId: string;\n }\n\n export interface AuBecsDebitParams {\n type: 'AuBecsDebit';\n formDetails: AuBECSDebitFormComponent.FormDetails;\n }\n\n /** Before using this payment method type, ensure you have already collected the bank information\n * for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account\n * details manually.*/\n export type USBankAccountParams = {\n type: 'USBankAccount';\n billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;\n accountNumber?: string;\n routingNumber?: string;\n /** Defaults to Individual */\n accountHolderType?: BankAcccountHolderType;\n /** Defaults to Checking */\n accountType?: BankAcccountType;\n setupFutureUsage?: PaymentIntents.FutureUsage;\n };\n}\n\nexport declare namespace PaymentMethods {\n export interface BillingDetails {\n email?: string;\n phone?: string;\n name?: string;\n address?: Address;\n }\n\n export interface Address {\n city: string;\n county: string;\n line1: string;\n line2: string;\n postalCode: string;\n state: string;\n }\n\n export interface AuBecsDebit {\n fingerprint?: string;\n last4?: string;\n bsbNumber?: string;\n }\n\n export interface BacsDebit {\n sortCode?: string;\n last4?: string;\n fingerprint?: string;\n }\n\n export interface Card {\n brand?: Card.Brand;\n country?: string;\n expYear?: number;\n expMonth?: number;\n fingerprint?: string;\n funding?: string;\n last4?: string;\n }\n\n export interface Fpx {\n bank?: string;\n }\n\n export interface Ideal {\n bankIdentifierCode?: string;\n bank?: string;\n }\n\n export interface SepaDebit {\n bankCode?: string;\n country?: string;\n fingerprint?: string;\n last4?: string;\n }\n\n export interface Sofort {\n country?: string;\n }\n\n export interface Upi {\n vpa?: string;\n }\n\n export type USBankAccount = {\n routingNumber?: string;\n accountHolderType?: BankAcccountHolderType;\n accountType?: BankAcccountType;\n last4?: string;\n bankName?: string;\n linkedAccount?: string;\n fingerprint?: string;\n preferredNetwork?: string;\n supportedNetworks?: string[];\n };\n\n export type Types =\n | 'AfterpayClearpay'\n | 'Card'\n | 'Alipay'\n | 'GrabPay'\n | 'Ideal'\n | 'Fpx'\n | 'CardPresent'\n | 'SepaDebit'\n | 'AuBecsDebit'\n | 'BacsDebit'\n | 'Giropay'\n | 'P24'\n | 'Eps'\n | 'Bancontact'\n | 'Oxxo'\n | 'Sofort'\n | 'Upi'\n | 'USBankAccount'\n | 'Unknown';\n}\n"]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,"__esModule",{value:true});exports.AuBECSDebitFormComponent=void 0;var AuBECSDebitFormComponent;exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent;(function(_AuBECSDebitFormComponent){})(AuBECSDebitFormComponent||(exports.AuBECSDebitFormComponent=AuBECSDebitFormComponent={}));
|
|
2
|
-
//# sourceMappingURL=AuBECSDebitForm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["AuBECSDebitForm.ts"],"names":["AuBECSDebitFormComponent"],"mappings":"gOAEiBA,wB,oCAAAA,wB","sourcesContent":["import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';\n\nexport namespace AuBECSDebitFormComponent {\n /**\n * @ignore\n */\n export interface NativeProps {\n companyName: string;\n style?: StyleProp<ViewStyle>;\n formStyle: Styles;\n onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;\n }\n\n export interface FormDetails {\n accountNumber: string;\n bsbNumber: string;\n email: string;\n name: string;\n }\n\n export interface Styles {\n borderWidth?: number;\n backgroundColor?: string;\n borderColor?: string;\n borderRadius?: number;\n textColor?: string;\n fontSize?: number;\n placeholderColor?: string;\n textErrorColor?: string;\n }\n}\n"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export declare namespace Card {
|
|
2
|
-
type Brand = 'AmericanExpress' | 'DinersClub' | 'Discover' | 'JCB' | 'MasterCard' | 'UnionPay' | 'Visa' | 'Unknown';
|
|
3
|
-
type TokenType = 'Account' | 'BankAccount' | 'Card' | 'CvcUpdate' | 'Person' | 'Pii';
|
|
4
|
-
interface Token {
|
|
5
|
-
id: string;
|
|
6
|
-
created: string;
|
|
7
|
-
type: TokenType;
|
|
8
|
-
used: boolean;
|
|
9
|
-
livemode: boolean;
|
|
10
|
-
card?: Params;
|
|
11
|
-
bankAccount?: BankAccount;
|
|
12
|
-
}
|
|
13
|
-
interface BankAccount {
|
|
14
|
-
bankName: string;
|
|
15
|
-
accountHolderName: string;
|
|
16
|
-
accountHolderType: 'Individual' | 'Company';
|
|
17
|
-
currency: string;
|
|
18
|
-
country: string;
|
|
19
|
-
routingNumber: string;
|
|
20
|
-
status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';
|
|
21
|
-
}
|
|
22
|
-
interface Params {
|
|
23
|
-
id: string;
|
|
24
|
-
country: string;
|
|
25
|
-
brand: Card.Brand;
|
|
26
|
-
currency?: string;
|
|
27
|
-
expMonth: number;
|
|
28
|
-
expYear: number;
|
|
29
|
-
last4: string;
|
|
30
|
-
funding: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';
|
|
31
|
-
address: Address;
|
|
32
|
-
name?: string;
|
|
33
|
-
}
|
|
34
|
-
interface Address {
|
|
35
|
-
city?: string;
|
|
36
|
-
country?: string;
|
|
37
|
-
line1?: string;
|
|
38
|
-
line2?: string;
|
|
39
|
-
postalCode?: string;
|
|
40
|
-
state?: string;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { Nullable, StripeError } from '.';
|
|
2
|
-
import type { NextAction } from './NextAction';
|
|
3
|
-
import type { PaymentMethod } from './PaymentMethods';
|
|
4
|
-
export interface PaymentIntent {
|
|
5
|
-
id: string;
|
|
6
|
-
amount: number;
|
|
7
|
-
created: string;
|
|
8
|
-
currency: string;
|
|
9
|
-
status: PaymentIntents.Status;
|
|
10
|
-
description: Nullable<string>;
|
|
11
|
-
receiptEmail: Nullable<string>;
|
|
12
|
-
canceledAt: Nullable<string>;
|
|
13
|
-
clientSecret: string;
|
|
14
|
-
livemode: boolean;
|
|
15
|
-
paymentMethodId: string;
|
|
16
|
-
captureMethod: 'Automatic' | 'Manual';
|
|
17
|
-
confirmationMethod: 'Automatic' | 'Manual';
|
|
18
|
-
lastPaymentError: Nullable<PaymentIntents.LastPaymentError>;
|
|
19
|
-
shipping: Nullable<PaymentIntents.ShippingDetails>;
|
|
20
|
-
nextAction: NextAction | null;
|
|
21
|
-
}
|
|
22
|
-
export declare namespace PaymentIntents {
|
|
23
|
-
type LastPaymentError = StripeError<string> & {
|
|
24
|
-
paymentMethod: PaymentMethod;
|
|
25
|
-
};
|
|
26
|
-
interface Address {
|
|
27
|
-
city: string;
|
|
28
|
-
county: string;
|
|
29
|
-
line1: string;
|
|
30
|
-
line2: string;
|
|
31
|
-
postalCode: string;
|
|
32
|
-
state: string;
|
|
33
|
-
}
|
|
34
|
-
type FutureUsage = 'OffSession' | 'OnSession';
|
|
35
|
-
interface ShippingDetails {
|
|
36
|
-
address: Address;
|
|
37
|
-
name: string;
|
|
38
|
-
carrier: string;
|
|
39
|
-
phone: string;
|
|
40
|
-
trackingNumber: string;
|
|
41
|
-
}
|
|
42
|
-
enum Status {
|
|
43
|
-
Succeeded = "Succeeded",
|
|
44
|
-
RequiresPaymentMethod = "RequiresPaymentMethod",
|
|
45
|
-
RequiresConfirmation = "RequiresConfirmation",
|
|
46
|
-
Canceled = "Canceled",
|
|
47
|
-
Processing = "Processing",
|
|
48
|
-
RequiresAction = "RequiresAction",
|
|
49
|
-
RequiresCapture = "RequiresCapture",
|
|
50
|
-
Unknown = "Unknown"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';
|
|
2
|
-
import type { Card } from './Card';
|
|
3
|
-
import type { PaymentIntents } from './PaymentIntents';
|
|
4
|
-
import type { BankAcccountHolderType, BankAcccountType } from './index';
|
|
5
|
-
export interface PaymentMethod {
|
|
6
|
-
id: string;
|
|
7
|
-
liveMode: boolean;
|
|
8
|
-
customerId: string;
|
|
9
|
-
billingDetails: PaymentMethods.BillingDetails;
|
|
10
|
-
type: PaymentMethods.Types;
|
|
11
|
-
AuBecsDebit: PaymentMethods.AuBecsDebit;
|
|
12
|
-
BacsDebit: PaymentMethods.BacsDebit;
|
|
13
|
-
Card: PaymentMethods.Card;
|
|
14
|
-
Fpx: PaymentMethods.Fpx;
|
|
15
|
-
Ideal: PaymentMethods.Ideal;
|
|
16
|
-
SepaDebit: PaymentMethods.SepaDebit;
|
|
17
|
-
Sofort: PaymentMethods.Sofort;
|
|
18
|
-
Upi: PaymentMethods.Upi;
|
|
19
|
-
}
|
|
20
|
-
export declare namespace PaymentMethodCreateParams {
|
|
21
|
-
type Params = CardParams | IdealParams | OxxoParams | P24Params | AlipayParams | GiropayParams | SepaParams | EpsParams | AuBecsDebitParams | SofortParams | GrabPayParams | FPXParams | AfterpayClearpayParams | KlarnaParams | BancontactParams | USBankAccountParams;
|
|
22
|
-
type BillingDetails = {
|
|
23
|
-
email?: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
phone?: string;
|
|
26
|
-
addressPostalCode?: string;
|
|
27
|
-
addressCity?: string;
|
|
28
|
-
addressCountry?: string;
|
|
29
|
-
addressLine1?: string;
|
|
30
|
-
addressLine2?: string;
|
|
31
|
-
addressState?: string;
|
|
32
|
-
};
|
|
33
|
-
type ShippingDetails = {
|
|
34
|
-
addressPostalCode?: string;
|
|
35
|
-
addressCity?: string;
|
|
36
|
-
addressCountry?: string;
|
|
37
|
-
addressLine1?: string;
|
|
38
|
-
addressLine2?: string;
|
|
39
|
-
addressState?: string;
|
|
40
|
-
name?: string;
|
|
41
|
-
};
|
|
42
|
-
interface Options {
|
|
43
|
-
}
|
|
44
|
-
interface BaseParams {
|
|
45
|
-
billingDetails?: BillingDetails;
|
|
46
|
-
}
|
|
47
|
-
type CardParams = (BaseParams & {
|
|
48
|
-
type: 'Card';
|
|
49
|
-
token?: string;
|
|
50
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
51
|
-
}) | (BaseParams & {
|
|
52
|
-
type: 'Card';
|
|
53
|
-
paymentMethodId: string;
|
|
54
|
-
cvc?: string;
|
|
55
|
-
});
|
|
56
|
-
interface IdealParams extends BaseParams {
|
|
57
|
-
type: 'Ideal';
|
|
58
|
-
bankName?: string;
|
|
59
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
60
|
-
}
|
|
61
|
-
interface FPXParams {
|
|
62
|
-
type: 'Fpx';
|
|
63
|
-
testOfflineBank?: boolean;
|
|
64
|
-
}
|
|
65
|
-
interface AlipayParams {
|
|
66
|
-
type: 'Alipay';
|
|
67
|
-
}
|
|
68
|
-
interface OxxoParams extends Required<BaseParams> {
|
|
69
|
-
type: 'Oxxo';
|
|
70
|
-
}
|
|
71
|
-
interface SofortParams extends BaseParams {
|
|
72
|
-
type: 'Sofort';
|
|
73
|
-
country: string;
|
|
74
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
75
|
-
}
|
|
76
|
-
interface GrabPayParams extends BaseParams {
|
|
77
|
-
type: 'GrabPay';
|
|
78
|
-
}
|
|
79
|
-
interface BancontactParams extends Required<BaseParams> {
|
|
80
|
-
type: 'Bancontact';
|
|
81
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
82
|
-
}
|
|
83
|
-
interface SepaParams extends Required<BaseParams> {
|
|
84
|
-
type: 'SepaDebit';
|
|
85
|
-
iban: string;
|
|
86
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
87
|
-
}
|
|
88
|
-
interface GiropayParams extends Required<BaseParams> {
|
|
89
|
-
type: 'Giropay';
|
|
90
|
-
}
|
|
91
|
-
interface AfterpayClearpayParams extends Required<BaseParams> {
|
|
92
|
-
type: 'AfterpayClearpay';
|
|
93
|
-
shippingDetails: ShippingDetails;
|
|
94
|
-
}
|
|
95
|
-
type KlarnaParams = {
|
|
96
|
-
type: 'Klarna';
|
|
97
|
-
billingDetails: Pick<Required<BillingDetails>, 'email' | 'addressCountry'> & BillingDetails;
|
|
98
|
-
};
|
|
99
|
-
interface EpsParams extends Required<BaseParams> {
|
|
100
|
-
type: 'Eps';
|
|
101
|
-
}
|
|
102
|
-
interface P24Params extends Required<BaseParams> {
|
|
103
|
-
type: 'P24';
|
|
104
|
-
}
|
|
105
|
-
interface WeChatPayParams extends BaseParams {
|
|
106
|
-
type: 'WeChatPay';
|
|
107
|
-
appId: string;
|
|
108
|
-
}
|
|
109
|
-
interface AuBecsDebitParams {
|
|
110
|
-
type: 'AuBecsDebit';
|
|
111
|
-
formDetails: AuBECSDebitFormComponent.FormDetails;
|
|
112
|
-
}
|
|
113
|
-
/** Before using this payment method type, ensure you have already collected the bank information
|
|
114
|
-
* for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account
|
|
115
|
-
* details manually.*/
|
|
116
|
-
type USBankAccountParams = {
|
|
117
|
-
type: 'USBankAccount';
|
|
118
|
-
billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;
|
|
119
|
-
accountNumber?: string;
|
|
120
|
-
routingNumber?: string;
|
|
121
|
-
/** Defaults to Individual */
|
|
122
|
-
accountHolderType?: BankAcccountHolderType;
|
|
123
|
-
/** Defaults to Checking */
|
|
124
|
-
accountType?: BankAcccountType;
|
|
125
|
-
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
export declare namespace PaymentMethods {
|
|
129
|
-
interface BillingDetails {
|
|
130
|
-
email?: string;
|
|
131
|
-
phone?: string;
|
|
132
|
-
name?: string;
|
|
133
|
-
address?: Address;
|
|
134
|
-
}
|
|
135
|
-
interface Address {
|
|
136
|
-
city: string;
|
|
137
|
-
county: string;
|
|
138
|
-
line1: string;
|
|
139
|
-
line2: string;
|
|
140
|
-
postalCode: string;
|
|
141
|
-
state: string;
|
|
142
|
-
}
|
|
143
|
-
interface AuBecsDebit {
|
|
144
|
-
fingerprint?: string;
|
|
145
|
-
last4?: string;
|
|
146
|
-
bsbNumber?: string;
|
|
147
|
-
}
|
|
148
|
-
interface BacsDebit {
|
|
149
|
-
sortCode?: string;
|
|
150
|
-
last4?: string;
|
|
151
|
-
fingerprint?: string;
|
|
152
|
-
}
|
|
153
|
-
interface Card {
|
|
154
|
-
brand?: Card.Brand;
|
|
155
|
-
country?: string;
|
|
156
|
-
expYear?: number;
|
|
157
|
-
expMonth?: number;
|
|
158
|
-
fingerprint?: string;
|
|
159
|
-
funding?: string;
|
|
160
|
-
last4?: string;
|
|
161
|
-
}
|
|
162
|
-
interface Fpx {
|
|
163
|
-
bank?: string;
|
|
164
|
-
}
|
|
165
|
-
interface Ideal {
|
|
166
|
-
bankIdentifierCode?: string;
|
|
167
|
-
bank?: string;
|
|
168
|
-
}
|
|
169
|
-
interface SepaDebit {
|
|
170
|
-
bankCode?: string;
|
|
171
|
-
country?: string;
|
|
172
|
-
fingerprint?: string;
|
|
173
|
-
last4?: string;
|
|
174
|
-
}
|
|
175
|
-
interface Sofort {
|
|
176
|
-
country?: string;
|
|
177
|
-
}
|
|
178
|
-
interface Upi {
|
|
179
|
-
vpa?: string;
|
|
180
|
-
}
|
|
181
|
-
type USBankAccount = {
|
|
182
|
-
routingNumber?: string;
|
|
183
|
-
accountHolderType?: BankAcccountHolderType;
|
|
184
|
-
accountType?: BankAcccountType;
|
|
185
|
-
last4?: string;
|
|
186
|
-
bankName?: string;
|
|
187
|
-
linkedAccount?: string;
|
|
188
|
-
fingerprint?: string;
|
|
189
|
-
preferredNetwork?: string;
|
|
190
|
-
supportedNetworks?: string[];
|
|
191
|
-
};
|
|
192
|
-
type Types = 'AfterpayClearpay' | 'Card' | 'Alipay' | 'GrabPay' | 'Ideal' | 'Fpx' | 'CardPresent' | 'SepaDebit' | 'AuBecsDebit' | 'BacsDebit' | 'Giropay' | 'P24' | 'Eps' | 'Bancontact' | 'Oxxo' | 'Sofort' | 'Upi' | 'USBankAccount' | 'Unknown';
|
|
193
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { NativeSyntheticEvent, StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
export declare namespace AuBECSDebitFormComponent {
|
|
3
|
-
/**
|
|
4
|
-
* @ignore
|
|
5
|
-
*/
|
|
6
|
-
interface NativeProps {
|
|
7
|
-
companyName: string;
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
|
-
formStyle: Styles;
|
|
10
|
-
onCompleteAction(value: NativeSyntheticEvent<FormDetails>): void;
|
|
11
|
-
}
|
|
12
|
-
interface FormDetails {
|
|
13
|
-
accountNumber: string;
|
|
14
|
-
bsbNumber: string;
|
|
15
|
-
email: string;
|
|
16
|
-
name: string;
|
|
17
|
-
}
|
|
18
|
-
interface Styles {
|
|
19
|
-
borderWidth?: number;
|
|
20
|
-
backgroundColor?: string;
|
|
21
|
-
borderColor?: string;
|
|
22
|
-
borderRadius?: number;
|
|
23
|
-
textColor?: string;
|
|
24
|
-
fontSize?: number;
|
|
25
|
-
placeholderColor?: string;
|
|
26
|
-
textErrorColor?: string;
|
|
27
|
-
}
|
|
28
|
-
}
|
package/src/types/Card.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export namespace Card {
|
|
2
|
-
export type Brand =
|
|
3
|
-
| 'AmericanExpress'
|
|
4
|
-
| 'DinersClub'
|
|
5
|
-
| 'Discover'
|
|
6
|
-
| 'JCB'
|
|
7
|
-
| 'MasterCard'
|
|
8
|
-
| 'UnionPay'
|
|
9
|
-
| 'Visa'
|
|
10
|
-
| 'Unknown';
|
|
11
|
-
|
|
12
|
-
export type TokenType =
|
|
13
|
-
| 'Account'
|
|
14
|
-
| 'BankAccount'
|
|
15
|
-
| 'Card'
|
|
16
|
-
| 'CvcUpdate'
|
|
17
|
-
| 'Person'
|
|
18
|
-
| 'Pii';
|
|
19
|
-
|
|
20
|
-
export interface Token {
|
|
21
|
-
id: string;
|
|
22
|
-
created: string;
|
|
23
|
-
type: TokenType;
|
|
24
|
-
used: boolean;
|
|
25
|
-
livemode: boolean;
|
|
26
|
-
card?: Params;
|
|
27
|
-
bankAccount?: BankAccount;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface BankAccount {
|
|
31
|
-
bankName: string;
|
|
32
|
-
accountHolderName: string;
|
|
33
|
-
accountHolderType: 'Individual' | 'Company';
|
|
34
|
-
currency: string;
|
|
35
|
-
country: string;
|
|
36
|
-
routingNumber: string;
|
|
37
|
-
status: 'Errored' | 'New' | 'Validated' | 'VerificationFailed' | 'Verified';
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface Params {
|
|
41
|
-
id: string;
|
|
42
|
-
country: string;
|
|
43
|
-
brand: Card.Brand;
|
|
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 interface Address {
|
|
54
|
-
city?: string;
|
|
55
|
-
country?: string;
|
|
56
|
-
line1?: string;
|
|
57
|
-
line2?: string;
|
|
58
|
-
postalCode?: string;
|
|
59
|
-
state?: string;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { Nullable, StripeError } from '.';
|
|
2
|
-
import type { NextAction } from './NextAction';
|
|
3
|
-
import type { PaymentMethod } from './PaymentMethods';
|
|
4
|
-
|
|
5
|
-
export interface PaymentIntent {
|
|
6
|
-
id: string;
|
|
7
|
-
amount: number;
|
|
8
|
-
created: string;
|
|
9
|
-
currency: string;
|
|
10
|
-
status: PaymentIntents.Status;
|
|
11
|
-
description: Nullable<string>;
|
|
12
|
-
receiptEmail: Nullable<string>;
|
|
13
|
-
canceledAt: Nullable<string>;
|
|
14
|
-
clientSecret: string;
|
|
15
|
-
livemode: boolean;
|
|
16
|
-
paymentMethodId: string;
|
|
17
|
-
captureMethod: 'Automatic' | 'Manual';
|
|
18
|
-
confirmationMethod: 'Automatic' | 'Manual';
|
|
19
|
-
lastPaymentError: Nullable<PaymentIntents.LastPaymentError>;
|
|
20
|
-
shipping: Nullable<PaymentIntents.ShippingDetails>;
|
|
21
|
-
nextAction: NextAction | null;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export namespace PaymentIntents {
|
|
25
|
-
export type LastPaymentError = StripeError<string> & {
|
|
26
|
-
paymentMethod: PaymentMethod;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export interface Address {
|
|
30
|
-
city: string;
|
|
31
|
-
county: string;
|
|
32
|
-
line1: string;
|
|
33
|
-
line2: string;
|
|
34
|
-
postalCode: string;
|
|
35
|
-
state: string;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export type FutureUsage = 'OffSession' | 'OnSession';
|
|
39
|
-
|
|
40
|
-
export interface ShippingDetails {
|
|
41
|
-
address: Address;
|
|
42
|
-
name: string;
|
|
43
|
-
carrier: string;
|
|
44
|
-
phone: string;
|
|
45
|
-
trackingNumber: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export enum Status {
|
|
49
|
-
Succeeded = 'Succeeded',
|
|
50
|
-
RequiresPaymentMethod = 'RequiresPaymentMethod',
|
|
51
|
-
RequiresConfirmation = 'RequiresConfirmation',
|
|
52
|
-
Canceled = 'Canceled',
|
|
53
|
-
Processing = 'Processing',
|
|
54
|
-
RequiresAction = 'RequiresAction',
|
|
55
|
-
RequiresCapture = 'RequiresCapture',
|
|
56
|
-
Unknown = 'Unknown',
|
|
57
|
-
}
|
|
58
|
-
}
|