Package com.adyen.model.management
Class UpdatePaymentMethodInfo
- java.lang.Object
-
- com.adyen.model.management.UpdatePaymentMethodInfo
-
public class UpdatePaymentMethodInfo extends Object
UpdatePaymentMethodInfo
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UpdatePaymentMethodInfo()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEL
public static final String JSON_PROPERTY_ACCEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AFFIRM
public static final String JSON_PROPERTY_AFFIRM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BCMC
public static final String JSON_PROPERTY_BCMC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARNET
public static final String JSON_PROPERTY_CARNET
- 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_EFT_DIRECTDEBIT_C_A
public static final String JSON_PROPERTY_EFT_DIRECTDEBIT_C_A
- 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_MAESTRO_USA
public static final String JSON_PROPERTY_MAESTRO_USA
- 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_PAYBYBANK_PLAID
public static final String JSON_PROPERTY_PAYBYBANK_PLAID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PULSE
public static final String JSON_PROPERTY_PULSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SEPADIRECTDEBIT
public static final String JSON_PROPERTY_SEPADIRECTDEBIT
- 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(AccelUpdateInfo accel)
accel- Parameters:
accel-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getAccel
public AccelUpdateInfo getAccel()
Get accel- Returns:
- accel
-
setAccel
public void setAccel(AccelUpdateInfo accel)
accel- Parameters:
accel-
-
affirm
public UpdatePaymentMethodInfo affirm(AffirmUpdateInfo affirm)
affirm- Parameters:
affirm-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getAffirm
public AffirmUpdateInfo getAffirm()
Get affirm- Returns:
- affirm
-
setAffirm
public void setAffirm(AffirmUpdateInfo affirm)
affirm- Parameters:
affirm-
-
bcmc
public UpdatePaymentMethodInfo bcmc(BcmcUpdateInfo bcmc)
bcmc- Parameters:
bcmc-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getBcmc
public BcmcUpdateInfo getBcmc()
Get bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcUpdateInfo bcmc)
bcmc- Parameters:
bcmc-
-
carnet
public UpdatePaymentMethodInfo carnet(GenericPmWithTdiUpdateInfo carnet)
carnet- Parameters:
carnet-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCarnet
public GenericPmWithTdiUpdateInfo getCarnet()
Get carnet- Returns:
- carnet
-
setCarnet
public void setCarnet(GenericPmWithTdiUpdateInfo carnet)
carnet- Parameters:
carnet-
-
cartesBancaires
public UpdatePaymentMethodInfo cartesBancaires(CartesBancairesUpdateInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCartesBancaires
public CartesBancairesUpdateInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesUpdateInfo 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- The list of countries where a payment method is available. By default, all countries supported by the payment method.- 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 The list of countries where a payment method is available. By default, all countries supported by the payment method.
-
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- The list of countries where a payment method is available. By default, all countries supported by the payment method.
-
cup
public UpdatePaymentMethodInfo cup(GenericPmWithTdiUpdateInfo cup)
cup- Parameters:
cup-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCup
public GenericPmWithTdiUpdateInfo getCup()
Get cup- Returns:
- cup
-
setCup
public void setCup(GenericPmWithTdiUpdateInfo 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- The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- 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 The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
-
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- The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
-
customRoutingFlags
public UpdatePaymentMethodInfo customRoutingFlags(List<String> customRoutingFlags)
Custom routing flags for acquirer routing.- Parameters:
customRoutingFlags- Custom routing flags for acquirer routing.- 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 Custom routing flags for acquirer routing.
-
setCustomRoutingFlags
public void setCustomRoutingFlags(List<String> customRoutingFlags)
Custom routing flags for acquirer routing.- Parameters:
customRoutingFlags- Custom routing flags for acquirer routing.
-
diners
public UpdatePaymentMethodInfo diners(GenericPmWithTdiUpdateInfo diners)
diners- Parameters:
diners-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getDiners
public GenericPmWithTdiUpdateInfo getDiners()
Get diners- Returns:
- diners
-
setDiners
public void setDiners(GenericPmWithTdiUpdateInfo diners)
diners- Parameters:
diners-
-
discover
public UpdatePaymentMethodInfo discover(GenericPmWithTdiUpdateInfo discover)
discover- Parameters:
discover-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getDiscover
public GenericPmWithTdiUpdateInfo getDiscover()
Get discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiUpdateInfo discover)
discover- Parameters:
discover-
-
eftDirectdebitCA
public UpdatePaymentMethodInfo eftDirectdebitCA(GenericPmWithTdiUpdateInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getEftDirectdebitCA
public GenericPmWithTdiUpdateInfo getEftDirectdebitCA()
Get eftDirectdebitCA- Returns:
- eftDirectdebitCA
-
setEftDirectdebitCA
public void setEftDirectdebitCA(GenericPmWithTdiUpdateInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-
-
eftposAustralia
public UpdatePaymentMethodInfo eftposAustralia(GenericPmWithTdiUpdateInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getEftposAustralia
public GenericPmWithTdiUpdateInfo getEftposAustralia()
Get eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(GenericPmWithTdiUpdateInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
enabled
public UpdatePaymentMethodInfo enabled(Boolean enabled)
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Parameters:
enabled- Indicates whether the payment method is enabled (**true**) or disabled (**false**).- 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 Indicates whether the payment method is enabled (**true**) or disabled (**false**).
-
setEnabled
public void setEnabled(Boolean enabled)
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Parameters:
enabled- Indicates whether the payment method is enabled (**true**) or disabled (**false**).
-
girocard
public UpdatePaymentMethodInfo girocard(GenericPmWithTdiUpdateInfo girocard)
girocard- Parameters:
girocard-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getGirocard
public GenericPmWithTdiUpdateInfo getGirocard()
Get girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GenericPmWithTdiUpdateInfo girocard)
girocard- Parameters:
girocard-
-
ideal
public UpdatePaymentMethodInfo ideal(GenericPmWithTdiUpdateInfo ideal)
ideal- Parameters:
ideal-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getIdeal
public GenericPmWithTdiUpdateInfo getIdeal()
Get ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(GenericPmWithTdiUpdateInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public UpdatePaymentMethodInfo interacCard(GenericPmWithTdiUpdateInfo interacCard)
interacCard- Parameters:
interacCard-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getInteracCard
public GenericPmWithTdiUpdateInfo getInteracCard()
Get interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(GenericPmWithTdiUpdateInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public UpdatePaymentMethodInfo jcb(GenericPmWithTdiUpdateInfo jcb)
jcb- Parameters:
jcb-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getJcb
public GenericPmWithTdiUpdateInfo getJcb()
Get jcb- Returns:
- jcb
-
setJcb
public void setJcb(GenericPmWithTdiUpdateInfo jcb)
jcb- Parameters:
jcb-
-
maestro
public UpdatePaymentMethodInfo maestro(GenericPmWithTdiUpdateInfo maestro)
maestro- Parameters:
maestro-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMaestro
public GenericPmWithTdiUpdateInfo getMaestro()
Get maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiUpdateInfo maestro)
maestro- Parameters:
maestro-
-
maestroUsa
public UpdatePaymentMethodInfo maestroUsa(GenericPmWithTdiUpdateInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMaestroUsa
public GenericPmWithTdiUpdateInfo getMaestroUsa()
Get maestroUsa- Returns:
- maestroUsa
-
setMaestroUsa
public void setMaestroUsa(GenericPmWithTdiUpdateInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-
-
mc
public UpdatePaymentMethodInfo mc(GenericPmWithTdiUpdateInfo mc)
mc- Parameters:
mc-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMc
public GenericPmWithTdiUpdateInfo getMc()
Get mc- Returns:
- mc
-
setMc
public void setMc(GenericPmWithTdiUpdateInfo mc)
mc- Parameters:
mc-
-
nyce
public UpdatePaymentMethodInfo nyce(NyceUpdateInfo nyce)
nyce- Parameters:
nyce-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getNyce
public NyceUpdateInfo getNyce()
Get nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceUpdateInfo nyce)
nyce- Parameters:
nyce-
-
paybybankPlaid
public UpdatePaymentMethodInfo paybybankPlaid(PayByBankPlaidUpdateInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getPaybybankPlaid
public PayByBankPlaidUpdateInfo getPaybybankPlaid()
Get paybybankPlaid- Returns:
- paybybankPlaid
-
setPaybybankPlaid
public void setPaybybankPlaid(PayByBankPlaidUpdateInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-
-
pulse
public UpdatePaymentMethodInfo pulse(PulseUpdateInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getPulse
public PulseUpdateInfo getPulse()
Get pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseUpdateInfo pulse)
pulse- Parameters:
pulse-
-
sepadirectdebit
public UpdatePaymentMethodInfo sepadirectdebit(SepaDirectDebitUpdateInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getSepadirectdebit
public SepaDirectDebitUpdateInfo getSepadirectdebit()
Get sepadirectdebit- Returns:
- sepadirectdebit
-
setSepadirectdebit
public void setSepadirectdebit(SepaDirectDebitUpdateInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-
-
star
public UpdatePaymentMethodInfo star(StarUpdateInfo star)
star- Parameters:
star-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getStar
public StarUpdateInfo getStar()
Get star- Returns:
- star
-
setStar
public void setStar(StarUpdateInfo star)
star- Parameters:
star-
-
storeId
public UpdatePaymentMethodInfo storeId(String storeId)
The store for this payment method- Parameters:
storeId- The store for this payment method- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getStoreId
public String getStoreId()
The store for this payment method- Returns:
- storeId The store for this payment method
-
setStoreId
public void setStoreId(String storeId)
The store for this payment method- Parameters:
storeId- The store for this payment method
-
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- The list of stores for this payment method- 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 The list of stores for this payment method
-
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- The list of stores for this payment method
-
visa
public UpdatePaymentMethodInfo visa(GenericPmWithTdiUpdateInfo visa)
visa- Parameters:
visa-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getVisa
public GenericPmWithTdiUpdateInfo getVisa()
Get visa- Returns:
- visa
-
setVisa
public void setVisa(GenericPmWithTdiUpdateInfo visa)
visa- Parameters:
visa-
-
includeNullValues
public UpdatePaymentMethodInfo includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this UpdatePaymentMethodInfo object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-