MercadoPagoCheckout

MercadoPagoCheckout class, used to configure the checkout.

Both type parameters are inferred from the MPCheckoutType passed to Builder:

Types

Link copied to clipboard
class Builder<T : MPPaymentData, C : MPUserCancelledContext>(context: Context, checkoutType: MPCheckoutType<T, C>, checkoutAppearance: MPCheckoutAppearance? = MPCheckoutAppearance( theme = MercadoPagoThemes.Default, style = MercadoPagoUserInterfaceStyle.System, ))

Builder for MercadoPagoCheckout.

Functions

Link copied to clipboard
fun show(callback: (MercadoPagoCheckoutResult<T, C>) -> Unit)

Launches the checkout.