Builder

constructor(context: Context, checkoutType: MPCheckoutType<T, C>, checkoutAppearance: MPCheckoutAppearance? = MPCheckoutAppearance( theme = MercadoPagoThemes.Default, style = MercadoPagoUserInterfaceStyle.System, ))

Parameters

context

Context

checkoutType

MPCheckoutType — determines T and C, and therefore the concrete types of MercadoPagoCheckoutResult.Success.paymentData and MercadoPagoCheckoutResult.UserCancelled.cancelledData.

checkoutAppearance

MPCheckoutAppearance