feat(wxapi): 随官方更新视频号小店商品相关接口模型

This commit is contained in:
Fu Diwei
2024-07-15 09:06:57 +08:00
parent c717a87ca2
commit 8c6fc91ff8
2 changed files with 36 additions and 0 deletions

View File

@@ -211,6 +211,24 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("freight_insurance")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool IsFreightInsuranceSupported { get; set; }
/// <summary>
/// 获取或设置是否支持假一赔三。
/// </summary>
[Newtonsoft.Json.JsonProperty("fake_one_pay_three")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("fake_one_pay_three")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool? IsFakeOnePayThreeSupported { get; set; }
/// <summary>
/// 获取或设置是否支持坏损包退。
/// </summary>
[Newtonsoft.Json.JsonProperty("damage_guarantee")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("damage_guarantee")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool? IsDamageGuaranteeSupported { get; set; }
}
public class Aftersale

View File

@@ -229,6 +229,24 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("freight_insurance")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool IsFreightInsuranceSupported { get; set; }
/// <summary>
/// 获取或设置是否支持假一赔三。
/// </summary>
[Newtonsoft.Json.JsonProperty("fake_one_pay_three")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("fake_one_pay_three")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool? IsFakeOnePayThreeSupported { get; set; }
/// <summary>
/// 获取或设置是否支持坏损包退。
/// </summary>
[Newtonsoft.Json.JsonProperty("damage_guarantee")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.Common.NumericalBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("damage_guarantee")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.Common.NumericalBooleanConverter))]
public bool? IsDamageGuaranteeSupported { get; set; }
}
public class Aftersale