Class PaymentMethodSetupInfo


  • public class PaymentMethodSetupInfo
    extends Object
    PaymentMethodSetupInfo
    • Constructor Detail

      • PaymentMethodSetupInfo

        public PaymentMethodSetupInfo()
    • Method Detail

      • accel

        public PaymentMethodSetupInfo accel​(AccelInfo accel)
        accel
        Parameters:
        accel -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getAccel

        public AccelInfo getAccel()
        accel
        Returns:
        accel
      • setAccel

        public void setAccel​(AccelInfo accel)
        accel
        Parameters:
        accel -
      • afterpayTouch

        public PaymentMethodSetupInfo afterpayTouch​(AfterpayTouchInfo afterpayTouch)
        afterpayTouch
        Parameters:
        afterpayTouch -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getAfterpayTouch

        public AfterpayTouchInfo getAfterpayTouch()
        afterpayTouch
        Returns:
        afterpayTouch
      • setAfterpayTouch

        public void setAfterpayTouch​(AfterpayTouchInfo afterpayTouch)
        afterpayTouch
        Parameters:
        afterpayTouch -
      • amex

        public PaymentMethodSetupInfo amex​(AmexInfo amex)
        amex
        Parameters:
        amex -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getAmex

        public AmexInfo getAmex()
        amex
        Returns:
        amex
      • setAmex

        public void setAmex​(AmexInfo amex)
        amex
        Parameters:
        amex -
      • applePay

        public PaymentMethodSetupInfo applePay​(ApplePayInfo applePay)
        applePay
        Parameters:
        applePay -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getApplePay

        public ApplePayInfo getApplePay()
        applePay
        Returns:
        applePay
      • setApplePay

        public void setApplePay​(ApplePayInfo applePay)
        applePay
        Parameters:
        applePay -
      • bcmc

        public PaymentMethodSetupInfo bcmc​(BcmcInfo bcmc)
        bcmc
        Parameters:
        bcmc -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getBcmc

        public BcmcInfo getBcmc()
        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 -
        Returns:
        the current PaymentMethodSetupInfo instance, 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 PaymentMethodSetupInfo cartesBancaires​(CartesBancairesInfo cartesBancaires)
        cartesBancaires
        Parameters:
        cartesBancaires -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getCartesBancaires

        public CartesBancairesInfo getCartesBancaires()
        cartesBancaires
        Returns:
        cartesBancaires
      • setCartesBancaires

        public void setCartesBancaires​(CartesBancairesInfo cartesBancaires)
        cartesBancaires
        Parameters:
        cartesBancaires -
      • clearpay

        public PaymentMethodSetupInfo clearpay​(ClearpayInfo clearpay)
        clearpay
        Parameters:
        clearpay -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getClearpay

        public ClearpayInfo getClearpay()
        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 -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • 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 -
      • 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 -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • 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 PaymentMethodSetupInfo customRoutingFlags​(List<String> customRoutingFlags)
        The list of custom routing flags to route payment to the intended acquirer.
        Parameters:
        customRoutingFlags -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • 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 PaymentMethodSetupInfo diners​(DinersInfo diners)
        diners
        Parameters:
        diners -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getDiners

        public DinersInfo getDiners()
        diners
        Returns:
        diners
      • setDiners

        public void setDiners​(DinersInfo diners)
        diners
        Parameters:
        diners -
      • setDiscover

        public void setDiscover​(GenericPmWithTdiInfo discover)
        discover
        Parameters:
        discover -
      • eftposAustralia

        public PaymentMethodSetupInfo eftposAustralia​(GenericPmWithTdiInfo eftposAustralia)
        eftposAustralia
        Parameters:
        eftposAustralia -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getEftposAustralia

        public GenericPmWithTdiInfo getEftposAustralia()
        eftposAustralia
        Returns:
        eftposAustralia
      • setEftposAustralia

        public void setEftposAustralia​(GenericPmWithTdiInfo eftposAustralia)
        eftposAustralia
        Parameters:
        eftposAustralia -
      • giroPay

        public PaymentMethodSetupInfo giroPay​(GiroPayInfo giroPay)
        giroPay
        Parameters:
        giroPay -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getGiroPay

        public GiroPayInfo getGiroPay()
        giroPay
        Returns:
        giroPay
      • setGiroPay

        public void setGiroPay​(GiroPayInfo giroPay)
        giroPay
        Parameters:
        giroPay -
      • setGirocard

        public void setGirocard​(GenericPmWithTdiInfo girocard)
        girocard
        Parameters:
        girocard -
      • googlePay

        public PaymentMethodSetupInfo googlePay​(GooglePayInfo googlePay)
        googlePay
        Parameters:
        googlePay -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getGooglePay

        public GooglePayInfo getGooglePay()
        googlePay
        Returns:
        googlePay
      • setGooglePay

        public void setGooglePay​(GooglePayInfo googlePay)
        googlePay
        Parameters:
        googlePay -
      • interacCard

        public PaymentMethodSetupInfo interacCard​(GenericPmWithTdiInfo interacCard)
        interacCard
        Parameters:
        interacCard -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • setInteracCard

        public void setInteracCard​(GenericPmWithTdiInfo interacCard)
        interacCard
        Parameters:
        interacCard -
      • jcb

        public PaymentMethodSetupInfo jcb​(JCBInfo jcb)
        jcb
        Parameters:
        jcb -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getJcb

        public JCBInfo getJcb()
        jcb
        Returns:
        jcb
      • setJcb

        public void setJcb​(JCBInfo jcb)
        jcb
        Parameters:
        jcb -
      • klarna

        public PaymentMethodSetupInfo klarna​(KlarnaInfo klarna)
        klarna
        Parameters:
        klarna -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getKlarna

        public KlarnaInfo getKlarna()
        klarna
        Returns:
        klarna
      • setKlarna

        public void setKlarna​(KlarnaInfo klarna)
        klarna
        Parameters:
        klarna -
      • setMaestro

        public void setMaestro​(GenericPmWithTdiInfo maestro)
        maestro
        Parameters:
        maestro -
      • mealVoucherFR

        public PaymentMethodSetupInfo mealVoucherFR​(MealVoucherFRInfo mealVoucherFR)
        mealVoucherFR
        Parameters:
        mealVoucherFR -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getMealVoucherFR

        public MealVoucherFRInfo getMealVoucherFR()
        mealVoucherFR
        Returns:
        mealVoucherFR
      • setMealVoucherFR

        public void setMealVoucherFR​(MealVoucherFRInfo mealVoucherFR)
        mealVoucherFR
        Parameters:
        mealVoucherFR -
      • nyce

        public PaymentMethodSetupInfo nyce​(NyceInfo nyce)
        nyce
        Parameters:
        nyce -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getNyce

        public NyceInfo getNyce()
        nyce
        Returns:
        nyce
      • setNyce

        public void setNyce​(NyceInfo nyce)
        nyce
        Parameters:
        nyce -
      • payme

        public PaymentMethodSetupInfo payme​(PayMeInfo payme)
        payme
        Parameters:
        payme -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getPayme

        public PayMeInfo getPayme()
        payme
        Returns:
        payme
      • setPayme

        public void setPayme​(PayMeInfo payme)
        payme
        Parameters:
        payme -
      • paypal

        public PaymentMethodSetupInfo paypal​(PayPalInfo paypal)
        paypal
        Parameters:
        paypal -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getPaypal

        public PayPalInfo getPaypal()
        paypal
        Returns:
        paypal
      • setPaypal

        public void setPaypal​(PayPalInfo paypal)
        paypal
        Parameters:
        paypal -
      • pulse

        public PaymentMethodSetupInfo pulse​(PulseInfo pulse)
        pulse
        Parameters:
        pulse -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getPulse

        public PulseInfo getPulse()
        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 -
        Returns:
        the current PaymentMethodSetupInfo instance, 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 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 -
        Returns:
        the current PaymentMethodSetupInfo instance, 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
      • 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 -
      • sodexo

        public PaymentMethodSetupInfo sodexo​(SodexoInfo sodexo)
        sodexo
        Parameters:
        sodexo -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getSodexo

        public SodexoInfo getSodexo()
        sodexo
        Returns:
        sodexo
      • setSodexo

        public void setSodexo​(SodexoInfo sodexo)
        sodexo
        Parameters:
        sodexo -
      • sofort

        public PaymentMethodSetupInfo sofort​(SofortInfo sofort)
        sofort
        Parameters:
        sofort -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getSofort

        public SofortInfo getSofort()
        sofort
        Returns:
        sofort
      • setSofort

        public void setSofort​(SofortInfo sofort)
        sofort
        Parameters:
        sofort -
      • star

        public PaymentMethodSetupInfo star​(StarInfo star)
        star
        Parameters:
        star -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getStar

        public StarInfo getStar()
        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 -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • 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 PaymentMethodSetupInfo swish​(SwishInfo swish)
        swish
        Parameters:
        swish -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getSwish

        public SwishInfo getSwish()
        swish
        Returns:
        swish
      • setSwish

        public void setSwish​(SwishInfo swish)
        swish
        Parameters:
        swish -
      • ticket

        public PaymentMethodSetupInfo ticket​(TicketInfo ticket)
        ticket
        Parameters:
        ticket -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getTicket

        public TicketInfo getTicket()
        ticket
        Returns:
        ticket
      • setTicket

        public void setTicket​(TicketInfo ticket)
        ticket
        Parameters:
        ticket -
      • twint

        public PaymentMethodSetupInfo twint​(TwintInfo twint)
        twint
        Parameters:
        twint -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getTwint

        public TwintInfo getTwint()
        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 -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getType

        public PaymentMethodSetupInfo.TypeEnum getType()
        Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
        Returns:
        type
      • setType

        public void setType​(PaymentMethodSetupInfo.TypeEnum type)
        Payment method [variant](https://docs.adyen.com/development-resources/paymentmethodvariant#management-api).
        Parameters:
        type -
      • vipps

        public PaymentMethodSetupInfo vipps​(VippsInfo vipps)
        vipps
        Parameters:
        vipps -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getVipps

        public VippsInfo getVipps()
        vipps
        Returns:
        vipps
      • setVipps

        public void setVipps​(VippsInfo vipps)
        vipps
        Parameters:
        vipps -
      • wechatpay

        public PaymentMethodSetupInfo wechatpay​(WeChatPayInfo wechatpay)
        wechatpay
        Parameters:
        wechatpay -
        Returns:
        the current PaymentMethodSetupInfo instance, allowing for method chaining
      • getWechatpay

        public WeChatPayInfo getWechatpay()
        wechatpay
        Returns:
        wechatpay
      • setWechatpay

        public void setWechatpay​(WeChatPayInfo wechatpay)
        wechatpay
        Parameters:
        wechatpay -
      • wechatpayPos

        public PaymentMethodSetupInfo wechatpayPos​(WeChatPayPosInfo wechatpayPos)
        wechatpayPos
        Parameters:
        wechatpayPos -
        Returns:
        the current PaymentMethodSetupInfo instance, 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 PaymentMethodSetupInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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