Class ExchangeRateInfo
- java.lang.Object
-
- com.broadleafcommerce.pricing.domain.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 Summary
Constructors Constructor Description ExchangeRateInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getBase()
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.String
getBaseCurrency()
Alias for getBase().Map<String,BigDecimal>
getRates()
int
hashCode()
void
setBase(String base)
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.void
setRates(Map<String,BigDecimal> rates)
String
toString()
-
-
-
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.
-
getRates
public Map<String,BigDecimal> getRates()
-
setBase
public void setBase(String base)
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.
-
setRates
public void setRates(Map<String,BigDecimal> rates)
-
canEqual
protected boolean canEqual(Object other)
-
-