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 SummaryConstructors Constructor Description ExchangeRateInfo()
 - 
Method SummaryAll 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- 
getBaseCurrencypublic String getBaseCurrency() Alias for getBase().- Returns:
 
 - 
getBasepublic String getBase() Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.
 - 
getRatespublic Map<String,BigDecimal> getRates() 
 - 
setBasepublic void setBase(String base) Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.
 - 
setRatespublic void setRates(Map<String,BigDecimal> rates) 
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-