Table of Contents

Class ConvertRequest

Namespace
Integrations.Contracts.Fx
Assembly
Integrations.Contracts.dll

Convert with an existing lock (LockId), or at the daily rate for Date (without locking).

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

Constructors

ConvertRequest(decimal, string, string, Guid?, DateOnly?)

Convert with an existing lock (LockId), or at the daily rate for Date (without locking).

public ConvertRequest(decimal Amount, string From, string To, Guid? LockId, DateOnly? Date)

Parameters

Amount decimal

Amount in From.

From string

ISO 4217 source currency.

To string

ISO 4217 target currency.

LockId Guid?

Use this locked rate. Don't combine with Date.

Date DateOnly?

Use the daily rate for this date; defaults to today.

Properties

Amount

Amount in From.

public decimal Amount { get; init; }

Property Value

decimal

Date

Use the daily rate for this date; defaults to today.

public DateOnly? Date { get; init; }

Property Value

DateOnly?

From

ISO 4217 source currency.

public string From { get; init; }

Property Value

string

LockId

Use this locked rate. Don't combine with Date.

public Guid? LockId { get; init; }

Property Value

Guid?

To

ISO 4217 target currency.

public string To { get; init; }

Property Value

string