Class UpdatePaymentMethodInfo


  • public class UpdatePaymentMethodInfo
    extends Object
    UpdatePaymentMethodInfo
    • Constructor Detail

      • UpdatePaymentMethodInfo

        public UpdatePaymentMethodInfo()
    • Method Detail

      • getBcmc

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

        public void setBcmc​(BcmcInfo bcmc)
      • getCartesBancaires

        public CartesBancairesInfo getCartesBancaires()
        Get cartesBancaires
        Returns:
        cartesBancaires
      • 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)
      • 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)
      • getEnabled

        public Boolean getEnabled()
        Indicates whether the payment method is enabled (**true**) or disabled (**false**).
        Returns:
        enabled
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getStoreIds

        public List<String> getStoreIds()
        The list of stores for this payment method
        Returns:
        storeIds
      • setStoreIds

        public void setStoreIds​(List<String> 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