MercadoPagoCheckout
MercadoPagoCheckout class, used to configure the checkout.
Both type parameters are inferred from the MPCheckoutType passed to Builder:
T types MercadoPagoCheckoutResult.Success.paymentData — no runtime cast needed.
C types MercadoPagoCheckoutResult.UserCancelled.cancelledData — no runtime cast needed.
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.