LinkPaymentLauncher
Launcher for an Activity that will confirm a payment using Link.
Types
Functions
Link copied to clipboard
suspend fun attachNewCardToAccount(paymentMethodCreateParams: PaymentMethodCreateParams): Result<LinkPaymentDetails.New>
Content copied to clipboard
Attach a new Card to the currently signed in Link account.
Link copied to clipboard
Link copied to clipboard
fun present(activityResultLauncher: ActivityResultLauncher<LinkActivityContract.Args>, prefilledNewCardParams: PaymentMethodCreateParams? = null)
Content copied to clipboard
Launch the Link UI to process the Stripe Intent sent in setup.
Link copied to clipboard
suspend fun setup(stripeIntent: StripeIntent, coroutineScope: CoroutineScope): AccountStatus
Content copied to clipboard
Sets up Link to process the given StripeIntent.
Link copied to clipboard
Trigger Link sign in with the input collected from the user, whether it's a new or existing account.