Class ExchangeRateInfo
java.lang.Object
com.broadleafcommerce.pricing.domain.ExchangeRateInfo
A representation of exchange rate data. Mirrors the format of api.exchangeratesapi.io if
 converted to JSON as of August, 2020.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetBase()Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.Alias for getBase().getRates()inthashCode()voidBase currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.voidsetRates(Map<String, BigDecimal> rates) toString() 
- 
Constructor Details
- 
ExchangeRateInfo
public ExchangeRateInfo() 
 - 
 - 
Method Details
- 
getBaseCurrency
Alias for getBase().- Returns:
 
 - 
getBase
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io. - 
getRates
 - 
setBase
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io. - 
setRates
 - 
equals
 - 
canEqual
 - 
hashCode
public int hashCode() - 
toString
 
 -