mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-10 17:56:21 +08:00
feat(wxapi): 随官方更新微信小店售后单相关接口模型
This commit is contained in:
@@ -45,6 +45,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||||
public long SKUId { get; set; }
|
public long SKUId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品编码。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("sku_code")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("sku_code")]
|
||||||
|
public string? SKUCode { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品数量。
|
/// 获取或设置商品数量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -78,6 +85,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||||
public long SKUId { get; set; }
|
public long SKUId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商品编码。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("sku_code")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("sku_code")]
|
||||||
|
public string? SKUCode { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品数量。
|
/// 获取或设置商品数量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -85,6 +99,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
||||||
public int Count { get; set; }
|
public int Count { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否极速退款。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("fast_refund")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("fast_refund")]
|
||||||
|
public bool? IsFastRefund { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置团购优惠券列表。
|
/// 获取或设置团购优惠券列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -168,6 +189,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("platform_discount_return_amount")]
|
[Newtonsoft.Json.JsonProperty("platform_discount_return_amount")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("platform_discount_return_amount")]
|
[System.Text.Json.Serialization.JsonPropertyName("platform_discount_return_amount")]
|
||||||
public int? PlatformDiscountReturnAmount { get; set; }
|
public int? PlatformDiscountReturnAmount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否使用运费险小额保障退款。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("is_low_price_insurance_refund")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("is_low_price_insurance_refund")]
|
||||||
|
public bool? IsLowPriceInsuranceRefund { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置是否最终由运费险出资。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("is_final_refund_by_insurance")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("is_final_refund_by_insurance")]
|
||||||
|
public bool? IsFinalRefundByInsurance { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Return
|
public class Return
|
||||||
@@ -211,6 +246,65 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
public string[]? RefundCertificateUrlList { get; set; }
|
public string[]? RefundCertificateUrlList { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class MerchantUpdateDetail
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("merchant_update_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_update_type")]
|
||||||
|
public int MerchantUpdateType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商描述。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("merchant_update_desc")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_update_desc")]
|
||||||
|
public string MerchantUpdateDescription { get; set; } = default!;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商原因类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("update_reason_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("update_reason_type")]
|
||||||
|
public int UpdateReasonType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商前售后类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("old_after_sale_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("old_after_sale_type")]
|
||||||
|
public int OldAftersaleType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商后售后类型。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("new_after_sale_type")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("new_after_sale_type")]
|
||||||
|
public int NewAftersaleType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商前售后金额(单位:分)。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("old_after_sale_amount")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("old_after_sale_amount")]
|
||||||
|
public int OldAftersaleAmount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商后售后金额(单位:分)。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("new_after_sale_amount")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("new_after_sale_amount")]
|
||||||
|
public int NewAftersaleAmount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置协商图片 MediaId 列表。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("media_ids")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("media_ids")]
|
||||||
|
public string[]? MediaIdList { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
public class RefundResultInfo
|
public class RefundResultInfo
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -275,6 +369,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("new_sku_price")]
|
[System.Text.Json.Serialization.JsonPropertyName("new_sku_price")]
|
||||||
public int NewSKUPrice { get; set; }
|
public int NewSKUPrice { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置旧商品编码。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("old_sku_code")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("old_sku_code")]
|
||||||
|
public string? OldSKUCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置新商品编码。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("new_sku_code")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("new_sku_code")]
|
||||||
|
public string? NewSKUCode { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置商品数量。
|
/// 获取或设置商品数量。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -446,6 +554,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[System.Text.Json.Serialization.JsonPropertyName("merchant_upload_info")]
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_upload_info")]
|
||||||
public Types.MerchantUploadInfo? MerchantUploadInfo { get; set; }
|
public Types.MerchantUploadInfo? MerchantUploadInfo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置商家发起协商信息。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("merchant_update_detail")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("merchant_update_detail")]
|
||||||
|
public Types.MerchantUpdateDetail? MerchantUpdateDetail { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置退款结果信息。
|
/// 获取或设置退款结果信息。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -508,6 +623,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
[Newtonsoft.Json.JsonProperty("create_time")]
|
[Newtonsoft.Json.JsonProperty("create_time")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("create_time")]
|
[System.Text.Json.Serialization.JsonPropertyName("create_time")]
|
||||||
public long CreateTimestamp { get; set; }
|
public long CreateTimestamp { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取或设置售后完结时间戳。
|
||||||
|
/// </summary>
|
||||||
|
[Newtonsoft.Json.JsonProperty("complete_time")]
|
||||||
|
[System.Text.Json.Serialization.JsonPropertyName("complete_time")]
|
||||||
|
public long? CompleteTimestamp { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,9 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
|||||||
/// 获取或设置保障单状态列表。
|
/// 获取或设置保障单状态列表。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("status_list")]
|
[Newtonsoft.Json.JsonProperty("status_list")]
|
||||||
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.StringifiedNumberListWithCommaSplitConverter))]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("status_list")]
|
[System.Text.Json.Serialization.JsonPropertyName("status_list")]
|
||||||
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.StringifiedNumberListWithCommaSplitConverter))]
|
||||||
public IList<int>? StatusList { get; set; }
|
public IList<int>? StatusList { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
Reference in New Issue
Block a user