using System;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events
{
///
/// 表示 MCHTRANSFER.BATCH.CLOSED 通知的数据。
///
/// REF:
///
///
///
public class MerchantTransferBatchClosedResource : WechatTenpayEvent.Types.IDecryptedResource
{
///
/// 获取或设置微信商户号。
///
[Newtonsoft.Json.JsonProperty("mchid")]
[System.Text.Json.Serialization.JsonPropertyName("mchid")]
public string MerchantId { get; set; } = default!;
///
/// 获取或设置商户批次单号。
///
[Newtonsoft.Json.JsonProperty("out_batch_no")]
[System.Text.Json.Serialization.JsonPropertyName("out_batch_no")]
public string OutTradeNumber { get; set; } = default!;
///
/// 获取或设置微信批次单号。
///
[Newtonsoft.Json.JsonProperty("batch_id")]
[System.Text.Json.Serialization.JsonPropertyName("batch_id")]
public string BatchId { get; set; } = default!;
///
/// 获取或设置批次状态。
///
[Newtonsoft.Json.JsonProperty("batch_status")]
[System.Text.Json.Serialization.JsonPropertyName("batch_status")]
public string BatchStatus { get; set; } = default!;
///
/// 获取或设置转账总金额(单位:分)。
///
[Newtonsoft.Json.JsonProperty("total_amount")]
[System.Text.Json.Serialization.JsonPropertyName("total_amount")]
public int TotalAmount { get; set; }
///
/// 获取或设置转账总笔数。
///
[Newtonsoft.Json.JsonProperty("total_num")]
[System.Text.Json.Serialization.JsonPropertyName("total_num")]
public int TotalNumber { get; set; }
///
/// 获取或设置批次关闭原因。
///
[Newtonsoft.Json.JsonProperty("close_reason")]
[System.Text.Json.Serialization.JsonPropertyName("close_reason")]
public string CloseReason { get; set; } = default!;
///
/// 获取或设置批次更新时间。
///
[Newtonsoft.Json.JsonProperty("update_time")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.Rfc3339DateTimeOffsetConverter))]
[System.Text.Json.Serialization.JsonPropertyName("update_time")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.Rfc3339DateTimeOffsetConverter))]
public DateTimeOffset UpdateTime { get; set; }
}
}