LinkPaymentLauncher

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

Types

Link copied to clipboard
Link copied to clipboard
data class Configuration(val stripeIntent: StripeIntent, val merchantName: String, val customerName: String?, val customerEmail: String?, val customerPhone: String?, val customerBillingCountryCode: String?, val shippingValues: Map<IdentifierSpec, String?>?) : Parcelable

Arguments for launching LinkActivity to confirm a payment with Link.

Functions

Link copied to clipboard

Attach a new Card to the currently signed in Link account.

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

Fetch the customer's account status, initializing the dependencies if they haven't been initialized yet.

Link copied to clipboard
fun present(configuration: LinkPaymentLauncher.Configuration, activityResultLauncher: ActivityResultLauncher<LinkActivityContract.Args>, prefilledNewCardParams: PaymentMethodCreateParams? = null)

Launch the Link UI to process a payment.

Link copied to clipboard

Trigger Link sign in with the input collected from the user inline in PaymentSheet, whether it's a new or existing account.