Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

CurrencyExchangeRateServiceBase

API reference for CurrencyExchangeRateServiceBase in Vendr, the eCommerce solution for Umbraco v8+

CurrencyExchangeRateServiceBase

public abstract class CurrencyExchangeRateServiceBase : ICurrencyExchangeRateService

Inheritance

Namespace

Methods

FetchExchangeRate

public abstract decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, 
    DateTime date)

FetchExchangeRates

public abstract Dictionary<string, Dictionary<string, decimal>> FetchExchangeRates(
    string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo)

GetExchangeRate

public decimal GetExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, DateTime date)

GetExchangeRates

public Dictionary<string, Dictionary<string, decimal>> GetExchangeRates(string fromCurrencyIsoCode, 
    string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.