Files
NordigenDotNet/source/VMelnalksnis.NordigenDotNet/Accounts/Transactions.cs
T
2022-12-16 19:47:16 +01:00

23 lines
696 B
C#

// Copyright 2022 Valters Melnalksnis
// Licensed under the Apache License 2.0.
// See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace VMelnalksnis.NordigenDotNet.Accounts;
/// <summary>All transactions of an account.</summary>
public record Transactions
{
/// <summary>Gets or sets all transactions that have been booked.</summary>
public List<Transaction> Booked { get; set; } = null!;
/// <summary>Gets or sets all transaction that are still pending.</summary>
public List<PendingTransaction> Pending { get; set; } = null!;
}
internal class TransactionsWrapper
{
public Transactions Transactions { get; set; } = null!;
}