Package com.adyen.model.management
Class PaymentMethod
- java.lang.Object
-
- com.adyen.model.management.PaymentMethod
-
public class PaymentMethod extends Object
PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethod.VerificationStatusEnumPayment method status.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PaymentMethod()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentMethodaccel(AccelInfo accel)accelPaymentMethodaddCountriesItem(String countriesItem)PaymentMethodaddCurrenciesItem(String currenciesItem)PaymentMethodaddCustomRoutingFlagsItem(String customRoutingFlagsItem)PaymentMethodaddStoreIdsItem(String storeIdsItem)PaymentMethodafterpayTouch(AfterpayTouchInfo afterpayTouch)afterpayTouchPaymentMethodallowed(Boolean allowed)Indicates whether receiving payments is allowed.PaymentMethodamex(AmexInfo amex)amexPaymentMethodapplePay(ApplePayInfo applePay)applePayPaymentMethodbcmc(BcmcInfo bcmc)bcmcPaymentMethodbusinessLineId(String businessLineId)The unique identifier of the business line.PaymentMethodcartesBancaires(CartesBancairesInfo cartesBancaires)cartesBancairesPaymentMethodclearpay(ClearpayInfo clearpay)clearpayPaymentMethodcountries(List<String> countries)The list of countries where a payment method is available.PaymentMethodcup(GenericPmWithTdiInfo cup)cupPaymentMethodcurrencies(List<String> currencies)The list of currencies that a payment method supports.PaymentMethodcustomRoutingFlags(List<String> customRoutingFlags)The list of custom routing flags to route payment to the intended acquirer.PaymentMethoddiners(DinersInfo diners)dinersPaymentMethoddiscover(GenericPmWithTdiInfo discover)discoverPaymentMethodeftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliaPaymentMethodenabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).booleanequals(Object o)Return true if this PaymentMethod object is equal to o.static PaymentMethodfromJson(String jsonString)Create an instance of PaymentMethod given an JSON stringAccelInfogetAccel()accelAfterpayTouchInfogetAfterpayTouch()afterpayTouchBooleangetAllowed()Indicates whether receiving payments is allowed.AmexInfogetAmex()amexApplePayInfogetApplePay()applePayBcmcInfogetBcmc()bcmcStringgetBusinessLineId()The unique identifier of the business line.CartesBancairesInfogetCartesBancaires()cartesBancairesClearpayInfogetClearpay()clearpayList<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()The list of custom routing flags to route payment to the intended acquirer.DinersInfogetDiners()dinersGenericPmWithTdiInfogetDiscover()discoverGenericPmWithTdiInfogetEftposAustralia()eftposAustraliaBooleangetEnabled()Indicates whether the payment method is enabled (**true**) or disabled (**false**).GenericPmWithTdiInfogetGirocard()girocardGiroPayInfogetGiroPay()giroPayGooglePayInfogetGooglePay()googlePayStringgetId()The identifier of the resource.GenericPmWithTdiInfogetIdeal()idealGenericPmWithTdiInfogetInteracCard()interacCardJCBInfogetJcb()jcbKlarnaInfogetKlarna()klarnaGenericPmWithTdiInfogetMaestro()maestroGenericPmWithTdiInfogetMc()mcMealVoucherFRInfogetMealVoucherFR()mealVoucherFRNyceInfogetNyce()nycePayMeInfogetPayme()paymePayPalInfogetPaypal()paypalPulseInfogetPulse()pulseStringgetReference()Your reference for the payment method.StringgetShopperInteraction()The sales channel.SodexoInfogetSodexo()sodexoSofortInfogetSofort()sofortStarInfogetStar()starList<String>getStoreIds()The unique identifier of the store for which to configure the payment method, if any.SwishInfogetSwish()swishTicketInfogetTicket()ticketTwintInfogetTwint()twintStringgetType()Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).PaymentMethod.VerificationStatusEnumgetVerificationStatus()Payment method status.VippsInfogetVipps()vippsGenericPmWithTdiInfogetVisa()visaWeChatPayInfogetWechatpay()wechatpayWeChatPayPosInfogetWechatpayPos()wechatpayPosPaymentMethodgirocard(GenericPmWithTdiInfo girocard)girocardPaymentMethodgiroPay(GiroPayInfo giroPay)giroPayPaymentMethodgooglePay(GooglePayInfo googlePay)googlePayinthashCode()PaymentMethodid(String id)The identifier of the resource.PaymentMethodideal(GenericPmWithTdiInfo ideal)idealPaymentMethodinteracCard(GenericPmWithTdiInfo interacCard)interacCardPaymentMethodjcb(JCBInfo jcb)jcbPaymentMethodklarna(KlarnaInfo klarna)klarnaPaymentMethodmaestro(GenericPmWithTdiInfo maestro)maestroPaymentMethodmc(GenericPmWithTdiInfo mc)mcPaymentMethodmealVoucherFR(MealVoucherFRInfo mealVoucherFR)mealVoucherFRPaymentMethodnyce(NyceInfo nyce)nycePaymentMethodpayme(PayMeInfo payme)paymePaymentMethodpaypal(PayPalInfo paypal)paypalPaymentMethodpulse(PulseInfo pulse)pulsePaymentMethodreference(String reference)Your reference for the payment method.voidsetAccel(AccelInfo accel)accelvoidsetAfterpayTouch(AfterpayTouchInfo afterpayTouch)afterpayTouchvoidsetAllowed(Boolean allowed)Indicates whether receiving payments is allowed.voidsetAmex(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)discovervoidsetEftposAustralia(GenericPmWithTdiInfo eftposAustralia)eftposAustraliavoidsetEnabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).voidsetGirocard(GenericPmWithTdiInfo girocard)girocardvoidsetGiroPay(GiroPayInfo giroPay)giroPayvoidsetGooglePay(GooglePayInfo googlePay)googlePayvoidsetId(String id)The identifier of the resource.voidsetIdeal(GenericPmWithTdiInfo ideal)idealvoidsetInteracCard(GenericPmWithTdiInfo interacCard)interacCardvoidsetJcb(JCBInfo jcb)jcbvoidsetKlarna(KlarnaInfo klarna)klarnavoidsetMaestro(GenericPmWithTdiInfo maestro)maestrovoidsetMc(GenericPmWithTdiInfo mc)mcvoidsetMealVoucherFR(MealVoucherFRInfo mealVoucherFR)mealVoucherFRvoidsetNyce(NyceInfo nyce)nycevoidsetPayme(PayMeInfo payme)paymevoidsetPaypal(PayPalInfo paypal)paypalvoidsetPulse(PulseInfo pulse)pulsevoidsetReference(String reference)Your reference for the payment method.voidsetShopperInteraction(String 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(String type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).voidsetVerificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)Payment method status.voidsetVipps(VippsInfo vipps)vippsvoidsetVisa(GenericPmWithTdiInfo visa)visavoidsetWechatpay(WeChatPayInfo wechatpay)wechatpayvoidsetWechatpayPos(WeChatPayPosInfo wechatpayPos)wechatpayPosPaymentMethodshopperInteraction(String shopperInteraction)The sales channel.PaymentMethodsodexo(SodexoInfo sodexo)sodexoPaymentMethodsofort(SofortInfo sofort)sofortPaymentMethodstar(StarInfo star)starPaymentMethodstoreIds(List<String> storeIds)The unique identifier of the store for which to configure the payment method, if any.PaymentMethodswish(SwishInfo swish)swishPaymentMethodticket(TicketInfo ticket)ticketStringtoJson()Convert an instance of PaymentMethod to an JSON stringStringtoString()PaymentMethodtwint(TwintInfo twint)twintPaymentMethodtype(String type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).PaymentMethodverificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)Payment method status.PaymentMethodvipps(VippsInfo vipps)vippsPaymentMethodvisa(GenericPmWithTdiInfo visa)visaPaymentMethodwechatpay(WeChatPayInfo wechatpay)wechatpayPaymentMethodwechatpayPos(WeChatPayPosInfo wechatpayPos)wechatpayPos
-
-
-
Field Detail
-
JSON_PROPERTY_ACCEL
public static final String JSON_PROPERTY_ACCEL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AFTERPAY_TOUCH
public static final String JSON_PROPERTY_AFTERPAY_TOUCH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED
public static final String JSON_PROPERTY_ALLOWED
- 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_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_GIRO_PAY
public static final String JSON_PROPERTY_GIRO_PAY
- 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_ID
public static final String JSON_PROPERTY_ID
- 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_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_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_VERIFICATION_STATUS
public static final String JSON_PROPERTY_VERIFICATION_STATUS
- 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 PaymentMethod accel(AccelInfo accel)
accel- Parameters:
accel-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAccel
public AccelInfo getAccel()
accel- Returns:
- accel
-
setAccel
public void setAccel(AccelInfo accel)
accel- Parameters:
accel-
-
afterpayTouch
public PaymentMethod afterpayTouch(AfterpayTouchInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAfterpayTouch
public AfterpayTouchInfo getAfterpayTouch()
afterpayTouch- Returns:
- afterpayTouch
-
setAfterpayTouch
public void setAfterpayTouch(AfterpayTouchInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-
-
allowed
public PaymentMethod allowed(Boolean allowed)
Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.- Parameters:
allowed-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAllowed
public Boolean getAllowed()
Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.- Returns:
- allowed
-
setAllowed
public void setAllowed(Boolean allowed)
Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.- Parameters:
allowed-
-
amex
public PaymentMethod amex(AmexInfo amex)
amex- Parameters:
amex-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAmex
public AmexInfo getAmex()
amex- Returns:
- amex
-
setAmex
public void setAmex(AmexInfo amex)
amex- Parameters:
amex-
-
applePay
public PaymentMethod applePay(ApplePayInfo applePay)
applePay- Parameters:
applePay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getApplePay
public ApplePayInfo getApplePay()
applePay- Returns:
- applePay
-
setApplePay
public void setApplePay(ApplePayInfo applePay)
applePay- Parameters:
applePay-
-
bcmc
public PaymentMethod bcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getBcmc
public BcmcInfo getBcmc()
bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcInfo bcmc)
bcmc- Parameters:
bcmc-
-
businessLineId
public PaymentMethod businessLineId(String businessLineId)
The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- Parameters:
businessLineId-- Returns:
- the current
PaymentMethodinstance, 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
-
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-
-
cartesBancaires
public PaymentMethod cartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getCartesBancaires
public CartesBancairesInfo getCartesBancaires()
cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-
-
clearpay
public PaymentMethod clearpay(ClearpayInfo clearpay)
clearpay- Parameters:
clearpay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getClearpay
public ClearpayInfo getClearpay()
clearpay- Returns:
- clearpay
-
setClearpay
public void setClearpay(ClearpayInfo clearpay)
clearpay- Parameters:
clearpay-
-
countries
public PaymentMethod 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
PaymentMethodinstance, allowing for method chaining
-
addCountriesItem
public PaymentMethod 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 PaymentMethod cup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getCup
public GenericPmWithTdiInfo getCup()
cup- Returns:
- cup
-
setCup
public void setCup(GenericPmWithTdiInfo cup)
cup- Parameters:
cup-
-
currencies
public PaymentMethod 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
PaymentMethodinstance, allowing for method chaining
-
addCurrenciesItem
public PaymentMethod 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 PaymentMethod customRoutingFlags(List<String> customRoutingFlags)
The list of custom routing flags to route payment to the intended acquirer.- Parameters:
customRoutingFlags-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
addCustomRoutingFlagsItem
public PaymentMethod addCustomRoutingFlagsItem(String customRoutingFlagsItem)
-
getCustomRoutingFlags
public List<String> getCustomRoutingFlags()
The list of custom routing flags to route payment to the intended acquirer.- Returns:
- customRoutingFlags
-
setCustomRoutingFlags
public void setCustomRoutingFlags(List<String> customRoutingFlags)
The list of custom routing flags to route payment to the intended acquirer.- Parameters:
customRoutingFlags-
-
diners
public PaymentMethod diners(DinersInfo diners)
diners- Parameters:
diners-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getDiners
public DinersInfo getDiners()
diners- Returns:
- diners
-
setDiners
public void setDiners(DinersInfo diners)
diners- Parameters:
diners-
-
discover
public PaymentMethod discover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getDiscover
public GenericPmWithTdiInfo getDiscover()
discover- Returns:
- discover
-
setDiscover
public void setDiscover(GenericPmWithTdiInfo discover)
discover- Parameters:
discover-
-
eftposAustralia
public PaymentMethod eftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getEftposAustralia
public GenericPmWithTdiInfo getEftposAustralia()
eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(GenericPmWithTdiInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
enabled
public PaymentMethod enabled(Boolean enabled)
Indicates whether the payment method is enabled (**true**) or disabled (**false**).- Parameters:
enabled-- Returns:
- the current
PaymentMethodinstance, 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-
-
giroPay
public PaymentMethod giroPay(GiroPayInfo giroPay)
giroPay- Parameters:
giroPay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGiroPay
public GiroPayInfo getGiroPay()
giroPay- Returns:
- giroPay
-
setGiroPay
public void setGiroPay(GiroPayInfo giroPay)
giroPay- Parameters:
giroPay-
-
girocard
public PaymentMethod girocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGirocard
public GenericPmWithTdiInfo getGirocard()
girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GenericPmWithTdiInfo girocard)
girocard- Parameters:
girocard-
-
googlePay
public PaymentMethod googlePay(GooglePayInfo googlePay)
googlePay- Parameters:
googlePay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGooglePay
public GooglePayInfo getGooglePay()
googlePay- Returns:
- googlePay
-
setGooglePay
public void setGooglePay(GooglePayInfo googlePay)
googlePay- Parameters:
googlePay-
-
id
public PaymentMethod id(String id)
The identifier of the resource.- Parameters:
id-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getId
public String getId()
The identifier of the resource.- Returns:
- id
-
setId
public void setId(String id)
The identifier of the resource.- Parameters:
id-
-
ideal
public PaymentMethod ideal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getIdeal
public GenericPmWithTdiInfo getIdeal()
ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(GenericPmWithTdiInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public PaymentMethod interacCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getInteracCard
public GenericPmWithTdiInfo getInteracCard()
interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(GenericPmWithTdiInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public PaymentMethod jcb(JCBInfo jcb)
jcb- Parameters:
jcb-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getJcb
public JCBInfo getJcb()
jcb- Returns:
- jcb
-
setJcb
public void setJcb(JCBInfo jcb)
jcb- Parameters:
jcb-
-
klarna
public PaymentMethod klarna(KlarnaInfo klarna)
klarna- Parameters:
klarna-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getKlarna
public KlarnaInfo getKlarna()
klarna- Returns:
- klarna
-
setKlarna
public void setKlarna(KlarnaInfo klarna)
klarna- Parameters:
klarna-
-
maestro
public PaymentMethod maestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMaestro
public GenericPmWithTdiInfo getMaestro()
maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(GenericPmWithTdiInfo maestro)
maestro- Parameters:
maestro-
-
mc
public PaymentMethod mc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMc
public GenericPmWithTdiInfo getMc()
mc- Returns:
- mc
-
setMc
public void setMc(GenericPmWithTdiInfo mc)
mc- Parameters:
mc-
-
mealVoucherFR
public PaymentMethod mealVoucherFR(MealVoucherFRInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMealVoucherFR
public MealVoucherFRInfo getMealVoucherFR()
mealVoucherFR- Returns:
- mealVoucherFR
-
setMealVoucherFR
public void setMealVoucherFR(MealVoucherFRInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-
-
nyce
public PaymentMethod nyce(NyceInfo nyce)
nyce- Parameters:
nyce-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getNyce
public NyceInfo getNyce()
nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceInfo nyce)
nyce- Parameters:
nyce-
-
payme
public PaymentMethod payme(PayMeInfo payme)
payme- Parameters:
payme-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPayme
public PayMeInfo getPayme()
payme- Returns:
- payme
-
setPayme
public void setPayme(PayMeInfo payme)
payme- Parameters:
payme-
-
paypal
public PaymentMethod paypal(PayPalInfo paypal)
paypal- Parameters:
paypal-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPaypal
public PayPalInfo getPaypal()
paypal- Returns:
- paypal
-
setPaypal
public void setPaypal(PayPalInfo paypal)
paypal- Parameters:
paypal-
-
pulse
public PaymentMethod pulse(PulseInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPulse
public PulseInfo getPulse()
pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseInfo pulse)
pulse- Parameters:
pulse-
-
reference
public PaymentMethod reference(String reference)
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Parameters:
reference-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getReference
public String getReference()
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- Parameters:
reference-
-
shopperInteraction
public PaymentMethod shopperInteraction(String shopperInteraction)
The sales channel.- Parameters:
shopperInteraction-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getShopperInteraction
public String getShopperInteraction()
The sales channel.- Returns:
- shopperInteraction
-
setShopperInteraction
public void setShopperInteraction(String shopperInteraction)
The sales channel.- Parameters:
shopperInteraction-
-
sodexo
public PaymentMethod sodexo(SodexoInfo sodexo)
sodexo- Parameters:
sodexo-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSodexo
public SodexoInfo getSodexo()
sodexo- Returns:
- sodexo
-
setSodexo
public void setSodexo(SodexoInfo sodexo)
sodexo- Parameters:
sodexo-
-
sofort
public PaymentMethod sofort(SofortInfo sofort)
sofort- Parameters:
sofort-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSofort
public SofortInfo getSofort()
sofort- Returns:
- sofort
-
setSofort
public void setSofort(SofortInfo sofort)
sofort- Parameters:
sofort-
-
star
public PaymentMethod star(StarInfo star)
star- Parameters:
star-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getStar
public StarInfo getStar()
star- Returns:
- star
-
setStar
public void setStar(StarInfo star)
star- Parameters:
star-
-
storeIds
public PaymentMethod storeIds(List<String> storeIds)
The unique identifier of the store for which to configure the payment method, if any.- Parameters:
storeIds-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
addStoreIdsItem
public PaymentMethod 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
-
setStoreIds
public void setStoreIds(List<String> storeIds)
The unique identifier of the store for which to configure the payment method, if any.- Parameters:
storeIds-
-
swish
public PaymentMethod swish(SwishInfo swish)
swish- Parameters:
swish-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSwish
public SwishInfo getSwish()
swish- Returns:
- swish
-
setSwish
public void setSwish(SwishInfo swish)
swish- Parameters:
swish-
-
ticket
public PaymentMethod ticket(TicketInfo ticket)
ticket- Parameters:
ticket-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getTicket
public TicketInfo getTicket()
ticket- Returns:
- ticket
-
setTicket
public void setTicket(TicketInfo ticket)
ticket- Parameters:
ticket-
-
twint
public PaymentMethod twint(TwintInfo twint)
twint- Parameters:
twint-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getTwint
public TwintInfo getTwint()
twint- Returns:
- twint
-
setTwint
public void setTwint(TwintInfo twint)
twint- Parameters:
twint-
-
type
public PaymentMethod type(String type)
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Parameters:
type-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getType
public String getType()
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Returns:
- type
-
setType
public void setType(String type)
Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).- Parameters:
type-
-
verificationStatus
public PaymentMethod verificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Parameters:
verificationStatus-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVerificationStatus
public PaymentMethod.VerificationStatusEnum getVerificationStatus()
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Returns:
- verificationStatus
-
setVerificationStatus
public void setVerificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Parameters:
verificationStatus-
-
vipps
public PaymentMethod vipps(VippsInfo vipps)
vipps- Parameters:
vipps-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVipps
public VippsInfo getVipps()
vipps- Returns:
- vipps
-
setVipps
public void setVipps(VippsInfo vipps)
vipps- Parameters:
vipps-
-
visa
public PaymentMethod visa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVisa
public GenericPmWithTdiInfo getVisa()
visa- Returns:
- visa
-
setVisa
public void setVisa(GenericPmWithTdiInfo visa)
visa- Parameters:
visa-
-
wechatpay
public PaymentMethod wechatpay(WeChatPayInfo wechatpay)
wechatpay- Parameters:
wechatpay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getWechatpay
public WeChatPayInfo getWechatpay()
wechatpay- Returns:
- wechatpay
-
setWechatpay
public void setWechatpay(WeChatPayInfo wechatpay)
wechatpay- Parameters:
wechatpay-
-
wechatpayPos
public PaymentMethod wechatpayPos(WeChatPayPosInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getWechatpayPos
public WeChatPayPosInfo getWechatpayPos()
wechatpayPos- Returns:
- wechatpayPos
-
setWechatpayPos
public void setWechatpayPos(WeChatPayPosInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-
-
equals
public boolean equals(Object o)
Return true if this PaymentMethod object is equal to o.
-
fromJson
public static PaymentMethod fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PaymentMethod given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PaymentMethod
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PaymentMethod
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PaymentMethod to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-