Files
Lava.NET/Types/LavaAPI/Transaction.cs
2024-03-10 21:09:44 +03:00

60 lines
1.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lava.NET.Types.LavaAPI
{
public class TransactionParam : IBase
{
/// <summary>
/// Тип перевода
/// withdraw - вывод
/// transfer - перевод
/// </summary>
public string? transfer_type { get; set; }
/// <summary>
/// Номер кошелька
/// </summary>
public string? account { get; set; }
/// <summary>
/// С какого периода показывать транзакции
/// Пример: 21.10.2021 10:30:30
/// </summary>
public string? period_start { get; set; }
/// <summary>
/// До какого времени показывать транзакции
///
/// Пример: 21.10.2021 11:30:00
/// </summary>
public string? period_end { get; set; }
/// <summary>
/// Сдвиг
/// </summary>
public int? offset { get; set; }
/// <summary>
/// Лимит
/// </summary>
public int? limit { get; set; }
}
public class Transaction : IBase
{
public string id { get; set; }
public string created_at { get; set; }
public DateTime created_date { get; set; }
public string amount { get; set; }
public string status { get; set; }
public string transfer_type { get; set; }
public string comment { get; set; }
public string method { get; set; }
public string currency { get; set; }
public string account { get; set; }
public string commission { get; set; }
public string type { get; set; }
public string receiver { get; set; }
}
}