Files
transactions-list-parser/PriorBankParser/StatementDto.cs
2020-02-16 22:39:53 +03:00

42 lines
1023 B
C#

using System.Collections.Generic;
namespace PriorBankParser
{
public class StatementDto
{
public ICollection<KeyValuePair<string, string>> AccountInfos { get; set; }
public ICollection<OperationalSectionDto> ContractsInfo { get; set; }
public ICollection<LockedSection> LockedInfo { get; set; }
public TotalDto StatementTotal { get; set; }
}
public class LockedSection
{
public string SectionName { get; set; }
public IReadOnlyCollection<TransactionInfoDto> Items { get; set; }
}
public class OperationalSectionDto
{
public string SectionName { get; set; }
public IReadOnlyCollection<TransactionInfoDto> Items { get; set; }
public TotalDto Total { get; set; }
}
public class TotalDto
{
public decimal IncomeAmount { get; set; }
public decimal OutcomeAmount { get; set; }
public decimal Commission { get; set; }
public decimal FinalAmount { get; set; }
}
}