-
Notifications
You must be signed in to change notification settings - Fork 0
IExchangeRatesClient.GetAnnualAverageRates Method
maurizuki edited this page Oct 22, 2020
·
2 revisions
Namespace: BIExchangeRates.Client
Assembly: BIExchangeRates.Client.dll
Returns the annual average exchange rates for a specific year.
Overload | Description |
---|---|
GetAnnualAverageRates(Int32, String, Language) | Returns the annual average exchange rates for a specific year for all the available currencies. |
GetAnnualAverageRates(Int32, IEnumerable<String>, String, Language) | Returns the annual average exchange rates for a specific year for a list of currencies. |
Returns the annual average exchange rates for a specific year for all the available currencies.
Task<AnnualAverageRatesModel> GetAnnualAverageRates (int year, string currencyIsoCode, Language language = Language.En);
Parameter | Type | Description |
---|---|---|
year | Int32 | The reference year for the exchange rates. |
currencyIsoCode | String | The ISO code of the reference currency ("EUR", "USD" or "ITL", case insensitive). |
language | Language | The language of the returned data. |
Task<AnnualAverageRatesModel>
A task that represents the asynchronous operation. The task result contains the annual average exchange rates for a specific year for all the available currencies.
Returns the annual average exchange rates for a specific year for a list of currencies.
Task<AnnualAverageRatesModel> GetAnnualAverageRates (int year, IEnumerable<string> baseCurrencyIsoCodes, string currencyIsoCode, Language language = Language.En);
Parameter | Type | Description |
---|---|---|
year | Int32 | The reference year for the exchange rates. |
baseCurrencyIsoCodes | IEnumerable<String> | The list of ISO codes of the required currencies (case insensitive). |
currencyIsoCode | String | The ISO code of the reference currency ("EUR", "USD" or "ITL", case insensitive). |
language | Language | The language of the returned data. |
Task<AnnualAverageRatesModel>
A task that represents the asynchronous operation. The task result contains the annual average exchange rates for a specific year for a list of currencies.