ExchangeRate

public final class ExchangeRate implements Fetcher

Access to Exchange Rate Data.

Author

Sylvester Sefa-Yeboah

Since

1.0.0

Constructors

Link copied to clipboard
public void ExchangeRate(Config config)

Functions

Link copied to clipboard
public void fetch()
Performs a fetch operation.
Link copied to clipboard
Makes a blocking synchronous http request to fetch the data.
Link copied to clipboard
public ExchangeRate fromCurrency(String fromCurrency)
Link copied to clipboard
Handles request failure
Link copied to clipboard
Handles request success
Link copied to clipboard
public ExchangeRate toCurrency(String toCurrency)