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_CUPstatic StringJSON_PROPERTY_CURRENCIESstatic StringJSON_PROPERTY_CUSTOM_ROUTING_FLAGSstatic StringJSON_PROPERTY_DINERSstatic StringJSON_PROPERTY_DISCOVERstatic StringJSON_PROPERTY_EFTPOS_AUSTRALIAstatic StringJSON_PROPERTY_ENABLEDstatic StringJSON_PROPERTY_GIROCARDstatic StringJSON_PROPERTY_IDEALstatic StringJSON_PROPERTY_INTERAC_CARDstatic StringJSON_PROPERTY_JCBstatic StringJSON_PROPERTY_MAESTROstatic StringJSON_PROPERTY_MCstatic StringJSON_PROPERTY_STORE_IDSstatic StringJSON_PROPERTY_VISA
-
Constructor Summary
Constructors Constructor Description UpdatePaymentMethodInfo()
-
Method Summary
-
-
-
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_CUP
public static final String JSON_PROPERTY_CUP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCIES
public static final String JSON_PROPERTY_CURRENCIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CUSTOM_ROUTING_FLAGS
public static final String JSON_PROPERTY_CUSTOM_ROUTING_FLAGS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DINERS
public static final String JSON_PROPERTY_DINERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISCOVER
public static final String JSON_PROPERTY_DISCOVER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EFTPOS_AUSTRALIA
public static final String JSON_PROPERTY_EFTPOS_AUSTRALIA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GIROCARD
public static final String JSON_PROPERTY_GIROCARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDEAL
public static final String JSON_PROPERTY_IDEAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INTERAC_CARD
public static final String JSON_PROPERTY_INTERAC_CARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JCB
public static final String JSON_PROPERTY_JCB
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAESTRO
public static final String JSON_PROPERTY_MAESTRO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MC
public static final String JSON_PROPERTY_MC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_IDS
public static final String JSON_PROPERTY_STORE_IDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VISA
public static final String JSON_PROPERTY_VISA
- 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)
bcmc- Parameters:
bcmc-
-
cartesBancaires
public UpdatePaymentMethodInfo cartesBancaires(CartesBancairesInfo cartesBancaires)
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
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
-
setCountries
public void setCountries(List<String> countries)
The list of countries where a payment method is available. By default, all countries supported by the payment method.- Parameters:
countries-
-
cup
public UpdatePaymentMethodInfo cup(GenericPmWithTdiInfo cup)
-
getCup
public GenericPmWithTdiInfo getCup()
Get cup- Returns:
- cup
-
setCup
public void setCup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-
-
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
-
setCurrencies
public void setCurrencies(List<String> currencies)
The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- Parameters:
currencies-
-
customRoutingFlags
public UpdatePaymentMethodInfo customRoutingFlags(List<String> customRoutingFlags)
-
addCustomRoutingFlagsItem
public UpdatePaymentMethodInfo addCustomRoutingFlagsItem(String customRoutingFlagsItem)
-
getCustomRoutingFlags
public List<String> getCustomRoutingFlags()
Custom routing flags for acquirer routing.- Returns:
- customRoutingFlags
-
setCustomRoutingFlags
public void setCustomRoutingFlags(List<String> customRoutingFlags)
Custom routing flags for acquirer routing.- Parameters:
customRoutingFlags-
-
diners
public UpdatePaymentMethodInfo diners(GenericPmWithTdiInfo diners)
-
getDiners
public GenericPmWithTdiInfo getDiners()
Get diners- Returns:
- diners
-
setDiners
public void setDiners(GenericPmWithTdiInfo diners)
diners- Parameters:
diners-
-
discover
public UpdatePaymentMethodInfo discover(GenericPmWithTdiInfo discover)
-
getDiscover
public GenericPmWithTdiInfo getDiscover()
Get discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-
-
eftposAustralia
public UpdatePaymentMethodInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia)
-
getEftposAustralia
public GenericPmWithTdiInfo getEftposAustralia()
Get eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
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)
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Parameters:
enabled-
-
girocard
public UpdatePaymentMethodInfo girocard(GenericPmWithTdiInfo girocard)
-
getGirocard
public GenericPmWithTdiInfo getGirocard()
Get girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-
-
ideal
public UpdatePaymentMethodInfo ideal(GenericPmWithTdiInfo ideal)
-
getIdeal
public GenericPmWithTdiInfo getIdeal()
Get ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public UpdatePaymentMethodInfo interacCard(GenericPmWithTdiInfo interacCard)
-
getInteracCard
public GenericPmWithTdiInfo getInteracCard()
Get interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public UpdatePaymentMethodInfo jcb(GenericPmWithTdiInfo jcb)
-
getJcb
public GenericPmWithTdiInfo getJcb()
Get jcb- Returns:
- jcb
-
setJcb
public void setJcb(GenericPmWithTdiInfo jcb)
jcb- Parameters:
jcb-
-
maestro
public UpdatePaymentMethodInfo maestro(GenericPmWithTdiInfo maestro)
-
getMaestro
public GenericPmWithTdiInfo getMaestro()
Get maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-
-
mc
public UpdatePaymentMethodInfo mc(GenericPmWithTdiInfo mc)
-
getMc
public GenericPmWithTdiInfo getMc()
Get mc- Returns:
- mc
-
setMc
public void setMc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-
-
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
-
setStoreIds
public void setStoreIds(List<String> storeIds)
The list of stores for this payment method- Parameters:
storeIds-
-
visa
public UpdatePaymentMethodInfo visa(GenericPmWithTdiInfo visa)
-
getVisa
public GenericPmWithTdiInfo getVisa()
Get visa- Returns:
- visa
-
setVisa
public void setVisa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-
-
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
-
-