Table of Contents

Class ExchangeRateLocked

Namespace
Integrations.Contracts.Events
Assembly
Integrations.Contracts.dll

The first lock for a pair and business date was created; later locks that day reuse it.

public sealed record ExchangeRateLocked : IEquatable<ExchangeRateLocked>
Inheritance
ExchangeRateLocked
Implements
Inherited Members

Constructors

ExchangeRateLocked(Guid, string, string, DateOnly, DateOnly, decimal, string, DateTimeOffset)

The first lock for a pair and business date was created; later locks that day reuse it.

public ExchangeRateLocked(Guid LockId, string From, string To, DateOnly RateDate, DateOnly ObservationDate, decimal Rate, string Source, DateTimeOffset OccurredAt)

Parameters

LockId Guid

Lock id every line committed that day for the pair shares.

From string

Source currency.

To string

Target currency.

RateDate DateOnly

Business date locked.

ObservationDate DateOnly

Date the source published the rate.

Rate decimal

Locked rate.

Source string

Rate source.

OccurredAt DateTimeOffset

When the lock was created.

Properties

From

Source currency.

public string From { get; init; }

Property Value

string

LockId

Lock id every line committed that day for the pair shares.

public Guid LockId { get; init; }

Property Value

Guid

ObservationDate

Date the source published the rate.

public DateOnly ObservationDate { get; init; }

Property Value

DateOnly

OccurredAt

When the lock was created.

public DateTimeOffset OccurredAt { get; init; }

Property Value

DateTimeOffset

Rate

Locked rate.

public decimal Rate { get; init; }

Property Value

decimal

RateDate

Business date locked.

public DateOnly RateDate { get; init; }

Property Value

DateOnly

Source

Rate source.

public string Source { get; init; }

Property Value

string

To

Target currency.

public string To { get; init; }

Property Value

string