Class UpdatePaymentMethodInfo


  • public class UpdatePaymentMethodInfo
    extends Object
    UpdatePaymentMethodInfo
    • Constructor Detail

      • UpdatePaymentMethodInfo

        public UpdatePaymentMethodInfo()
    • Method Detail

      • accel

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

        public AccelInfo getAccel()
        Get accel
        Returns:
        accel
      • setAccel

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

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

        public BcmcInfo getBcmc()
        Get bcmc
        Returns:
        bcmc
      • setBcmc

        public void setBcmc​(BcmcInfo bcmc)
        bcmc
        Parameters:
        bcmc -
      • cartesBancaires

        public UpdatePaymentMethodInfo cartesBancaires​(CartesBancairesInfo cartesBancaires)
        cartesBancaires
        Parameters:
        cartesBancaires -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getCartesBancaires

        public CartesBancairesInfo getCartesBancaires()
        Get cartesBancaires
        Returns:
        cartesBancaires
      • setCartesBancaires

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

        public UpdatePaymentMethodInfo countries​(List<String> countries)
        The list of countries where a payment method is available. By default, all countries supported by the payment method.
        Parameters:
        countries - The list of countries where a payment method is available. By default, all countries supported by the payment method.
        Returns:
        the current UpdatePaymentMethodInfo 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 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.
      • currencies

        public UpdatePaymentMethodInfo currencies​(List<String> currencies)
        The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
        Parameters:
        currencies - The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
        Returns:
        the current UpdatePaymentMethodInfo 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 The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
      • setCurrencies

        public void setCurrencies​(List<String> currencies)
        The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
        Parameters:
        currencies - The list of currencies that a payment method supports. By default, all currencies supported by the payment method.
      • customRoutingFlags

        public UpdatePaymentMethodInfo customRoutingFlags​(List<String> customRoutingFlags)
        Custom routing flags for acquirer routing.
        Parameters:
        customRoutingFlags - Custom routing flags for acquirer routing.
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getCustomRoutingFlags

        public List<String> getCustomRoutingFlags()
        Custom routing flags for acquirer routing.
        Returns:
        customRoutingFlags Custom routing flags for acquirer routing.
      • setCustomRoutingFlags

        public void setCustomRoutingFlags​(List<String> customRoutingFlags)
        Custom routing flags for acquirer routing.
        Parameters:
        customRoutingFlags - Custom routing flags for acquirer routing.
      • setDiscover

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

        public UpdatePaymentMethodInfo eftDirectdebitCA​(GenericPmWithTdiInfo eftDirectdebitCA)
        eftDirectdebitCA
        Parameters:
        eftDirectdebitCA -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getEftDirectdebitCA

        public GenericPmWithTdiInfo getEftDirectdebitCA()
        Get eftDirectdebitCA
        Returns:
        eftDirectdebitCA
      • setEftDirectdebitCA

        public void setEftDirectdebitCA​(GenericPmWithTdiInfo eftDirectdebitCA)
        eftDirectdebitCA
        Parameters:
        eftDirectdebitCA -
      • eftposAustralia

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

        public GenericPmWithTdiInfo getEftposAustralia()
        Get eftposAustralia
        Returns:
        eftposAustralia
      • setEftposAustralia

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

        public UpdatePaymentMethodInfo enabled​(Boolean enabled)
        Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Parameters:
        enabled - Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Returns:
        the current UpdatePaymentMethodInfo instance, 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**).
      • setGirocard

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

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

        public GenericPmWithTdiInfo getInteracCard()
        Get interacCard
        Returns:
        interacCard
      • setInteracCard

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

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

        public void setMaestroUsa​(GenericPmWithTdiInfo maestroUsa)
        maestroUsa
        Parameters:
        maestroUsa -
      • nyce

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

        public NyceInfo getNyce()
        Get nyce
        Returns:
        nyce
      • setNyce

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

        public UpdatePaymentMethodInfo paybybankPlaid​(PayByBankPlaidInfo paybybankPlaid)
        paybybankPlaid
        Parameters:
        paybybankPlaid -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getPaybybankPlaid

        public PayByBankPlaidInfo getPaybybankPlaid()
        Get paybybankPlaid
        Returns:
        paybybankPlaid
      • setPaybybankPlaid

        public void setPaybybankPlaid​(PayByBankPlaidInfo paybybankPlaid)
        paybybankPlaid
        Parameters:
        paybybankPlaid -
      • pulse

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

        public PulseInfo getPulse()
        Get pulse
        Returns:
        pulse
      • setPulse

        public void setPulse​(PulseInfo pulse)
        pulse
        Parameters:
        pulse -
      • star

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

        public StarInfo getStar()
        Get star
        Returns:
        star
      • setStar

        public void setStar​(StarInfo star)
        star
        Parameters:
        star -
      • storeId

        public UpdatePaymentMethodInfo storeId​(String storeId)
        The store for this payment method
        Parameters:
        storeId - The store for this payment method
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getStoreId

        public String getStoreId()
        The store for this payment method
        Returns:
        storeId The store for this payment method
      • setStoreId

        public void setStoreId​(String storeId)
        The store for this payment method
        Parameters:
        storeId - The store for this payment method
      • storeIds

        @Deprecated
        public UpdatePaymentMethodInfo storeIds​(List<String> storeIds)
        Deprecated.
        since Management API v3 Use `storeId` instead. Only one store per payment method is allowed.
        The list of stores for this payment method
        Parameters:
        storeIds - The list of stores for this payment method
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getStoreIds

        @Deprecated
        public List<String> getStoreIds()
        Deprecated.
        // deprecated since Management API v3: Use `storeId` instead. Only one store per payment method is allowed.
        The list of stores for this payment method
        Returns:
        storeIds The list of stores for this payment method
      • setStoreIds

        @Deprecated
        public void setStoreIds​(List<String> storeIds)
        Deprecated.
        since Management API v3 Use `storeId` instead. Only one store per payment method is allowed.
        The list of stores for this payment method
        Parameters:
        storeIds - The list of stores for this payment method
      • equals

        public boolean equals​(Object o)
        Return true if this UpdatePaymentMethodInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static UpdatePaymentMethodInfo fromJson​(String jsonString)
                                                throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of UpdatePaymentMethodInfo given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of UpdatePaymentMethodInfo
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to UpdatePaymentMethodInfo
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of UpdatePaymentMethodInfo to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException