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_ACCELstatic 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_NYCEstatic StringJSON_PROPERTY_PULSEstatic StringJSON_PROPERTY_STARstatic StringJSON_PROPERTY_STORE_IDstatic StringJSON_PROPERTY_STORE_IDSstatic StringJSON_PROPERTY_VISA
-
Constructor Summary
Constructors Constructor Description UpdatePaymentMethodInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpdatePaymentMethodInfoaccel(AccelInfo accel)accelUpdatePaymentMethodInfoaddCountriesItem(String countriesItem)UpdatePaymentMethodInfoaddCurrenciesItem(String currenciesItem)UpdatePaymentMethodInfoaddCustomRoutingFlagsItem(String customRoutingFlagsItem)UpdatePaymentMethodInfoaddStoreIdsItem(String storeIdsItem)UpdatePaymentMethodInfobcmc(BcmcInfo bcmc)bcmcUpdatePaymentMethodInfocartesBancaires(CartesBancairesInfo cartesBancaires)cartesBancairesUpdatePaymentMethodInfocountries(List<String> countries)The list of countries where a payment method is available.UpdatePaymentMethodInfocup(GenericPmWithTdiInfo cup)cupUpdatePaymentMethodInfocurrencies(List<String> currencies)The list of currencies that a payment method supports.UpdatePaymentMethodInfocustomRoutingFlags(List<String> customRoutingFlags)Custom routing flags for acquirer routing.UpdatePaymentMethodInfodiners(GenericPmWithTdiInfo diners)dinersUpdatePaymentMethodInfodiscover(GenericPmWithTdiInfo discover)discoverUpdatePaymentMethodInfoeftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliaUpdatePaymentMethodInfoenabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).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 stringAccelInfogetAccel()accelBcmcInfogetBcmc()bcmcCartesBancairesInfogetCartesBancaires()cartesBancairesList<String>getCountries()The list of countries where a payment method is available.GenericPmWithTdiInfogetCup()cupList<String>getCurrencies()The list of currencies that a payment method supports.List<String>getCustomRoutingFlags()Custom routing flags for acquirer routing.GenericPmWithTdiInfogetDiners()dinersGenericPmWithTdiInfogetDiscover()discoverGenericPmWithTdiInfogetEftposAustralia()eftposAustraliaBooleangetEnabled()Indicates whether the payment method is enabled (**true**) or disabled (**false**).GenericPmWithTdiInfogetGirocard()girocardGenericPmWithTdiInfogetIdeal()idealGenericPmWithTdiInfogetInteracCard()interacCardGenericPmWithTdiInfogetJcb()jcbGenericPmWithTdiInfogetMaestro()maestroGenericPmWithTdiInfogetMc()mcNyceInfogetNyce()nycePulseInfogetPulse()pulseStarInfogetStar()starStringgetStoreId()The store for this payment methodList<String>getStoreIds()Deprecated.since Management API v3 Use `storeId` instead.GenericPmWithTdiInfogetVisa()visaUpdatePaymentMethodInfogirocard(GenericPmWithTdiInfo girocard)girocardinthashCode()UpdatePaymentMethodInfoideal(GenericPmWithTdiInfo ideal)idealUpdatePaymentMethodInfointeracCard(GenericPmWithTdiInfo interacCard)interacCardUpdatePaymentMethodInfojcb(GenericPmWithTdiInfo jcb)jcbUpdatePaymentMethodInfomaestro(GenericPmWithTdiInfo maestro)maestroUpdatePaymentMethodInfomc(GenericPmWithTdiInfo mc)mcUpdatePaymentMethodInfonyce(NyceInfo nyce)nyceUpdatePaymentMethodInfopulse(PulseInfo pulse)pulsevoidsetAccel(AccelInfo accel)accelvoidsetBcmc(BcmcInfo bcmc)bcmcvoidsetCartesBancaires(CartesBancairesInfo cartesBancaires)cartesBancairesvoidsetCountries(List<String> countries)The list of countries where a payment method is available.voidsetCup(GenericPmWithTdiInfo cup)cupvoidsetCurrencies(List<String> currencies)The list of currencies that a payment method supports.voidsetCustomRoutingFlags(List<String> customRoutingFlags)Custom routing flags for acquirer routing.voidsetDiners(GenericPmWithTdiInfo diners)dinersvoidsetDiscover(GenericPmWithTdiInfo discover)discovervoidsetEftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliavoidsetEnabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).voidsetGirocard(GenericPmWithTdiInfo girocard)girocardvoidsetIdeal(GenericPmWithTdiInfo ideal)idealvoidsetInteracCard(GenericPmWithTdiInfo interacCard)interacCardvoidsetJcb(GenericPmWithTdiInfo jcb)jcbvoidsetMaestro(GenericPmWithTdiInfo maestro)maestrovoidsetMc(GenericPmWithTdiInfo mc)mcvoidsetNyce(NyceInfo nyce)nycevoidsetPulse(PulseInfo pulse)pulsevoidsetStar(StarInfo star)starvoidsetStoreId(String storeId)The store for this payment methodvoidsetStoreIds(List<String> storeIds)Deprecated.since Management API v3 Use `storeId` instead.voidsetVisa(GenericPmWithTdiInfo visa)visaUpdatePaymentMethodInfostar(StarInfo star)starUpdatePaymentMethodInfostoreId(String storeId)The store for this payment methodUpdatePaymentMethodInfostoreIds(List<String> storeIds)Deprecated.since Management API v3 Use `storeId` instead.StringtoJson()Convert an instance of UpdatePaymentMethodInfo to an JSON stringStringtoString()UpdatePaymentMethodInfovisa(GenericPmWithTdiInfo visa)visa
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEL
public static final String JSON_PROPERTY_ACCEL
- See Also:
- Constant Field Values
-
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_NYCE
public static final String JSON_PROPERTY_NYCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PULSE
public static final String JSON_PROPERTY_PULSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STAR
public static final String JSON_PROPERTY_STAR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_ID
public static final String JSON_PROPERTY_STORE_ID
- 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
-
accel
public UpdatePaymentMethodInfo accel(AccelInfo accel)
accel- Parameters:
accel-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getAccel
public AccelInfo getAccel()
accel- Returns:
- accel
-
setAccel
public void setAccel(AccelInfo accel)
accel- Parameters:
accel-
-
bcmc
public UpdatePaymentMethodInfo bcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getBcmc
public BcmcInfo getBcmc()
bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-
-
cartesBancaires
public UpdatePaymentMethodInfo cartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-
-
countries
public UpdatePaymentMethodInfo countries(List<String> countries)
The list of countries where a payment method is available. By default, all countries supported by the payment method.- Parameters:
countries-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
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)
cup- Parameters:
cup-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCup
public GenericPmWithTdiInfo getCup()
cup- Returns:
- cup
-
setCup
public void setCup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-
-
currencies
public UpdatePaymentMethodInfo currencies(List<String> currencies)
The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- Parameters:
currencies-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
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)
Custom routing flags for acquirer routing.- Parameters:
customRoutingFlags-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
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)
diners- Parameters:
diners-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getDiners
public GenericPmWithTdiInfo getDiners()
diners- Returns:
- diners
-
setDiners
public void setDiners(GenericPmWithTdiInfo diners)
diners- Parameters:
diners-
-
discover
public UpdatePaymentMethodInfo discover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getDiscover
public GenericPmWithTdiInfo getDiscover()
discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-
-
eftposAustralia
public UpdatePaymentMethodInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getEftposAustralia
public GenericPmWithTdiInfo getEftposAustralia()
eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
enabled
public UpdatePaymentMethodInfo enabled(Boolean enabled)
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Parameters:
enabled-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
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)
girocard- Parameters:
girocard-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getGirocard
public GenericPmWithTdiInfo getGirocard()
girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-
-
ideal
public UpdatePaymentMethodInfo ideal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getIdeal
public GenericPmWithTdiInfo getIdeal()
ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public UpdatePaymentMethodInfo interacCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getInteracCard
public GenericPmWithTdiInfo getInteracCard()
interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public UpdatePaymentMethodInfo jcb(GenericPmWithTdiInfo jcb)
jcb- Parameters:
jcb-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getJcb
public GenericPmWithTdiInfo getJcb()
jcb- Returns:
- jcb
-
setJcb
public void setJcb(GenericPmWithTdiInfo jcb)
jcb- Parameters:
jcb-
-
maestro
public UpdatePaymentMethodInfo maestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMaestro
public GenericPmWithTdiInfo getMaestro()
maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-
-
mc
public UpdatePaymentMethodInfo mc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMc
public GenericPmWithTdiInfo getMc()
mc- Returns:
- mc
-
setMc
public void setMc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-
-
nyce
public UpdatePaymentMethodInfo nyce(NyceInfo nyce)
nyce- Parameters:
nyce-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getNyce
public NyceInfo getNyce()
nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceInfo nyce)
nyce- Parameters:
nyce-
-
pulse
public UpdatePaymentMethodInfo pulse(PulseInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getPulse
public PulseInfo getPulse()
pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseInfo pulse)
pulse- Parameters:
pulse-
-
star
public UpdatePaymentMethodInfo star(StarInfo star)
star- Parameters:
star-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getStar
public StarInfo getStar()
star- Returns:
- star
-
setStar
public void setStar(StarInfo star)
star- Parameters:
star-
-
storeId
public UpdatePaymentMethodInfo storeId(String storeId)
The store for this payment method- Parameters:
storeId-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getStoreId
public String getStoreId()
The store for this payment method- Returns:
- storeId
-
setStoreId
public void setStoreId(String storeId)
The store for this payment method- Parameters:
storeId-
-
storeIds
@Deprecated public UpdatePaymentMethodInfo storeIds(List<String> storeIds)
Deprecated.since Management API v3 Use `storeId` instead. Only one store per payment method is allowed.The list of stores for this payment method- Parameters:
storeIds-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
addStoreIdsItem
public UpdatePaymentMethodInfo addStoreIdsItem(String storeIdsItem)
-
getStoreIds
@Deprecated public List<String> getStoreIds()
Deprecated.since Management API v3 Use `storeId` instead. Only one store per payment method is allowed.The list of stores for this payment method- Returns:
- storeIds
-
setStoreIds
@Deprecated public void setStoreIds(List<String> storeIds)
Deprecated.since Management API v3 Use `storeId` instead. Only one store per payment method is allowed.The list of stores for this payment method- Parameters:
storeIds-
-
visa
public UpdatePaymentMethodInfo visa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getVisa
public GenericPmWithTdiInfo getVisa()
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
-
-