StripePaymentLauncherAssistedFactory

AssistedFactory to create a StripePaymentLauncher with shared dependencies already created elsewhere.

Used when PaymentLauncher is declared as an internal dependency by another daggerized public API (e.g PaymentSheet).

Functions

Link copied to clipboard
abstract fun create(@Assisted(value = "publishableKey") publishableKey: () -> String, @Assisted(value = "stripeAccountId") stripeAccountId: () -> String?, @Assisted(value = "STATUS_BAR_COLOR") statusBarColor: Int?, @Assisted(value = "INCLUDE_PAYMENT_SHEET_AUTHENTICATORS") includePaymentSheetAuthenticators: Boolean, hostActivityLauncher: ActivityResultLauncher<PaymentLauncherContract.Args>): StripePaymentLauncher