mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 09:54:44 +08:00
feat(wxapi): 新增小程序发货信息管理服务相关回调通知事件模型
This commit is contained in:
@@ -0,0 +1,57 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 EVENT.trade_manage_order_settlement 事件的数据。</para>
|
||||||
|
/// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order-shipping/order-shipping.html#%E4%B9%9D%E3%80%81%E7%9B%B8%E5%85%B3%E6%B6%88%E6%81%AF%E6%8E%A8%E9%80%81 </para>
|
||||||
|
/// </summary>
|
||||||
|
public class TradeManageOrderSettlementEvent : TradeManageRemindShippingEvent
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置发货时间时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("shipped_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("shipped_time")]
|
||||||
|
[System.Xml.Serialization.XmlElement("shipped_time")]
|
||||||
|
public long ShippedTimestamp { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置预计结算时时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("estimated_settlement_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("estimated_settlement_time")]
|
||||||
|
[System.Xml.Serialization.XmlElement("estimated_settlement_time", IsNullable = true)]
|
||||||
|
public long? EstimatedSettlementTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置确认收货方式。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("confirm_receive_method")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("confirm_receive_method")]
|
||||||
|
[System.Xml.Serialization.XmlElement("confirm_receive_method", IsNullable = true)]
|
||||||
|
public int? ConfirmReceiveMethod { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置确认收货时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("confirm_receive_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("confirm_receive_time")]
|
||||||
|
[System.Xml.Serialization.XmlElement("confirm_receive_time", IsNullable = true)]
|
||||||
|
public long? ConfirmReceiveTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置订单结算时间时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("settlement_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("settlement_time")]
|
||||||
|
[System.Xml.Serialization.XmlElement("settlement_time", IsNullable = true)]
|
||||||
|
public long? SettlementTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置消息文本内容。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("msg")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("msg")]
|
||||||
|
[System.Xml.Serialization.XmlElement("msg", IsNullable = true)]
|
||||||
|
public string? Message { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 EVENT.trade_manage_remind_access_api 事件的数据。</para>
|
||||||
|
/// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order-shipping/order-shipping.html#%E4%B9%9D%E3%80%81%E7%9B%B8%E5%85%B3%E6%B6%88%E6%81%AF%E6%8E%A8%E9%80%81 </para>
|
||||||
|
/// </summary>
|
||||||
|
public class TradeManageRemindAccessApiEvent : WechatApiEvent
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置消息文本内容。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("msg")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("msg")]
|
||||||
|
[System.Xml.Serialization.XmlElement("msg", IsNullable = true)]
|
||||||
|
public string? Message { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// <para>表示 EVENT.trade_manage_remind_shipping 事件的数据。</para>
|
||||||
|
/// <para>REF: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/order-shipping/order-shipping.html#%E4%B9%9D%E3%80%81%E7%9B%B8%E5%85%B3%E6%B6%88%E6%81%AF%E6%8E%A8%E9%80%81 </para>
|
||||||
|
/// </summary>
|
||||||
|
public class TradeManageRemindShippingEvent : WechatApiEvent
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置微信商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("merchant_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_id")]
|
||||||
|
[System.Xml.Serialization.XmlElement("merchant_id")]
|
||||||
|
public string MerchantId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置子商户号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("sub_merchant_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("sub_merchant_id")]
|
||||||
|
[System.Xml.Serialization.XmlElement("sub_merchant_id", IsNullable = true)]
|
||||||
|
public string? SubMerchantId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商户订单号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("merchant_trade_no")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_trade_no")]
|
||||||
|
[System.Xml.Serialization.XmlElement("merchant_trade_no")]
|
||||||
|
public string MerchantTradeNo { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置微信支付订单号。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("transaction_id")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("transaction_id")]
|
||||||
|
[System.Xml.Serialization.XmlElement("transaction_id")]
|
||||||
|
public string TransactionId { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置支付成功时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("pay_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("pay_time")]
|
||||||
|
[System.Xml.Serialization.XmlElement("pay_time")]
|
||||||
|
public long PayTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置消息文本内容。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("msg")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("msg")]
|
||||||
|
[System.Xml.Serialization.XmlElement("msg", IsNullable = true)]
|
||||||
|
public string? Message { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user