Class DailyExchangeRatesImported
- Namespace
- Integrations.Contracts.Events
- Assembly
- Integrations.Contracts.dll
New daily rates were published by the configured source and stored.
public sealed record DailyExchangeRatesImported : IEquatable<DailyExchangeRatesImported>
- Inheritance
-
DailyExchangeRatesImported
- Implements
- Inherited Members
Constructors
DailyExchangeRatesImported(string, string, DateOnly, DateOnly, int, IReadOnlyList<string>, DateTimeOffset)
New daily rates were published by the configured source and stored.
public DailyExchangeRatesImported(string Source, string PivotCurrency, DateOnly From, DateOnly To, int Count, IReadOnlyList<string> Currencies, DateTimeOffset OccurredAt)
Parameters
SourcestringRate source, e.g.
BankOfCanada.PivotCurrencystringCurrency the source quotes against (CAD for the Bank of Canada).
FromDateOnlyFirst business date imported.
ToDateOnlyLast business date imported.
CountintNumber of new rates stored.
CurrenciesIReadOnlyList<string>Currencies imported.
OccurredAtDateTimeOffsetWhen the import finished.
Properties
Count
Number of new rates stored.
public int Count { get; init; }
Property Value
Currencies
Currencies imported.
public IReadOnlyList<string> Currencies { get; init; }
Property Value
From
First business date imported.
public DateOnly From { get; init; }
Property Value
OccurredAt
When the import finished.
public DateTimeOffset OccurredAt { get; init; }
Property Value
PivotCurrency
Currency the source quotes against (CAD for the Bank of Canada).
public string PivotCurrency { get; init; }
Property Value
Source
Rate source, e.g. BankOfCanada.
public string Source { get; init; }
Property Value
To
Last business date imported.
public DateOnly To { get; init; }