present

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

Launch the Link UI to process a payment.

Parameters

configuration

The payment and customer settings

activityResultLauncher

Launcher that will receive the payment result.

prefilledNewCardParams

The card information prefilled by the user. If non null, Link will launch into adding a new card, with the card information pre-filled.