mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
feat(wxapi): 随官方更新微信小店售后单相关接口模型
This commit is contained in:
parent
229c91aaba
commit
dcde124eb2
@ -39,6 +39,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Events
|
||||
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
||||
[System.Xml.Serialization.XmlElement("status")]
|
||||
public string Status { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置小程序会员已经优惠金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("wxa_vip_discounted_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("wxa_vip_discounted_price")]
|
||||
[System.Xml.Serialization.XmlElement("wxa_vip_discounted_price")]
|
||||
public int? WxaVipDiscountedPrice { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -254,6 +254,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public long NewSKUId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置旧 SKU 价格(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("old_sku_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("old_sku_price")]
|
||||
public int OldSKUPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置新 SKU 价格(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("new_sku_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("new_sku_price")]
|
||||
public int NewSKUPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品数量。
|
||||
/// </summary>
|
||||
@ -362,6 +376,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unionid")]
|
||||
public string? UnionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置礼物订单赠送者 OpenId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("present_giver_openid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("present_giver_openid")]
|
||||
public string? PresentGiverOpenId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置礼物订单赠送者 UnionId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("present_giver_unionid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("present_giver_unionid")]
|
||||
public string? PresentGiverUnionId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后原因。
|
||||
/// </summary>
|
||||
|
@ -373,6 +373,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("change_sku_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("change_sku_info")]
|
||||
public Types.ChangeSKUInfo? ChangeSKUInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单内商品维度会员权益优惠金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("vip_discounted_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("vip_discounted_price")]
|
||||
[System.Xml.Serialization.XmlElement("vip_discounted_price")]
|
||||
public int? VipDiscountedPrice { get; set; }
|
||||
}
|
||||
|
||||
public class Payment
|
||||
|
@ -6,6 +6,8 @@
|
||||
"Event": "channels_ec_aftersale_update",
|
||||
"finder_shop_aftersale_status_update": {
|
||||
"status": "USER_WAIT_RETURN",
|
||||
"after_sale_order_id": "1234567"
|
||||
"after_sale_order_id": "1234567",
|
||||
"order_id": "12345",
|
||||
"wxa_vip_discounted_price": 100
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user