16 lines
492 B
C#
16 lines
492 B
C#
// Copyright 2022 Valters Melnalksnis
|
|
// Licensed under the Apache License 2.0.
|
|
// See LICENSE file in the project root for full license information.
|
|
|
|
namespace VMelnalksnis.NordigenDotNet.Accounts;
|
|
|
|
/// <summary>An amount in a specific currency.</summary>
|
|
public record AmountInCurrency
|
|
{
|
|
/// <summary>Gets or sets a ISO 4217 currency code.</summary>
|
|
public string Currency { get; set; } = null!;
|
|
|
|
/// <summary>Gets or sets the amount.</summary>
|
|
public decimal Amount { get; set; }
|
|
}
|