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(AccelResponseInfo accel)accelPaymentMethodaddCountriesItem(String countriesItem)PaymentMethodaddCurrenciesItem(String currenciesItem)PaymentMethodaddCustomRoutingFlagsItem(String customRoutingFlagsItem)PaymentMethodaddStoreIdsItem(String storeIdsItem)PaymentMethodaffirm(AffirmResponseInfo affirm)affirmPaymentMethodafterpayTouch(AfterpayTouchResponseInfo afterpayTouch)afterpayTouchPaymentMethodalipayPlus(AlipayPlusResponseInfo alipayPlus)alipayPlusPaymentMethodallowed(Boolean allowed)Indicates whether receiving payments is allowed.PaymentMethodamex(AmexResponseInfo amex)amexPaymentMethodapplePay(ApplePayResponseInfo applePay)applePayPaymentMethodbcmc(BcmcResponseInfo bcmc)bcmcPaymentMethodbusinessLineId(String businessLineId)The unique identifier of the business line.PaymentMethodcarnet(CarnetResponseInfo carnet)carnetPaymentMethodcartesBancaires(CartesBancairesResponseInfo cartesBancaires)cartesBancairesPaymentMethodclearpay(ClearpayResponseInfo clearpay)clearpayPaymentMethodcountries(List<String> countries)The list of countries where a payment method is available.PaymentMethodcup(CupResponseInfo 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(DinersResponseInfo diners)dinersPaymentMethoddiscover(DiscoverResponseInfo discover)discoverPaymentMethodeftDirectdebitCA(EFTDirectDebitCAResponseInfo eftDirectdebitCA)eftDirectdebitCAPaymentMethodeftposAustralia(EftPosAustraliaResponseInfo 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 stringAccelResponseInfogetAccel()Get accelAffirmResponseInfogetAffirm()Get affirmAfterpayTouchResponseInfogetAfterpayTouch()Get afterpayTouchAlipayPlusResponseInfogetAlipayPlus()Get alipayPlusBooleangetAllowed()Indicates whether receiving payments is allowed.AmexResponseInfogetAmex()Get amexApplePayResponseInfogetApplePay()Get applePayBcmcResponseInfogetBcmc()Get bcmcStringgetBusinessLineId()The unique identifier of the business line.CarnetResponseInfogetCarnet()Get carnetCartesBancairesResponseInfogetCartesBancaires()Get cartesBancairesClearpayResponseInfogetClearpay()Get clearpayList<String>getCountries()The list of countries where a payment method is available.CupResponseInfogetCup()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.DinersResponseInfogetDiners()Get dinersDiscoverResponseInfogetDiscover()Get discoverEFTDirectDebitCAResponseInfogetEftDirectdebitCA()Get eftDirectdebitCAEftPosAustraliaResponseInfogetEftposAustralia()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.GirocardResponseInfogetGirocard()Get girocardGivexResponseInfogetGivex()Get givexGooglePayResponseInfogetGooglePay()Get googlePayStringgetId()The identifier of the resource.IdealResponseInfogetIdeal()Get idealInteracCardResponseInfogetInteracCard()Get interacCardJCBResponseInfogetJcb()Get jcbKlarnaResponseInfogetKlarna()Get klarnaMaestroResponseInfogetMaestro()Get maestroMaestroUSAResponseInfogetMaestroUsa()Get maestroUsaMCResponseInfogetMc()Get mcMealVoucherFRResponseInfogetMealVoucherFR()Get mealVoucherFRNyceResponseInfogetNyce()Get nycePayByBankPlaidResponseInfogetPaybybankPlaid()Get paybybankPlaidPayMeResponseInfogetPayme()Get paymePayPalResponseInfogetPaypal()Get paypalPayToResponseInfogetPayto()Get paytoPulseResponseInfogetPulse()Get pulseStringgetReference()Your reference for the payment method.SepaDirectDebitResponseInfogetSepadirectdebit()Get sepadirectdebitStringgetShopperInteraction()The sales channel.SodexoResponseInfogetSodexo()Get sodexoSofortResponseInfogetSofort()Get sofortStarResponseInfogetStar()Get starList<String>getStoreIds()The unique identifier of the store for which to configure the payment method, if any.SvsResponseInfogetSvs()Get svsSwishResponseInfogetSwish()Get swishTicketResponseInfogetTicket()Get ticketTwintResponseInfogetTwint()Get twintStringgetType()Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).ValuelinkResponseInfogetValuelink()Get valuelinkPaymentMethod.VerificationStatusEnumgetVerificationStatus()Payment method status.VippsResponseInfogetVipps()Get vippsVisaResponseInfogetVisa()Get visaWeChatPayResponseInfogetWechatpay()Get wechatpayWeChatPayPosResponseInfogetWechatpayPos()Get wechatpayPosPaymentMethodgirocard(GirocardResponseInfo girocard)girocardPaymentMethodgivex(GivexResponseInfo givex)givexPaymentMethodgooglePay(GooglePayResponseInfo googlePay)googlePayinthashCode()PaymentMethodid(String id)The identifier of the resource.PaymentMethodideal(IdealResponseInfo ideal)idealPaymentMethodincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.PaymentMethodinteracCard(InteracCardResponseInfo interacCard)interacCardbooleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.PaymentMethodjcb(JCBResponseInfo jcb)jcbPaymentMethodklarna(KlarnaResponseInfo klarna)klarnaPaymentMethodmaestro(MaestroResponseInfo maestro)maestroPaymentMethodmaestroUsa(MaestroUSAResponseInfo maestroUsa)maestroUsaPaymentMethodmc(MCResponseInfo mc)mcPaymentMethodmealVoucherFR(MealVoucherFRResponseInfo mealVoucherFR)mealVoucherFRPaymentMethodnyce(NyceResponseInfo nyce)nycePaymentMethodpaybybankPlaid(PayByBankPlaidResponseInfo paybybankPlaid)paybybankPlaidPaymentMethodpayme(PayMeResponseInfo payme)paymePaymentMethodpaypal(PayPalResponseInfo paypal)paypalPaymentMethodpayto(PayToResponseInfo payto)paytoPaymentMethodpulse(PulseResponseInfo pulse)pulsePaymentMethodreference(String reference)Your reference for the payment method.PaymentMethodsepadirectdebit(SepaDirectDebitResponseInfo sepadirectdebit)sepadirectdebitvoidsetAccel(AccelResponseInfo accel)accelvoidsetAffirm(AffirmResponseInfo affirm)affirmvoidsetAfterpayTouch(AfterpayTouchResponseInfo afterpayTouch)afterpayTouchvoidsetAlipayPlus(AlipayPlusResponseInfo alipayPlus)alipayPlusvoidsetAllowed(Boolean allowed)Indicates whether receiving payments is allowed.voidsetAmex(AmexResponseInfo amex)amexvoidsetApplePay(ApplePayResponseInfo applePay)applePayvoidsetBcmc(BcmcResponseInfo bcmc)bcmcvoidsetBusinessLineId(String businessLineId)The unique identifier of the business line.voidsetCarnet(CarnetResponseInfo carnet)carnetvoidsetCartesBancaires(CartesBancairesResponseInfo cartesBancaires)cartesBancairesvoidsetClearpay(ClearpayResponseInfo clearpay)clearpayvoidsetCountries(List<String> countries)The list of countries where a payment method is available.voidsetCup(CupResponseInfo 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(DinersResponseInfo diners)dinersvoidsetDiscover(DiscoverResponseInfo discover)discovervoidsetEftDirectdebitCA(EFTDirectDebitCAResponseInfo eftDirectdebitCA)eftDirectdebitCAvoidsetEftposAustralia(EftPosAustraliaResponseInfo eftposAustralia)eftposAustraliavoidsetEnabled(Boolean enabled)Indicates whether the payment method is enabled (**true**) or disabled (**false**).voidsetGirocard(GirocardResponseInfo girocard)girocardvoidsetGivex(GivexResponseInfo givex)givexvoidsetGooglePay(GooglePayResponseInfo googlePay)googlePayvoidsetId(String id)The identifier of the resource.voidsetIdeal(IdealResponseInfo ideal)idealvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetInteracCard(InteracCardResponseInfo interacCard)interacCardvoidsetJcb(JCBResponseInfo jcb)jcbvoidsetKlarna(KlarnaResponseInfo klarna)klarnavoidsetMaestro(MaestroResponseInfo maestro)maestrovoidsetMaestroUsa(MaestroUSAResponseInfo maestroUsa)maestroUsavoidsetMc(MCResponseInfo mc)mcvoidsetMealVoucherFR(MealVoucherFRResponseInfo mealVoucherFR)mealVoucherFRvoidsetNyce(NyceResponseInfo nyce)nycevoidsetPaybybankPlaid(PayByBankPlaidResponseInfo paybybankPlaid)paybybankPlaidvoidsetPayme(PayMeResponseInfo payme)paymevoidsetPaypal(PayPalResponseInfo paypal)paypalvoidsetPayto(PayToResponseInfo payto)paytovoidsetPulse(PulseResponseInfo pulse)pulsevoidsetReference(String reference)Your reference for the payment method.voidsetSepadirectdebit(SepaDirectDebitResponseInfo sepadirectdebit)sepadirectdebitvoidsetShopperInteraction(String shopperInteraction)The sales channel.voidsetSodexo(SodexoResponseInfo sodexo)sodexovoidsetSofort(SofortResponseInfo sofort)sofortvoidsetStar(StarResponseInfo star)starvoidsetStoreIds(List<String> storeIds)The unique identifier of the store for which to configure the payment method, if any.voidsetSvs(SvsResponseInfo svs)svsvoidsetSwish(SwishResponseInfo swish)swishvoidsetTicket(TicketResponseInfo ticket)ticketvoidsetTwint(TwintResponseInfo twint)twintvoidsetType(String type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).voidsetValuelink(ValuelinkResponseInfo valuelink)valuelinkvoidsetVerificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)Payment method status.voidsetVipps(VippsResponseInfo vipps)vippsvoidsetVisa(VisaResponseInfo visa)visavoidsetWechatpay(WeChatPayResponseInfo wechatpay)wechatpayvoidsetWechatpayPos(WeChatPayPosResponseInfo wechatpayPos)wechatpayPosPaymentMethodshopperInteraction(String shopperInteraction)The sales channel.PaymentMethodsodexo(SodexoResponseInfo sodexo)sodexoPaymentMethodsofort(SofortResponseInfo sofort)sofortPaymentMethodstar(StarResponseInfo star)starPaymentMethodstoreIds(List<String> storeIds)The unique identifier of the store for which to configure the payment method, if any.PaymentMethodsvs(SvsResponseInfo svs)svsPaymentMethodswish(SwishResponseInfo swish)swishPaymentMethodticket(TicketResponseInfo ticket)ticketStringtoJson()Convert an instance of PaymentMethod to an JSON stringStringtoString()PaymentMethodtwint(TwintResponseInfo twint)twintPaymentMethodtype(String type)Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).PaymentMethodvaluelink(ValuelinkResponseInfo valuelink)valuelinkPaymentMethodverificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)Payment method status.PaymentMethodvipps(VippsResponseInfo vipps)vippsPaymentMethodvisa(VisaResponseInfo visa)visaPaymentMethodwechatpay(WeChatPayResponseInfo wechatpay)wechatpayPaymentMethodwechatpayPos(WeChatPayPosResponseInfo 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_ALIPAY_PLUS
public static final String JSON_PROPERTY_ALIPAY_PLUS
- 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_CARNET
public static final String JSON_PROPERTY_CARNET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CARTES_BANCAIRES
public static final String JSON_PROPERTY_CARTES_BANCAIRES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_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_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_GIVEX
public static final String JSON_PROPERTY_GIVEX
- 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_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_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_SEPADIRECTDEBIT
public static final String JSON_PROPERTY_SEPADIRECTDEBIT
- 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_SVS
public static final String JSON_PROPERTY_SVS
- 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_VALUELINK
public static final String JSON_PROPERTY_VALUELINK
- 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(AccelResponseInfo accel)
accel- Parameters:
accel-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAccel
public AccelResponseInfo getAccel()
Get accel- Returns:
- accel
-
setAccel
public void setAccel(AccelResponseInfo accel)
accel- Parameters:
accel-
-
affirm
public PaymentMethod affirm(AffirmResponseInfo affirm)
affirm- Parameters:
affirm-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAffirm
public AffirmResponseInfo getAffirm()
Get affirm- Returns:
- affirm
-
setAffirm
public void setAffirm(AffirmResponseInfo affirm)
affirm- Parameters:
affirm-
-
afterpayTouch
public PaymentMethod afterpayTouch(AfterpayTouchResponseInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAfterpayTouch
public AfterpayTouchResponseInfo getAfterpayTouch()
Get afterpayTouch- Returns:
- afterpayTouch
-
setAfterpayTouch
public void setAfterpayTouch(AfterpayTouchResponseInfo afterpayTouch)
afterpayTouch- Parameters:
afterpayTouch-
-
alipayPlus
public PaymentMethod alipayPlus(AlipayPlusResponseInfo alipayPlus)
alipayPlus- Parameters:
alipayPlus-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAlipayPlus
public AlipayPlusResponseInfo getAlipayPlus()
Get alipayPlus- Returns:
- alipayPlus
-
setAlipayPlus
public void setAlipayPlus(AlipayPlusResponseInfo alipayPlus)
alipayPlus- Parameters:
alipayPlus-
-
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- Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.- 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 Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.
-
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- Indicates whether receiving payments is allowed. This value is set to **true** by Adyen after screening your merchant account.
-
amex
public PaymentMethod amex(AmexResponseInfo amex)
amex- Parameters:
amex-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getAmex
public AmexResponseInfo getAmex()
Get amex- Returns:
- amex
-
setAmex
public void setAmex(AmexResponseInfo amex)
amex- Parameters:
amex-
-
applePay
public PaymentMethod applePay(ApplePayResponseInfo applePay)
applePay- Parameters:
applePay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getApplePay
public ApplePayResponseInfo getApplePay()
Get applePay- Returns:
- applePay
-
setApplePay
public void setApplePay(ApplePayResponseInfo applePay)
applePay- Parameters:
applePay-
-
bcmc
public PaymentMethod bcmc(BcmcResponseInfo bcmc)
bcmc- Parameters:
bcmc-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getBcmc
public BcmcResponseInfo getBcmc()
Get bcmc- Returns:
- bcmc
-
setBcmc
public void setBcmc(BcmcResponseInfo 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- The unique identifier of the business line. Required if you are a [platform model](https://docs.adyen.com/platforms).- 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 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).
-
carnet
public PaymentMethod carnet(CarnetResponseInfo carnet)
carnet- Parameters:
carnet-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getCarnet
public CarnetResponseInfo getCarnet()
Get carnet- Returns:
- carnet
-
setCarnet
public void setCarnet(CarnetResponseInfo carnet)
carnet- Parameters:
carnet-
-
cartesBancaires
public PaymentMethod cartesBancaires(CartesBancairesResponseInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getCartesBancaires
public CartesBancairesResponseInfo getCartesBancaires()
Get cartesBancaires- Returns:
- cartesBancaires
-
setCartesBancaires
public void setCartesBancaires(CartesBancairesResponseInfo cartesBancaires)
cartesBancaires- Parameters:
cartesBancaires-
-
clearpay
public PaymentMethod clearpay(ClearpayResponseInfo clearpay)
clearpay- Parameters:
clearpay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getClearpay
public ClearpayResponseInfo getClearpay()
Get clearpay- Returns:
- clearpay
-
setClearpay
public void setClearpay(ClearpayResponseInfo 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- The list of countries where a payment method is available. By default, all countries supported by the payment method.- 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 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 PaymentMethod cup(CupResponseInfo cup)
cup- Parameters:
cup-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getCup
public CupResponseInfo getCup()
Get cup- Returns:
- cup
-
setCup
public void setCup(CupResponseInfo 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- The list of currencies that a payment method supports. By default, all currencies supported by the payment method.- 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 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 PaymentMethod 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
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 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 PaymentMethod diners(DinersResponseInfo diners)
diners- Parameters:
diners-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getDiners
public DinersResponseInfo getDiners()
Get diners- Returns:
- diners
-
setDiners
public void setDiners(DinersResponseInfo diners)
diners- Parameters:
diners-
-
discover
public PaymentMethod discover(DiscoverResponseInfo discover)
discover- Parameters:
discover-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getDiscover
public DiscoverResponseInfo getDiscover()
Get discover- Returns:
- discover
-
setDiscover
public void setDiscover(DiscoverResponseInfo discover)
discover- Parameters:
discover-
-
eftDirectdebitCA
public PaymentMethod eftDirectdebitCA(EFTDirectDebitCAResponseInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getEftDirectdebitCA
public EFTDirectDebitCAResponseInfo getEftDirectdebitCA()
Get eftDirectdebitCA- Returns:
- eftDirectdebitCA
-
setEftDirectdebitCA
public void setEftDirectdebitCA(EFTDirectDebitCAResponseInfo eftDirectdebitCA)
eftDirectdebitCA- Parameters:
eftDirectdebitCA-
-
eftposAustralia
public PaymentMethod eftposAustralia(EftPosAustraliaResponseInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getEftposAustralia
public EftPosAustraliaResponseInfo getEftposAustralia()
Get eftposAustralia- Returns:
- eftposAustralia
-
setEftposAustralia
public void setEftposAustralia(EftPosAustraliaResponseInfo eftposAustralia)
eftposAustralia- Parameters:
eftposAustralia-
-
enabled
public PaymentMethod 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
PaymentMethodinstance, 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 PaymentMethod girocard(GirocardResponseInfo girocard)
girocard- Parameters:
girocard-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGirocard
public GirocardResponseInfo getGirocard()
Get girocard- Returns:
- girocard
-
setGirocard
public void setGirocard(GirocardResponseInfo girocard)
girocard- Parameters:
girocard-
-
givex
public PaymentMethod givex(GivexResponseInfo givex)
givex- Parameters:
givex-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGivex
public GivexResponseInfo getGivex()
Get givex- Returns:
- givex
-
setGivex
public void setGivex(GivexResponseInfo givex)
givex- Parameters:
givex-
-
googlePay
public PaymentMethod googlePay(GooglePayResponseInfo googlePay)
googlePay- Parameters:
googlePay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getGooglePay
public GooglePayResponseInfo getGooglePay()
Get googlePay- Returns:
- googlePay
-
setGooglePay
public void setGooglePay(GooglePayResponseInfo googlePay)
googlePay- Parameters:
googlePay-
-
id
public PaymentMethod id(String id)
The identifier of the resource.- Parameters:
id- The identifier of the resource.- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getId
public String getId()
The identifier of the resource.- Returns:
- id The identifier of the resource.
-
setId
public void setId(String id)
The identifier of the resource.- Parameters:
id- The identifier of the resource.
-
ideal
public PaymentMethod ideal(IdealResponseInfo ideal)
ideal- Parameters:
ideal-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getIdeal
public IdealResponseInfo getIdeal()
Get ideal- Returns:
- ideal
-
setIdeal
public void setIdeal(IdealResponseInfo ideal)
ideal- Parameters:
ideal-
-
interacCard
public PaymentMethod interacCard(InteracCardResponseInfo interacCard)
interacCard- Parameters:
interacCard-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getInteracCard
public InteracCardResponseInfo getInteracCard()
Get interacCard- Returns:
- interacCard
-
setInteracCard
public void setInteracCard(InteracCardResponseInfo interacCard)
interacCard- Parameters:
interacCard-
-
jcb
public PaymentMethod jcb(JCBResponseInfo jcb)
jcb- Parameters:
jcb-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getJcb
public JCBResponseInfo getJcb()
Get jcb- Returns:
- jcb
-
setJcb
public void setJcb(JCBResponseInfo jcb)
jcb- Parameters:
jcb-
-
klarna
public PaymentMethod klarna(KlarnaResponseInfo klarna)
klarna- Parameters:
klarna-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getKlarna
public KlarnaResponseInfo getKlarna()
Get klarna- Returns:
- klarna
-
setKlarna
public void setKlarna(KlarnaResponseInfo klarna)
klarna- Parameters:
klarna-
-
maestro
public PaymentMethod maestro(MaestroResponseInfo maestro)
maestro- Parameters:
maestro-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMaestro
public MaestroResponseInfo getMaestro()
Get maestro- Returns:
- maestro
-
setMaestro
public void setMaestro(MaestroResponseInfo maestro)
maestro- Parameters:
maestro-
-
maestroUsa
public PaymentMethod maestroUsa(MaestroUSAResponseInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMaestroUsa
public MaestroUSAResponseInfo getMaestroUsa()
Get maestroUsa- Returns:
- maestroUsa
-
setMaestroUsa
public void setMaestroUsa(MaestroUSAResponseInfo maestroUsa)
maestroUsa- Parameters:
maestroUsa-
-
mc
public PaymentMethod mc(MCResponseInfo mc)
mc- Parameters:
mc-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMc
public MCResponseInfo getMc()
Get mc- Returns:
- mc
-
setMc
public void setMc(MCResponseInfo mc)
mc- Parameters:
mc-
-
mealVoucherFR
public PaymentMethod mealVoucherFR(MealVoucherFRResponseInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getMealVoucherFR
public MealVoucherFRResponseInfo getMealVoucherFR()
Get mealVoucherFR- Returns:
- mealVoucherFR
-
setMealVoucherFR
public void setMealVoucherFR(MealVoucherFRResponseInfo mealVoucherFR)
mealVoucherFR- Parameters:
mealVoucherFR-
-
nyce
public PaymentMethod nyce(NyceResponseInfo nyce)
nyce- Parameters:
nyce-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getNyce
public NyceResponseInfo getNyce()
Get nyce- Returns:
- nyce
-
setNyce
public void setNyce(NyceResponseInfo nyce)
nyce- Parameters:
nyce-
-
paybybankPlaid
public PaymentMethod paybybankPlaid(PayByBankPlaidResponseInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPaybybankPlaid
public PayByBankPlaidResponseInfo getPaybybankPlaid()
Get paybybankPlaid- Returns:
- paybybankPlaid
-
setPaybybankPlaid
public void setPaybybankPlaid(PayByBankPlaidResponseInfo paybybankPlaid)
paybybankPlaid- Parameters:
paybybankPlaid-
-
payme
public PaymentMethod payme(PayMeResponseInfo payme)
payme- Parameters:
payme-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPayme
public PayMeResponseInfo getPayme()
Get payme- Returns:
- payme
-
setPayme
public void setPayme(PayMeResponseInfo payme)
payme- Parameters:
payme-
-
paypal
public PaymentMethod paypal(PayPalResponseInfo paypal)
paypal- Parameters:
paypal-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPaypal
public PayPalResponseInfo getPaypal()
Get paypal- Returns:
- paypal
-
setPaypal
public void setPaypal(PayPalResponseInfo paypal)
paypal- Parameters:
paypal-
-
payto
public PaymentMethod payto(PayToResponseInfo payto)
payto- Parameters:
payto-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPayto
public PayToResponseInfo getPayto()
Get payto- Returns:
- payto
-
setPayto
public void setPayto(PayToResponseInfo payto)
payto- Parameters:
payto-
-
pulse
public PaymentMethod pulse(PulseResponseInfo pulse)
pulse- Parameters:
pulse-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getPulse
public PulseResponseInfo getPulse()
Get pulse- Returns:
- pulse
-
setPulse
public void setPulse(PulseResponseInfo 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- Your reference for the payment method. Supported characters a-z, A-Z, 0-9.- 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 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.
-
sepadirectdebit
public PaymentMethod sepadirectdebit(SepaDirectDebitResponseInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSepadirectdebit
public SepaDirectDebitResponseInfo getSepadirectdebit()
Get sepadirectdebit- Returns:
- sepadirectdebit
-
setSepadirectdebit
public void setSepadirectdebit(SepaDirectDebitResponseInfo sepadirectdebit)
sepadirectdebit- Parameters:
sepadirectdebit-
-
shopperInteraction
public PaymentMethod shopperInteraction(String shopperInteraction)
The sales channel.- Parameters:
shopperInteraction- The sales channel.- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getShopperInteraction
public String getShopperInteraction()
The sales channel.- Returns:
- shopperInteraction The sales channel.
-
setShopperInteraction
public void setShopperInteraction(String shopperInteraction)
The sales channel.- Parameters:
shopperInteraction- The sales channel.
-
sodexo
public PaymentMethod sodexo(SodexoResponseInfo sodexo)
sodexo- Parameters:
sodexo-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSodexo
public SodexoResponseInfo getSodexo()
Get sodexo- Returns:
- sodexo
-
setSodexo
public void setSodexo(SodexoResponseInfo sodexo)
sodexo- Parameters:
sodexo-
-
sofort
public PaymentMethod sofort(SofortResponseInfo sofort)
sofort- Parameters:
sofort-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSofort
public SofortResponseInfo getSofort()
Get sofort- Returns:
- sofort
-
setSofort
public void setSofort(SofortResponseInfo sofort)
sofort- Parameters:
sofort-
-
star
public PaymentMethod star(StarResponseInfo star)
star- Parameters:
star-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getStar
public StarResponseInfo getStar()
Get star- Returns:
- star
-
setStar
public void setStar(StarResponseInfo 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- The unique identifier of the store for which to configure the payment method, if any.- 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 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.
-
svs
public PaymentMethod svs(SvsResponseInfo svs)
svs- Parameters:
svs-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSvs
public SvsResponseInfo getSvs()
Get svs- Returns:
- svs
-
setSvs
public void setSvs(SvsResponseInfo svs)
svs- Parameters:
svs-
-
swish
public PaymentMethod swish(SwishResponseInfo swish)
swish- Parameters:
swish-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getSwish
public SwishResponseInfo getSwish()
Get swish- Returns:
- swish
-
setSwish
public void setSwish(SwishResponseInfo swish)
swish- Parameters:
swish-
-
ticket
public PaymentMethod ticket(TicketResponseInfo ticket)
ticket- Parameters:
ticket-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getTicket
public TicketResponseInfo getTicket()
Get ticket- Returns:
- ticket
-
setTicket
public void setTicket(TicketResponseInfo ticket)
ticket- Parameters:
ticket-
-
twint
public PaymentMethod twint(TwintResponseInfo twint)
twint- Parameters:
twint-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getTwint
public TwintResponseInfo getTwint()
Get twint- Returns:
- twint
-
setTwint
public void setTwint(TwintResponseInfo twint)
twint- Parameters:
twint-
-
type
public PaymentMethod type(String 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
PaymentMethodinstance, allowing for method chaining
-
getType
public String 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(String 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).
-
valuelink
public PaymentMethod valuelink(ValuelinkResponseInfo valuelink)
valuelink- Parameters:
valuelink-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getValuelink
public ValuelinkResponseInfo getValuelink()
Get valuelink- Returns:
- valuelink
-
setValuelink
public void setValuelink(ValuelinkResponseInfo valuelink)
valuelink- Parameters:
valuelink-
-
verificationStatus
public PaymentMethod verificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Parameters:
verificationStatus- Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVerificationStatus
public PaymentMethod.VerificationStatusEnum getVerificationStatus()
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Returns:
- verificationStatus Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**
-
setVerificationStatus
public void setVerificationStatus(PaymentMethod.VerificationStatusEnum verificationStatus)
Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**- Parameters:
verificationStatus- Payment method status. Possible values: * **valid** * **pending** * **invalid** * **rejected**
-
vipps
public PaymentMethod vipps(VippsResponseInfo vipps)
vipps- Parameters:
vipps-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVipps
public VippsResponseInfo getVipps()
Get vipps- Returns:
- vipps
-
setVipps
public void setVipps(VippsResponseInfo vipps)
vipps- Parameters:
vipps-
-
visa
public PaymentMethod visa(VisaResponseInfo visa)
visa- Parameters:
visa-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getVisa
public VisaResponseInfo getVisa()
Get visa- Returns:
- visa
-
setVisa
public void setVisa(VisaResponseInfo visa)
visa- Parameters:
visa-
-
wechatpay
public PaymentMethod wechatpay(WeChatPayResponseInfo wechatpay)
wechatpay- Parameters:
wechatpay-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getWechatpay
public WeChatPayResponseInfo getWechatpay()
Get wechatpay- Returns:
- wechatpay
-
setWechatpay
public void setWechatpay(WeChatPayResponseInfo wechatpay)
wechatpay- Parameters:
wechatpay-
-
wechatpayPos
public PaymentMethod wechatpayPos(WeChatPayPosResponseInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-- Returns:
- the current
PaymentMethodinstance, allowing for method chaining
-
getWechatpayPos
public WeChatPayPosResponseInfo getWechatpayPos()
Get wechatpayPos- Returns:
- wechatpayPos
-
setWechatpayPos
public void setWechatpayPos(WeChatPayPosResponseInfo wechatpayPos)
wechatpayPos- Parameters:
wechatpayPos-
-
includeNullValues
public PaymentMethod 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 PaymentMethod 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 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
-
-