Package com.adyen.model.management
Class UpdatePaymentMethodInfo
- java.lang.Object
-
- com.adyen.model.management.UpdatePaymentMethodInfo
-
public class UpdatePaymentMethodInfo extends Object
UpdatePaymentMethodInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_BCMCstatic StringJSON_PROPERTY_CARTES_BANCAIRESstatic StringJSON_PROPERTY_COUNTRIESstatic StringJSON_PROPERTY_CURRENCIESstatic StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_STORE_IDS
-
Constructor Summary
Constructors Constructor Description UpdatePaymentMethodInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdatePaymentMethodInfoaddCountriesItem(String countriesItem)UpdatePaymentMethodInfoaddCurrenciesItem(String currenciesItem)UpdatePaymentMethodInfoaddStoreIdsItem(String storeIdsItem)UpdatePaymentMethodInfobcmc(BcmcInfo bcmc)UpdatePaymentMethodInfocartesBancaires(CartesBancairesInfo cartesBancaires)UpdatePaymentMethodInfocountries(List<String> countries)UpdatePaymentMethodInfocurrencies(List<String> currencies)UpdatePaymentMethodInfoenabled(Boolean enabled)booleanequals(Object o)Return true if this UpdatePaymentMethodInfo object is equal to o.static UpdatePaymentMethodInfofromJson(String jsonString)Create an instance of UpdatePaymentMethodInfo given an JSON stringBcmcInfogetBcmc()Get bcmcCartesBancairesInfogetCartesBancaires()Get cartesBancairesList<String>getCountries()The list of countries where a payment method is available.List<String>getCurrencies()The list of currencies that a payment method supports.BooleangetEnabled()Indicates whether the payment method is enabled (**true**) or disabled (**false**).List<String>getStoreIds()The list of stores for this payment methodinthashCode()voidsetBcmc(BcmcInfo bcmc)voidsetCartesBancaires(CartesBancairesInfo cartesBancaires)voidsetCountries(List<String> countries)voidsetCurrencies(List<String> currencies)voidsetEnabled(Boolean enabled)voidsetStoreIds(List<String> storeIds)UpdatePaymentMethodInfostoreIds(List<String> storeIds)StringtoJson()Convert an instance of UpdatePaymentMethodInfo to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_BCMC
public static final String JSON_PROPERTY_BCMC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARTES_BANCAIRES
public static final String JSON_PROPERTY_CARTES_BANCAIRES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRIES
public static final String JSON_PROPERTY_COUNTRIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCIES
public static final String JSON_PROPERTY_CURRENCIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_IDS
public static final String JSON_PROPERTY_STORE_IDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
bcmc
public UpdatePaymentMethodInfo bcmc(BcmcInfo bcmc)
-
getBcmc
public BcmcInfo getBcmc()
Get bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcInfo bcmc)
-
cartesBancaires
public UpdatePaymentMethodInfo cartesBancaires(CartesBancairesInfo cartesBancaires)
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
-
countries
public UpdatePaymentMethodInfo countries(List<String> countries)
-
addCountriesItem
public UpdatePaymentMethodInfo addCountriesItem(String countriesItem)
-
getCountries
public List<String> getCountries()
The list of countries where a payment method is available. By default, all countries supported by the payment method.- Returns:
- countries
-
currencies
public UpdatePaymentMethodInfo currencies(List<String> currencies)
-
addCurrenciesItem
public UpdatePaymentMethodInfo addCurrenciesItem(String currenciesItem)
-
getCurrencies
public List<String> getCurrencies()
The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- Returns:
- currencies
-
enabled
public UpdatePaymentMethodInfo enabled(Boolean enabled)
-
getEnabled
public Boolean getEnabled()
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Returns:
- enabled
-
setEnabled
public void setEnabled(Boolean enabled)
-
storeIds
public UpdatePaymentMethodInfo storeIds(List<String> storeIds)
-
addStoreIdsItem
public UpdatePaymentMethodInfo addStoreIdsItem(String storeIdsItem)
-
getStoreIds
public List<String> getStoreIds()
The list of stores for this payment method- Returns:
- storeIds
-
equals
public boolean equals(Object o)
Return true if this UpdatePaymentMethodInfo object is equal to o.
-
fromJson
public static UpdatePaymentMethodInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpdatePaymentMethodInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdatePaymentMethodInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpdatePaymentMethodInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpdatePaymentMethodInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-