Class ExchangeRateInfo


  • public class ExchangeRateInfo
    extends Object
    A representation of exchange rate data. Mirrors the format of api.exchangeratesapi.io if converted to JSON as of August, 2020.
    • Constructor Detail

      • ExchangeRateInfo

        public ExchangeRateInfo()
    • Method Detail

      • getBaseCurrency

        public String getBaseCurrency()
        Alias for getBase().
        Returns:
      • getBase

        public String getBase()
        Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.
      • setBase

        public void setBase​(String base)
        Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object