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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getBase()
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.Alias for getBase().getRates()
int
hashCode()
void
Base currency code, for example, USD Named "base" to mirror format in api.exchangeratesapi.io.void
setRates
(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
-