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 booleancanEqual(Object other)booleanequals(Object o)StringgetBase()Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.StringgetBaseCurrency()Alias for getBase().Map<String,BigDecimal>getRates()inthashCode()voidsetBase(String base)Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.voidsetRates(Map<String,BigDecimal> rates)StringtoString()
-
-
-
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)
-
-