Class UpdatePaymentMethodInfo


  • public class UpdatePaymentMethodInfo
    extends Object
    UpdatePaymentMethodInfo
    • Constructor Detail

      • UpdatePaymentMethodInfo

        public UpdatePaymentMethodInfo()
    • Method Detail

      • setAccel

        public void setAccel​(AccelUpdateInfo accel)
        accel
        Parameters:
        accel -
      • setAffirm

        public void setAffirm​(AffirmUpdateInfo affirm)
        affirm
        Parameters:
        affirm -
      • setBcmc

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

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

        public void setCartesBancaires​(CartesBancairesUpdateInfo 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.
      • eftDirectdebitCA

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

        public void setEftDirectdebitCA​(GenericPmWithTdiUpdateInfo eftDirectdebitCA)
        eftDirectdebitCA
        Parameters:
        eftDirectdebitCA -
      • setEftposAustralia

        public void setEftposAustralia​(GenericPmWithTdiUpdateInfo 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**).
      • setNyce

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

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

        public void setPaybybankPlaid​(PayByBankPlaidUpdateInfo paybybankPlaid)
        paybybankPlaid
        Parameters:
        paybybankPlaid -
      • setPulse

        public void setPulse​(PulseUpdateInfo pulse)
        pulse
        Parameters:
        pulse -
      • sepadirectdebit

        public UpdatePaymentMethodInfo sepadirectdebit​(SepaDirectDebitUpdateInfo sepadirectdebit)
        sepadirectdebit
        Parameters:
        sepadirectdebit -
        Returns:
        the current UpdatePaymentMethodInfo instance, allowing for method chaining
      • setSepadirectdebit

        public void setSepadirectdebit​(SepaDirectDebitUpdateInfo sepadirectdebit)
        sepadirectdebit
        Parameters:
        sepadirectdebit -
      • setStar

        public void setStar​(StarUpdateInfo 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.
        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
      • includeNullValues

        public UpdatePaymentMethodInfo 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 UpdatePaymentMethodInfo object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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