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
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)discoverUpdatePaymentMethodInfoeftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)eftDirectdebitCAUpdatePaymentMethodInfoeftposAustralia(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()Get accelBcmcInfogetBcmc()Get bcmcCartesBancairesInfogetCartesBancaires()Get cartesBancairesList<String>getCountries()The list of countries where a payment method is available.GenericPmWithTdiInfogetCup()Get cupList<String>getCurrencies()The list of currencies that a payment method supports.List<String>getCustomRoutingFlags()Custom routing flags for acquirer routing.GenericPmWithTdiInfogetDiners()Get dinersGenericPmWithTdiInfogetDiscover()Get discoverGenericPmWithTdiInfogetEftDirectdebitCA()Get eftDirectdebitCAGenericPmWithTdiInfogetEftposAustralia()Get eftposAustraliaBooleangetEnabled()Indicates whether the payment method is enabled (**true**) or disabled (**false**).Map<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.GenericPmWithTdiInfogetGirocard()Get girocardGenericPmWithTdiInfogetIdeal()Get idealGenericPmWithTdiInfogetInteracCard()Get interacCardGenericPmWithTdiInfogetJcb()Get jcbGenericPmWithTdiInfogetMaestro()Get maestroGenericPmWithTdiInfogetMaestroUsa()Get maestroUsaGenericPmWithTdiInfogetMc()Get mcNyceInfogetNyce()Get nycePayByBankPlaidInfogetPaybybankPlaid()Get paybybankPlaidPulseInfogetPulse()Get pulseSepaDirectDebitInfogetSepadirectdebit()Get sepadirectdebitStarInfogetStar()Get starStringgetStoreId()The store for this payment methodList<String>getStoreIds()Deprecated.// deprecated since Management API v3: Use `storeId` instead.GenericPmWithTdiInfogetVisa()Get visaUpdatePaymentMethodInfogirocard(GenericPmWithTdiInfo girocard)girocardinthashCode()UpdatePaymentMethodInfoideal(GenericPmWithTdiInfo ideal)idealUpdatePaymentMethodInfoincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.UpdatePaymentMethodInfointeracCard(GenericPmWithTdiInfo interacCard)interacCardbooleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.UpdatePaymentMethodInfojcb(GenericPmWithTdiInfo jcb)jcbUpdatePaymentMethodInfomaestro(GenericPmWithTdiInfo maestro)maestroUpdatePaymentMethodInfomaestroUsa(GenericPmWithTdiInfo maestroUsa)maestroUsaUpdatePaymentMethodInfomc(GenericPmWithTdiInfo mc)mcUpdatePaymentMethodInfonyce(NyceInfo nyce)nyceUpdatePaymentMethodInfopaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)paybybankPlaidUpdatePaymentMethodInfopulse(PulseInfo pulse)pulseUpdatePaymentMethodInfosepadirectdebit(SepaDirectDebitInfo sepadirectdebit)sepadirectdebitvoidsetAccel(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)discovervoidsetEftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)eftDirectdebitCAvoidsetEftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliavoidsetEnabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).voidsetGirocard(GenericPmWithTdiInfo girocard)girocardvoidsetIdeal(GenericPmWithTdiInfo ideal)idealvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetInteracCard(GenericPmWithTdiInfo interacCard)interacCardvoidsetJcb(GenericPmWithTdiInfo jcb)jcbvoidsetMaestro(GenericPmWithTdiInfo maestro)maestrovoidsetMaestroUsa(GenericPmWithTdiInfo maestroUsa)maestroUsavoidsetMc(GenericPmWithTdiInfo mc)mcvoidsetNyce(NyceInfo nyce)nycevoidsetPaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)paybybankPlaidvoidsetPulse(PulseInfo pulse)pulsevoidsetSepadirectdebit(SepaDirectDebitInfo sepadirectdebit)sepadirectdebitvoidsetStar(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_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(AccelInfo accel)
accel- Parameters:
accel-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getAccel
public AccelInfo getAccel()
Get 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()
Get 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()
Get 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- 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(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getCup
public GenericPmWithTdiInfo getCup()
Get 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- 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(GenericPmWithTdiInfo diners)
diners- Parameters:
diners-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getDiners
public GenericPmWithTdiInfo getDiners()
Get 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()
Get discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-
-
eftDirectdebitCA
public UpdatePaymentMethodInfo eftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getEftDirectdebitCA
public GenericPmWithTdiInfo getEftDirectdebitCA()
Get eftDirectdebitCA- Returns:
- eftDirectdebitCA
-
setEftDirectdebitCA
public void setEftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-
-
eftposAustralia
public UpdatePaymentMethodInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getEftposAustralia
public GenericPmWithTdiInfo getEftposAustralia()
Get 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- 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(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getGirocard
public GenericPmWithTdiInfo getGirocard()
Get 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()
Get 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()
Get 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()
Get 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()
Get maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-
-
maestroUsa
public UpdatePaymentMethodInfo maestroUsa(GenericPmWithTdiInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMaestroUsa
public GenericPmWithTdiInfo getMaestroUsa()
Get maestroUsa- Returns:
- maestroUsa
-
setMaestroUsa
public void setMaestroUsa(GenericPmWithTdiInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-
-
mc
public UpdatePaymentMethodInfo mc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getMc
public GenericPmWithTdiInfo getMc()
Get 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()
Get nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceInfo nyce)
nyce- Parameters:
nyce-
-
paybybankPlaid
public UpdatePaymentMethodInfo paybybankPlaid(PayByBankPlaidInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getPaybybankPlaid
public PayByBankPlaidInfo getPaybybankPlaid()
Get paybybankPlaid- Returns:
- paybybankPlaid
-
setPaybybankPlaid
public void setPaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-
-
pulse
public UpdatePaymentMethodInfo pulse(PulseInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getPulse
public PulseInfo getPulse()
Get pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseInfo pulse)
pulse- Parameters:
pulse-
-
sepadirectdebit
public UpdatePaymentMethodInfo sepadirectdebit(SepaDirectDebitInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getSepadirectdebit
public SepaDirectDebitInfo getSepadirectdebit()
Get sepadirectdebit- Returns:
- sepadirectdebit
-
setSepadirectdebit
public void setSepadirectdebit(SepaDirectDebitInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-
-
star
public UpdatePaymentMethodInfo star(StarInfo star)
star- Parameters:
star-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getStar
public StarInfo getStar()
Get 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- 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.// 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(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-- Returns:
- the current
UpdatePaymentMethodInfoinstance, allowing for method chaining
-
getVisa
public GenericPmWithTdiInfo getVisa()
Get visa- Returns:
- visa
-
setVisa
public void setVisa(GenericPmWithTdiInfo 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
-
-