MercadoPagoCheckoutBuilder

@objcMembers
open class MercadoPagoCheckoutBuilder : NSObject

Checkout builder allow you to create a MercadoPagoCheckout. This is the only way to create MercadoPagoCheckout object.

  • Private key provides save card capabilities and account money balance. (User logged)

    Declaration

    Swift

    open func setPrivateKey(key: String) -> MercadoPagoCheckoutBuilder

    Parameters

    privateKey

    The user private key

  • It provides support for custom checkout functionality/configure special behaviour You can enable/disable several functionality.

    Declaration

    Swift

    open func setAdvancedConfiguration(config: PXAdvancedConfiguration) -> MercadoPagoCheckoutBuilder

    Parameters

    config
  • You can set one color (your primary color) and we will take care of the rest. Delivering the best Checkout experience based on your color. If you need more customization explore PXTheme inside PXAdvancedConfiguration.

    Declaration

    Swift

    open func setColor(checkoutColor: UIColor) -> MercadoPagoCheckoutBuilder

    Parameters

    checkoutColor

    Your primary color.

  • You can set the Language locale string. (es is the default value). For more values explore our PXLanguages public enum.

    Declaration

    Swift

    open func setLanguage(_ string: String) -> MercadoPagoCheckoutBuilder