Files
coreshoppro/CoreCms.Net.Model/FromBody/FMTransferBillsCallBack.cs

81 lines
2.5 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 CoreCms.Net.Model.FromBody
{
/// <summary>
/// 商家转账回调通知实体数据
/// </summary>
public class FMTransferBillsCallBack
{
/// <summary>
/// 通知ID】通知的唯一ID
/// </summary>
public string id { get; set; }
/// <summary>
/// 【通知创建时间】
/// 通知创建的时间遵循rfc3339标准格式格式为yyyy-MM-DDTHH:mm:ss+TIMEZONEyyyy-MM-DD表示年月日T出现在字符串中表示time元素的开头HH:mm:ss.表示时分秒TIMEZONE表示时区+08:00表示东八区时间领先UTC 8小时即北京时间。例如2015-05-20T13:29:35+08:00表示北京时间2015年05月20日13点29分35秒。
/// </summary>
public string create_time { get; set; }
/// <summary>
/// 【通知数据类型】通知的资源数据类型商家转账通知为encrypt-resource
/// </summary>
public string resource_type { get; set; }
/// <summary>
/// 【通知类型】通知的类型商家转账通知的类型为MCHTRANSFER.BILL.FINISHED
/// </summary>
public string event_type { get; set; }
/// <summary>
/// 【回调摘要】回调摘要
/// </summary>
public string summary { get; set; }
/// <summary>
/// 通知数据
/// </summary>
public FMTransferBillsCallBackResource resource { get; set; }
}
/// <summary>
/// 商家转账回调通知实体数据-通知数据
/// </summary>
public class FMTransferBillsCallBackResource
{
/// <summary>
/// 【原始类型】原始回调类型为mch_payment
/// </summary>
public string original_type { get; set; }
/// <summary>
/// 【加密算法类型】对开启结果数据进行加密的加密算法目前只支持AEAD_AES_256_GCM
/// </summary>
public string algorithm { get; set; }
/// <summary>
/// 数据密文】Base64编码后的商家转账结果数据密文
/// </summary>
public string ciphertext { get; set; }
/// <summary>
/// 【附加数据】附加数据
/// </summary>
public string? associated_data { get; set; }
/// <summary>
/// 随机串】加密使用的随机串。
/// </summary>
public string? nonce { get; set; }
}
}