Class PreferencePaymentMethodsRequest
- java.lang.Object
-
- com.mercadopago.client.preference.PreferencePaymentMethodsRequest
-
public class PreferencePaymentMethodsRequest extends Object
Payment methods information from preference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder
builder()
Integer
getDefaultInstallments()
Preferred number of credit card installments.String
getDefaultPaymentMethodId()
Payment method to be preferred on the payments methods list.List<PreferencePaymentMethodRequest>
getExcludedPaymentMethods()
Payment methods not allowed in payment process (except account_money).List<PreferencePaymentTypeRequest>
getExcludedPaymentTypes()
Payment types not allowed in payment process.Integer
getInstallments()
Maximum number of credit card installments to be accepted.
-
-
-
Method Detail
-
builder
public static PreferencePaymentMethodsRequest.PreferencePaymentMethodsRequestBuilder builder()
-
getExcludedPaymentMethods
public List<PreferencePaymentMethodRequest> getExcludedPaymentMethods()
Payment methods not allowed in payment process (except account_money).
-
getExcludedPaymentTypes
public List<PreferencePaymentTypeRequest> getExcludedPaymentTypes()
Payment types not allowed in payment process.
-
getDefaultPaymentMethodId
public String getDefaultPaymentMethodId()
Payment method to be preferred on the payments methods list.
-
getInstallments
public Integer getInstallments()
Maximum number of credit card installments to be accepted.
-
getDefaultInstallments
public Integer getDefaultInstallments()
Preferred number of credit card installments.
-
-