public static final class MercadoPagoCheckout.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String publicKey,
CheckoutPreference checkoutPreference,
PaymentConfiguration paymentConfiguration)
Checkout builder allow you to create a
MercadoPagoCheckout
our developers site |
Builder(java.lang.String publicKey,
java.lang.String preferenceId)
Checkout builder allow you to create a
MercadoPagoCheckout
For more information check the following links
credentials
create preference |
Builder(java.lang.String publicKey,
java.lang.String preferenceId,
PaymentConfiguration paymentConfiguration)
Checkout builder allow you to create a
MercadoPagoCheckout
our developers site |
| Modifier and Type | Method and Description |
|---|---|
MercadoPagoCheckout |
build() |
MercadoPagoCheckout.Builder |
setAdvancedConfiguration(AdvancedConfiguration advancedConfiguration)
It provides support for custom checkout functionality/ configure special behaviour
You can enable/disable several functionality.
|
MercadoPagoCheckout.Builder |
setPrivateKey(java.lang.String privateKey)
Private key provides save card capabilities and account money balance.
|
public Builder(@NonNull
java.lang.String publicKey,
@NonNull
CheckoutPreference checkoutPreference,
@NonNull
PaymentConfiguration paymentConfiguration)
MercadoPagoCheckout
our developers sitepublicKey - merchant public key / collector public key credentialspaymentConfiguration - the payment configuration for this checkout.checkoutPreference - the preference that represents the payment information.public Builder(@NonNull
java.lang.String publicKey,
@NonNull
java.lang.String preferenceId,
@NonNull
PaymentConfiguration paymentConfiguration)
MercadoPagoCheckout
our developers sitepublicKey - merchant public key / collector public key credentialspaymentConfiguration - the payment configuration for this checkout.preferenceId - the preference id that represents the payment information.public Builder(@NonNull
java.lang.String publicKey,
@NonNull
java.lang.String preferenceId)
MercadoPagoCheckout
For more information check the following links
credentials
create preferencepublicKey - merchant public key / collector public keypreferenceId - the preference id that represents the payment information.public MercadoPagoCheckout.Builder setPrivateKey(@NonNull java.lang.String privateKey)
privateKey - the user private keypublic MercadoPagoCheckout.Builder setAdvancedConfiguration(@NonNull AdvancedConfiguration advancedConfiguration)
advancedConfiguration - your configuration.public MercadoPagoCheckout build()
MercadoPagoCheckout instance