LinkPaymentLauncher
Launcher for an Activity that will confirm a payment using Link.
Functions
Link copied to clipboard
suspend fun attachNewCardToAccount(paymentMethodCreateParams: PaymentMethodCreateParams): Result<LinkPaymentDetails>
Content copied to clipboard
Attach a new Card to the currently signed in Link account.
Link copied to clipboard
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>)
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, completePayment: Boolean, selectedPaymentDetails: LinkPaymentDetails?, 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.