vknet_vk/VkNet/Model/GroupUpdate/VkPayTransaction.cs
Timofei Jääger e643c95d94
Предупреждения Qodana (#1530)
* Update azure-pipelines.yml

* Предупреждения Qodana

* Удаляет неиспользуемый токен отмены

* Предупреждения Qodana

* Предупреждения Qodana

* Предупреждения Qodana latest revert

* Добавляет Template в объект Message

* Возвращает токен отмены
2023-06-27 00:30:17 +03:00

39 lines
No EOL
968 B
C#
Raw Permalink 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 JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace VkNet.Model;
/// <summary>
/// платёж через VK Pay
/// </summary>
[Serializable]
public class VkPayTransaction : IGroupUpdate
{
/// <summary>
/// Идентификатор пользователя-отправителя перевода.
/// </summary>
[JsonProperty("from_id")]
public long? FromId { get; set; }
/// <summary>
/// Cумма перевода в тысячных рубля.
/// </summary>
[JsonProperty("amount")]
public long Amount { get; set; }
/// <summary>
/// Комментарий к переводу.
/// </summary>
[CanBeNull]
[JsonProperty("description")]
public string Description { get; set; }
/// <summary>
/// Время отправки перевода в Unixtime.
/// </summary>
[JsonConverter(typeof(UnixDateTimeConverter))]
[JsonProperty("date")]
public DateTime Date { get; set; }
}