show

fun show(callback: (MercadoPagoCheckoutResult<T, C>) -> Unit)

Launches the checkout.

Parameters

callback

Lambda to be invoked when checkout completes with the result. MercadoPagoCheckoutResult.Success.paymentData and MercadoPagoCheckoutResult.UserCancelled.cancelledData are already the concrete subtypes.