immediateAction

fun immediateAction(didSelectPaymentOption: () -> Unit): PaymentElement.RowSelectionBehavior

When a payment option is selected, didSelectPaymentOption is triggered. You can implement this method to immediately perform an action, such as calling confirm.