Table of Contents

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

Source string

Rate source, e.g. BankOfCanada.

PivotCurrency string

Currency the source quotes against (CAD for the Bank of Canada).

From DateOnly

First business date imported.

To DateOnly

Last business date imported.

Count int

Number of new rates stored.

Currencies IReadOnlyList<string>

Currencies imported.

OccurredAt DateTimeOffset

When the import finished.

Properties

Count

Number of new rates stored.

public int Count { get; init; }

Property Value

int

Currencies

Currencies imported.

public IReadOnlyList<string> Currencies { get; init; }

Property Value

IReadOnlyList<string>

From

First business date imported.

public DateOnly From { get; init; }

Property Value

DateOnly

OccurredAt

When the import finished.

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset

PivotCurrency

Currency the source quotes against (CAD for the Bank of Canada).

public string PivotCurrency { get; init; }

Property Value

string

Source

Rate source, e.g. BankOfCanada.

public string Source { get; init; }

Property Value

string

To

Last business date imported.

public DateOnly To { get; init; }

Property Value

DateOnly