Class PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder
- java.lang.Object
-
- com.mercadopago.client.preference.PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder
-
- Enclosing class:
- PreferencePaymentMethodsRequest
public static class PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
excludedPaymentMethods
public PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder excludedPaymentMethods(List<PreferencePaymentMethodRequest> excludedPaymentMethods)
Payment methods not allowed in payment process (except account_money).- Returns:
this
.
-
excludedPaymentTypes
public PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder excludedPaymentTypes(List<PreferencePaymentTypeRequest> excludedPaymentTypes)
Payment types not allowed in payment process.- Returns:
this
.
-
defaultPaymentMethodId
public PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder defaultPaymentMethodId(String defaultPaymentMethodId)
Payment method to be preferred on the payments methods list.- Returns:
this
.
-
installments
public PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder installments(Integer installments)
Maximum number of credit card installments to be accepted.- Returns:
this
.
-
defaultInstallments
public PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder defaultInstallments(Integer defaultInstallments)
Preferred number of credit card installments.- Returns:
this
.
-
build
public PreferencePaymentMethodsRequest build()
-
-