Exchange Rate Response
Types
Link copied to clipboard
Turns a decoded
CURRENCY_EXCHANGE_RATE payload into an ExchangeRateResponse.Properties
Link copied to clipboard
Link copied to clipboard
public double exchangeRate
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Returns the ask price, the rate at which the market sells the quote currency.
Link copied to clipboard
Returns the bid price, the rate at which the market buys the quote currency.
Link copied to clipboard
Returns the error message the API returned, if the request failed.
Link copied to clipboard
Returns the exchange rate between the two currencies: how many units of the quote currency one unit of the base currency buys.
Link copied to clipboard
Returns the code of the base currency, the one being converted from, for example
"USD".Link copied to clipboard
Returns the full name of the base currency, for example
"United States
Dollar".Link copied to clipboard
Returns the timestamp the rate was last refreshed at, formatted as
"yyyy-MM-dd HH:mm:ss" and expressed in the zone reported by getTimeZone.Link copied to clipboard
Returns the time zone getLastRefreshed is expressed in, for example
"UTC".Link copied to clipboard
Returns the code of the quote currency, the one being converted to, for example
"EUR".Link copied to clipboard
Returns the full name of the quote currency, for example
"Euro".