LinkPaymentLauncher

Launcher for an Activity that will confirm a payment using Link.

Functions

Link copied to clipboard
open override fun fallbackInitialize(arg: Unit): Nothing

LinkInjectable classes don't implement fallback because they receive the injector directly as a constructor parameter.

Link copied to clipboard
fun present(activityResultLauncher: ActivityResultLauncher<LinkActivityContract.Args>)
Link copied to clipboard
suspend fun setup(stripeIntent: StripeIntent): AccountStatus

Sets up Link to process the given StripeIntent.

Properties

Link copied to clipboard
lateinit var accountStatus: Flow<AccountStatus>

Publicly visible account status, used by PaymentSheet to display the correct UI.