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

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

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

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

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

        public GenericPmWithTdiInfo getEftposAustralia()
        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 -
        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
      • setEnabled

        public void setEnabled​(Boolean enabled)
        Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Parameters:
        enabled -
      • 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
      • setInteracCard

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

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

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

        public NyceInfo getNyce()
        nyce
        Returns:
        nyce
      • setNyce

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

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

        public PulseInfo getPulse()
        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()
        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 -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getStoreId

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

        public void setStoreId​(String storeId)
        The store for this payment method
        Parameters:
        storeId -
      • 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 -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • getStoreIds

        @Deprecated
        public List<String> getStoreIds()
        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
      • 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 -
      • 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