mirror of
https://github.com/yawaflua/Lava.NET.git
synced 2025-12-09 20:09:26 +02:00
60 lines
1.8 KiB
C#
60 lines
1.8 KiB
C#
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; }
|
||
}
|
||
}
|