Type Alias ExchangeRate

ExchangeRate: {
    isValid: boolean;
    rate: string;
    source: CurrencyCode;
    target: CurrencyCode;
}

Exchange rate type object for Store.getExchangeRates and Client.getExchangeRate methods results

Type declaration

  • isValid: boolean

    True, if the received rate is up-to-date

  • rate: string

    Source to target exchange rate

  • source: CurrencyCode

    Source currency code

  • target: CurrencyCode

    Target currency code