Package com.adyen.model.management
Class PaymentMethodSetupInfo
- java.lang.Object
-
- com.adyen.model.management.PaymentMethodSetupInfo
-
public class PaymentMethodSetupInfo extends Object
PaymentMethodSetupInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodSetupInfo.ShopperInteractionEnumThe sales channel.static classPaymentMethodSetupInfo.TypeEnumPayment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PaymentMethodSetupInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodSetupInfoaccel(AccelInfo accel)accelPaymentMethodSetupInfoaddCountriesItem(String countriesItem)PaymentMethodSetupInfoaddCurrenciesItem(String currenciesItem)PaymentMethodSetupInfoaddCustomRoutingFlagsItem(String customRoutingFlagsItem)PaymentMethodSetupInfoaddStoreIdsItem(String storeIdsItem)PaymentMethodSetupInfoaffirm(AffirmInfo affirm)affirmPaymentMethodSetupInfoafterpayTouch(AfterpayTouchInfo afterpayTouch)afterpayTouchPaymentMethodSetupInfoamex(AmexInfo amex)amexPaymentMethodSetupInfoapplePay(ApplePayInfo applePay)applePayPaymentMethodSetupInfobcmc(BcmcInfo bcmc)bcmcPaymentMethodSetupInfobusinessLineId(String businessLineId)The unique identifier of the business line.PaymentMethodSetupInfocartesBancaires(CartesBancairesInfo cartesBancaires)cartesBancairesPaymentMethodSetupInfoclearpay(ClearpayInfo clearpay)clearpayPaymentMethodSetupInfocountries(List<String> countries)The list of countries where a payment method is available.PaymentMethodSetupInfocup(GenericPmWithTdiInfo cup)cupPaymentMethodSetupInfocurrencies(List<String> currencies)The list of currencies that a payment method supports.PaymentMethodSetupInfocustomRoutingFlags(List<String> customRoutingFlags)The list of custom routing flags to route payment to the intended acquirer.PaymentMethodSetupInfodiners(DinersInfo diners)dinersPaymentMethodSetupInfodiscover(GenericPmWithTdiInfo discover)discoverPaymentMethodSetupInfoeftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)eftDirectdebitCAPaymentMethodSetupInfoeftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliabooleanequals(Object o)Return true if this PaymentMethodSetupInfo object is equal to o.static PaymentMethodSetupInfofromJson(String jsonString)Create an instance of PaymentMethodSetupInfo given an JSON stringAccelInfogetAccel()Get accelAffirmInfogetAffirm()Get affirmAfterpayTouchInfogetAfterpayTouch()Get afterpayTouchAmexInfogetAmex()Get amexApplePayInfogetApplePay()Get applePayBcmcInfogetBcmc()Get bcmcStringgetBusinessLineId()The unique identifier of the business line.CartesBancairesInfogetCartesBancaires()Get cartesBancairesClearpayInfogetClearpay()Get clearpayList<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()The list of custom routing flags to route payment to the intended acquirer.DinersInfogetDiners()Get dinersGenericPmWithTdiInfogetDiscover()Get discoverGenericPmWithTdiInfogetEftDirectdebitCA()Get eftDirectdebitCAGenericPmWithTdiInfogetEftposAustralia()Get eftposAustraliaGenericPmWithTdiInfogetGirocard()Get girocardGooglePayInfogetGooglePay()Get googlePayGenericPmWithTdiInfogetIdeal()Get idealGenericPmWithTdiInfogetInteracCard()Get interacCardJCBInfogetJcb()Get jcbKlarnaInfogetKlarna()Get klarnaGenericPmWithTdiInfogetMaestro()Get maestroGenericPmWithTdiInfogetMc()Get mcMealVoucherFRInfogetMealVoucherFR()Get mealVoucherFRNyceInfogetNyce()Get nycePayByBankPlaidInfogetPaybybankPlaid()Get paybybankPlaidPayMeInfogetPayme()Get paymePayPalInfogetPaypal()Get paypalPayToInfogetPayto()Get paytoPulseInfogetPulse()Get pulseStringgetReference()Your reference for the payment method.PaymentMethodSetupInfo.ShopperInteractionEnumgetShopperInteraction()The sales channel.SodexoInfogetSodexo()Get sodexoSofortInfogetSofort()Get sofortStarInfogetStar()Get starList<String>getStoreIds()The unique identifier of the store for which to configure the payment method, if any.SwishInfogetSwish()Get swishTicketInfogetTicket()Get ticketTwintInfogetTwint()Get twintPaymentMethodSetupInfo.TypeEnumgetType()Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).VippsInfogetVipps()Get vippsGenericPmWithTdiInfogetVisa()Get visaWeChatPayInfogetWechatpay()Get wechatpayWeChatPayPosInfogetWechatpayPos()Get wechatpayPosPaymentMethodSetupInfogirocard(GenericPmWithTdiInfo girocard)girocardPaymentMethodSetupInfogooglePay(GooglePayInfo googlePay)googlePayinthashCode()PaymentMethodSetupInfoideal(GenericPmWithTdiInfo ideal)idealPaymentMethodSetupInfointeracCard(GenericPmWithTdiInfo interacCard)interacCardPaymentMethodSetupInfojcb(JCBInfo jcb)jcbPaymentMethodSetupInfoklarna(KlarnaInfo klarna)klarnaPaymentMethodSetupInfomaestro(GenericPmWithTdiInfo maestro)maestroPaymentMethodSetupInfomc(GenericPmWithTdiInfo mc)mcPaymentMethodSetupInfomealVoucherFR(MealVoucherFRInfo mealVoucherFR)mealVoucherFRPaymentMethodSetupInfonyce(NyceInfo nyce)nycePaymentMethodSetupInfopaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)paybybankPlaidPaymentMethodSetupInfopayme(PayMeInfo payme)paymePaymentMethodSetupInfopaypal(PayPalInfo paypal)paypalPaymentMethodSetupInfopayto(PayToInfo payto)paytoPaymentMethodSetupInfopulse(PulseInfo pulse)pulsePaymentMethodSetupInforeference(String reference)Your reference for the payment method.voidsetAccel(AccelInfo accel)accelvoidsetAffirm(AffirmInfo affirm)affirmvoidsetAfterpayTouch(AfterpayTouchInfo afterpayTouch)afterpayTouchvoidsetAmex(AmexInfo amex)amexvoidsetApplePay(ApplePayInfo applePay)applePayvoidsetBcmc(BcmcInfo bcmc)bcmcvoidsetBusinessLineId(String businessLineId)The unique identifier of the business line.voidsetCartesBancaires(CartesBancairesInfo cartesBancaires)cartesBancairesvoidsetClearpay(ClearpayInfo clearpay)clearpayvoidsetCountries(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)The list of custom routing flags to route payment to the intended acquirer.voidsetDiners(DinersInfo diners)dinersvoidsetDiscover(GenericPmWithTdiInfo discover)discovervoidsetEftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)eftDirectdebitCAvoidsetEftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliavoidsetGirocard(GenericPmWithTdiInfo girocard)girocardvoidsetGooglePay(GooglePayInfo googlePay)googlePayvoidsetIdeal(GenericPmWithTdiInfo ideal)idealvoidsetInteracCard(GenericPmWithTdiInfo interacCard)interacCardvoidsetJcb(JCBInfo jcb)jcbvoidsetKlarna(KlarnaInfo klarna)klarnavoidsetMaestro(GenericPmWithTdiInfo maestro)maestrovoidsetMc(GenericPmWithTdiInfo mc)mcvoidsetMealVoucherFR(MealVoucherFRInfo mealVoucherFR)mealVoucherFRvoidsetNyce(NyceInfo nyce)nycevoidsetPaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)paybybankPlaidvoidsetPayme(PayMeInfo payme)paymevoidsetPaypal(PayPalInfo paypal)paypalvoidsetPayto(PayToInfo payto)paytovoidsetPulse(PulseInfo pulse)pulsevoidsetReference(String reference)Your reference for the payment method.voidsetShopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)The sales channel.voidsetSodexo(SodexoInfo sodexo)sodexovoidsetSofort(SofortInfo sofort)sofortvoidsetStar(StarInfo star)starvoidsetStoreIds(List<String> storeIds)The unique identifier of the store for which to configure the payment method, if any.voidsetSwish(SwishInfo swish)swishvoidsetTicket(TicketInfo ticket)ticketvoidsetTwint(TwintInfo twint)twintvoidsetType(PaymentMethodSetupInfo.TypeEnum type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).voidsetVipps(VippsInfo vipps)vippsvoidsetVisa(GenericPmWithTdiInfo visa)visavoidsetWechatpay(WeChatPayInfo wechatpay)wechatpayvoidsetWechatpayPos(WeChatPayPosInfo wechatpayPos)wechatpayPosPaymentMethodSetupInfoshopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)The sales channel.PaymentMethodSetupInfosodexo(SodexoInfo sodexo)sodexoPaymentMethodSetupInfosofort(SofortInfo sofort)sofortPaymentMethodSetupInfostar(StarInfo star)starPaymentMethodSetupInfostoreIds(List<String> storeIds)The unique identifier of the store for which to configure the payment method, if any.PaymentMethodSetupInfoswish(SwishInfo swish)swishPaymentMethodSetupInfoticket(TicketInfo ticket)ticketStringtoJson()Convert an instance of PaymentMethodSetupInfo to an JSON stringStringtoString()PaymentMethodSetupInfotwint(TwintInfo twint)twintPaymentMethodSetupInfotype(PaymentMethodSetupInfo.TypeEnum type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).PaymentMethodSetupInfovipps(VippsInfo vipps)vippsPaymentMethodSetupInfovisa(GenericPmWithTdiInfo visa)visaPaymentMethodSetupInfowechatpay(WeChatPayInfo wechatpay)wechatpayPaymentMethodSetupInfowechatpayPos(WeChatPayPosInfo wechatpayPos)wechatpayPos
-
-
-
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_AFTERPAY_TOUCH
public static final String JSON_PROPERTY_AFTERPAY_TOUCH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AMEX
public static final String JSON_PROPERTY_AMEX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_APPLE_PAY
public static final String JSON_PROPERTY_APPLE_PAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BCMC
public static final String JSON_PROPERTY_BCMC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUSINESS_LINE_ID
public static final String JSON_PROPERTY_BUSINESS_LINE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARTES_BANCAIRES
public static final String JSON_PROPERTY_CARTES_BANCAIRES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLEARPAY
public static final String JSON_PROPERTY_CLEARPAY
- 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_GIROCARD
public static final String JSON_PROPERTY_GIROCARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GOOGLE_PAY
public static final String JSON_PROPERTY_GOOGLE_PAY
- 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_KLARNA
public static final String JSON_PROPERTY_KLARNA
- 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_MEAL_VOUCHER_F_R
public static final String JSON_PROPERTY_MEAL_VOUCHER_F_R
- 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_PAYME
public static final String JSON_PROPERTY_PAYME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYPAL
public static final String JSON_PROPERTY_PAYPAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYTO
public static final String JSON_PROPERTY_PAYTO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PULSE
public static final String JSON_PROPERTY_PULSE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_INTERACTION
public static final String JSON_PROPERTY_SHOPPER_INTERACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SODEXO
public static final String JSON_PROPERTY_SODEXO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SOFORT
public static final String JSON_PROPERTY_SOFORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STAR
public static final String JSON_PROPERTY_STAR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE_IDS
public static final String JSON_PROPERTY_STORE_IDS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SWISH
public static final String JSON_PROPERTY_SWISH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TICKET
public static final String JSON_PROPERTY_TICKET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TWINT
public static final String JSON_PROPERTY_TWINT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VIPPS
public static final String JSON_PROPERTY_VIPPS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VISA
public static final String JSON_PROPERTY_VISA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WECHATPAY
public static final String JSON_PROPERTY_WECHATPAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WECHATPAY_POS
public static final String JSON_PROPERTY_WECHATPAY_POS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accel
public PaymentMethodSetupInfo accel(AccelInfo accel)
accel- Parameters:
accel-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getAccel
public AccelInfo getAccel()
Get accel- Returns:
- accel
-
setAccel
public void setAccel(AccelInfo accel)
accel- Parameters:
accel-
-
affirm
public PaymentMethodSetupInfo affirm(AffirmInfo affirm)
affirm- Parameters:
affirm-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getAffirm
public AffirmInfo getAffirm()
Get affirm- Returns:
- affirm
-
setAffirm
public void setAffirm(AffirmInfo affirm)
affirm- Parameters:
affirm-
-
afterpayTouch
public PaymentMethodSetupInfo afterpayTouch(AfterpayTouchInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getAfterpayTouch
public AfterpayTouchInfo getAfterpayTouch()
Get afterpayTouch- Returns:
- afterpayTouch
-
setAfterpayTouch
public void setAfterpayTouch(AfterpayTouchInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-
-
amex
public PaymentMethodSetupInfo amex(AmexInfo amex)
amex- Parameters:
amex-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getAmex
public AmexInfo getAmex()
Get amex- Returns:
- amex
-
setAmex
public void setAmex(AmexInfo amex)
amex- Parameters:
amex-
-
applePay
public PaymentMethodSetupInfo applePay(ApplePayInfo applePay)
applePay- Parameters:
applePay-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getApplePay
public ApplePayInfo getApplePay()
Get applePay- Returns:
- applePay
-
setApplePay
public void setApplePay(ApplePayInfo applePay)
applePay- Parameters:
applePay-
-
bcmc
public PaymentMethodSetupInfo bcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getBcmc
public BcmcInfo getBcmc()
Get bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-
-
businessLineId
public PaymentMethodSetupInfo businessLineId(String businessLineId)
The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- Parameters:
businessLineId- The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getBusinessLineId
public String getBusinessLineId()
The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- Returns:
- businessLineId The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).
-
setBusinessLineId
public void setBusinessLineId(String businessLineId)
The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- Parameters:
businessLineId- The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).
-
cartesBancaires
public PaymentMethodSetupInfo cartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-
-
clearpay
public PaymentMethodSetupInfo clearpay(ClearpayInfo clearpay)
clearpay- Parameters:
clearpay-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getClearpay
public ClearpayInfo getClearpay()
Get clearpay- Returns:
- clearpay
-
setClearpay
public void setClearpay(ClearpayInfo clearpay)
clearpay- Parameters:
clearpay-
-
countries
public PaymentMethodSetupInfo 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
PaymentMethodSetupInfoinstance, allowing for method chaining
-
addCountriesItem
public PaymentMethodSetupInfo 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 PaymentMethodSetupInfo cup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getCup
public GenericPmWithTdiInfo getCup()
Get cup- Returns:
- cup
-
setCup
public void setCup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-
-
currencies
public PaymentMethodSetupInfo 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
PaymentMethodSetupInfoinstance, allowing for method chaining
-
addCurrenciesItem
public PaymentMethodSetupInfo 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 PaymentMethodSetupInfo customRoutingFlags(List<String> customRoutingFlags)
The list of custom routing flags to route payment to the intended acquirer.- Parameters:
customRoutingFlags- The list of custom routing flags to route payment to the intended acquirer.- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
addCustomRoutingFlagsItem
public PaymentMethodSetupInfo addCustomRoutingFlagsItem(String customRoutingFlagsItem)
-
getCustomRoutingFlags
public List<String> getCustomRoutingFlags()
The list of custom routing flags to route payment to the intended acquirer.- Returns:
- customRoutingFlags The list of custom routing flags to route payment to the intended acquirer.
-
setCustomRoutingFlags
public void setCustomRoutingFlags(List<String> customRoutingFlags)
The list of custom routing flags to route payment to the intended acquirer.- Parameters:
customRoutingFlags- The list of custom routing flags to route payment to the intended acquirer.
-
diners
public PaymentMethodSetupInfo diners(DinersInfo diners)
diners- Parameters:
diners-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getDiners
public DinersInfo getDiners()
Get diners- Returns:
- diners
-
setDiners
public void setDiners(DinersInfo diners)
diners- Parameters:
diners-
-
discover
public PaymentMethodSetupInfo discover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getDiscover
public GenericPmWithTdiInfo getDiscover()
Get discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-
-
eftDirectdebitCA
public PaymentMethodSetupInfo eftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getEftDirectdebitCA
public GenericPmWithTdiInfo getEftDirectdebitCA()
Get eftDirectdebitCA- Returns:
- eftDirectdebitCA
-
setEftDirectdebitCA
public void setEftDirectdebitCA(GenericPmWithTdiInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-
-
eftposAustralia
public PaymentMethodSetupInfo eftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getEftposAustralia
public GenericPmWithTdiInfo getEftposAustralia()
Get eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
girocard
public PaymentMethodSetupInfo girocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getGirocard
public GenericPmWithTdiInfo getGirocard()
Get girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-
-
googlePay
public PaymentMethodSetupInfo googlePay(GooglePayInfo googlePay)
googlePay- Parameters:
googlePay-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getGooglePay
public GooglePayInfo getGooglePay()
Get googlePay- Returns:
- googlePay
-
setGooglePay
public void setGooglePay(GooglePayInfo googlePay)
googlePay- Parameters:
googlePay-
-
ideal
public PaymentMethodSetupInfo ideal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getIdeal
public GenericPmWithTdiInfo getIdeal()
Get ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public PaymentMethodSetupInfo interacCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getInteracCard
public GenericPmWithTdiInfo getInteracCard()
Get interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public PaymentMethodSetupInfo jcb(JCBInfo jcb)
jcb- Parameters:
jcb-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getJcb
public JCBInfo getJcb()
Get jcb- Returns:
- jcb
-
setJcb
public void setJcb(JCBInfo jcb)
jcb- Parameters:
jcb-
-
klarna
public PaymentMethodSetupInfo klarna(KlarnaInfo klarna)
klarna- Parameters:
klarna-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getKlarna
public KlarnaInfo getKlarna()
Get klarna- Returns:
- klarna
-
setKlarna
public void setKlarna(KlarnaInfo klarna)
klarna- Parameters:
klarna-
-
maestro
public PaymentMethodSetupInfo maestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getMaestro
public GenericPmWithTdiInfo getMaestro()
Get maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-
-
mc
public PaymentMethodSetupInfo mc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getMc
public GenericPmWithTdiInfo getMc()
Get mc- Returns:
- mc
-
setMc
public void setMc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-
-
mealVoucherFR
public PaymentMethodSetupInfo mealVoucherFR(MealVoucherFRInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getMealVoucherFR
public MealVoucherFRInfo getMealVoucherFR()
Get mealVoucherFR- Returns:
- mealVoucherFR
-
setMealVoucherFR
public void setMealVoucherFR(MealVoucherFRInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-
-
nyce
public PaymentMethodSetupInfo nyce(NyceInfo nyce)
nyce- Parameters:
nyce-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getNyce
public NyceInfo getNyce()
Get nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceInfo nyce)
nyce- Parameters:
nyce-
-
paybybankPlaid
public PaymentMethodSetupInfo paybybankPlaid(PayByBankPlaidInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getPaybybankPlaid
public PayByBankPlaidInfo getPaybybankPlaid()
Get paybybankPlaid- Returns:
- paybybankPlaid
-
setPaybybankPlaid
public void setPaybybankPlaid(PayByBankPlaidInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-
-
payme
public PaymentMethodSetupInfo payme(PayMeInfo payme)
payme- Parameters:
payme-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getPayme
public PayMeInfo getPayme()
Get payme- Returns:
- payme
-
setPayme
public void setPayme(PayMeInfo payme)
payme- Parameters:
payme-
-
paypal
public PaymentMethodSetupInfo paypal(PayPalInfo paypal)
paypal- Parameters:
paypal-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getPaypal
public PayPalInfo getPaypal()
Get paypal- Returns:
- paypal
-
setPaypal
public void setPaypal(PayPalInfo paypal)
paypal- Parameters:
paypal-
-
payto
public PaymentMethodSetupInfo payto(PayToInfo payto)
payto- Parameters:
payto-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getPayto
public PayToInfo getPayto()
Get payto- Returns:
- payto
-
setPayto
public void setPayto(PayToInfo payto)
payto- Parameters:
payto-
-
pulse
public PaymentMethodSetupInfo pulse(PulseInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getPulse
public PulseInfo getPulse()
Get pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseInfo pulse)
pulse- Parameters:
pulse-
-
reference
public PaymentMethodSetupInfo reference(String reference)
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Parameters:
reference- Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getReference
public String getReference()
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Returns:
- reference Your reference for the payment method. Supported characters a-z, A-Z, 0-9.
-
setReference
public void setReference(String reference)
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Parameters:
reference- Your reference for the payment method. Supported characters a-z, A-Z, 0-9.
-
shopperInteraction
public PaymentMethodSetupInfo shopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)
The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.- Parameters:
shopperInteraction- The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getShopperInteraction
public PaymentMethodSetupInfo.ShopperInteractionEnum getShopperInteraction()
The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.- Returns:
- shopperInteraction The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.
-
setShopperInteraction
public void setShopperInteraction(PaymentMethodSetupInfo.ShopperInteractionEnum shopperInteraction)
The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.- Parameters:
shopperInteraction- The sales channel. Required if the merchant account does not have a sales channel. When you provide this field, it overrides the default sales channel set on the merchant account. Possible values: **eCommerce**, **pos**, **contAuth**, and **moto**.
-
sodexo
public PaymentMethodSetupInfo sodexo(SodexoInfo sodexo)
sodexo- Parameters:
sodexo-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getSodexo
public SodexoInfo getSodexo()
Get sodexo- Returns:
- sodexo
-
setSodexo
public void setSodexo(SodexoInfo sodexo)
sodexo- Parameters:
sodexo-
-
sofort
public PaymentMethodSetupInfo sofort(SofortInfo sofort)
sofort- Parameters:
sofort-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getSofort
public SofortInfo getSofort()
Get sofort- Returns:
- sofort
-
setSofort
public void setSofort(SofortInfo sofort)
sofort- Parameters:
sofort-
-
star
public PaymentMethodSetupInfo star(StarInfo star)
star- Parameters:
star-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getStar
public StarInfo getStar()
Get star- Returns:
- star
-
setStar
public void setStar(StarInfo star)
star- Parameters:
star-
-
storeIds
public PaymentMethodSetupInfo storeIds(List<String> storeIds)
The unique identifier of the store for which to configure the payment method, if any.- Parameters:
storeIds- The unique identifier of the store for which to configure the payment method, if any.- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
addStoreIdsItem
public PaymentMethodSetupInfo addStoreIdsItem(String storeIdsItem)
-
getStoreIds
public List<String> getStoreIds()
The unique identifier of the store for which to configure the payment method, if any.- Returns:
- storeIds The unique identifier of the store for which to configure the payment method, if any.
-
setStoreIds
public void setStoreIds(List<String> storeIds)
The unique identifier of the store for which to configure the payment method, if any.- Parameters:
storeIds- The unique identifier of the store for which to configure the payment method, if any.
-
swish
public PaymentMethodSetupInfo swish(SwishInfo swish)
swish- Parameters:
swish-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getSwish
public SwishInfo getSwish()
Get swish- Returns:
- swish
-
setSwish
public void setSwish(SwishInfo swish)
swish- Parameters:
swish-
-
ticket
public PaymentMethodSetupInfo ticket(TicketInfo ticket)
ticket- Parameters:
ticket-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getTicket
public TicketInfo getTicket()
Get ticket- Returns:
- ticket
-
setTicket
public void setTicket(TicketInfo ticket)
ticket- Parameters:
ticket-
-
twint
public PaymentMethodSetupInfo twint(TwintInfo twint)
twint- Parameters:
twint-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getTwint
public TwintInfo getTwint()
Get twint- Returns:
- twint
-
setTwint
public void setTwint(TwintInfo twint)
twint- Parameters:
twint-
-
type
public PaymentMethodSetupInfo type(PaymentMethodSetupInfo.TypeEnum type)
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Parameters:
type- Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getType
public PaymentMethodSetupInfo.TypeEnum getType()
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Returns:
- type Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
-
setType
public void setType(PaymentMethodSetupInfo.TypeEnum type)
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Parameters:
type- Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
-
vipps
public PaymentMethodSetupInfo vipps(VippsInfo vipps)
vipps- Parameters:
vipps-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getVipps
public VippsInfo getVipps()
Get vipps- Returns:
- vipps
-
setVipps
public void setVipps(VippsInfo vipps)
vipps- Parameters:
vipps-
-
visa
public PaymentMethodSetupInfo visa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getVisa
public GenericPmWithTdiInfo getVisa()
Get visa- Returns:
- visa
-
setVisa
public void setVisa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-
-
wechatpay
public PaymentMethodSetupInfo wechatpay(WeChatPayInfo wechatpay)
wechatpay- Parameters:
wechatpay-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getWechatpay
public WeChatPayInfo getWechatpay()
Get wechatpay- Returns:
- wechatpay
-
setWechatpay
public void setWechatpay(WeChatPayInfo wechatpay)
wechatpay- Parameters:
wechatpay-
-
wechatpayPos
public PaymentMethodSetupInfo wechatpayPos(WeChatPayPosInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-- Returns:
- the current
PaymentMethodSetupInfoinstance, allowing for method chaining
-
getWechatpayPos
public WeChatPayPosInfo getWechatpayPos()
Get wechatpayPos- Returns:
- wechatpayPos
-
setWechatpayPos
public void setWechatpayPos(WeChatPayPosInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-
-
equals
public boolean equals(Object o)
Return true if this PaymentMethodSetupInfo object is equal to o.
-
fromJson
public static PaymentMethodSetupInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentMethodSetupInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethodSetupInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentMethodSetupInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentMethodSetupInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-