mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 13:03:43 +08:00
feat(wxapi): 随官方更新视频号商品相关接口模型
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
@@ -52,10 +54,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
/// <summary>
|
||||
/// 获取或设置属性类型。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2023-06-03 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public string Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置新版属性类型(后续将替代 <see cref="Type"/> 字段)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("type_v2")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type_v2")]
|
||||
public string TypeV2 { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值。
|
||||
/// </summary>
|
||||
@@ -69,12 +79,30 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("is_required")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_required")]
|
||||
public bool IsRequired { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置输入提示。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("hint")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("hint")]
|
||||
public string? Hint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否允许添加选项。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("append_allowed")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("append_allowed")]
|
||||
public bool? IsAppendAllowed { get; set; }
|
||||
}
|
||||
|
||||
public class SaleAttribute : ProductAttribute
|
||||
{
|
||||
}
|
||||
|
||||
public class TransactionFee
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置实收的交易佣金比例(单位:万分比)。
|
||||
/// 获取或设置实收的交易佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("basis_point")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("basis_point")]
|
||||
@@ -82,7 +110,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int BasisPoint { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置原始佣金比例(单位:万分比)。
|
||||
/// 获取或设置原始佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("original_basis_point")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("original_basis_point")]
|
||||
@@ -97,6 +125,112 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public int IncentiveType { get; set; }
|
||||
}
|
||||
|
||||
public class CouponRule
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置最高的折扣比例(单位:百分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("discount_ratio_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("discount_ratio_limit")]
|
||||
public int DiscountRatioLimit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置最高的折扣金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("discount_limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("discount_limit")]
|
||||
public int DiscountLimit { get; set; }
|
||||
}
|
||||
|
||||
public class ProductRequirement
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置商品标题的编辑要求。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_title_requirement")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_title_requirement")]
|
||||
public string? RroductTitleRequirement { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品图片的编辑要求。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_img_requirement")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_img_requirement")]
|
||||
public string? RroductImageRequirement { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品描述的编辑要求。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_desc_requirement")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_desc_requirement")]
|
||||
public string? RroductDescriptionRequirement { get; set; }
|
||||
}
|
||||
|
||||
public class SizeChart
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Item
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单位。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("unit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unit")]
|
||||
public string Unit { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("type")]
|
||||
public string Type { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的填写格式。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("format")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("format")]
|
||||
public string Format { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的限制。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("limit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("limit")]
|
||||
public string Limit { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否必填。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_required")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_required")]
|
||||
public bool IsRequired { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否支持。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_support")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_support")]
|
||||
public bool IsSupported { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码项列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("item_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("item_list")]
|
||||
public Types.Item[]? ItemList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -127,6 +261,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("seven_day_return")]
|
||||
public bool IsSevenDayReturnSupported { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否品牌定向准入。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_limit_brand")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_limit_brand")]
|
||||
public bool IsLimitBrand { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置定准类目的品牌列表。
|
||||
/// </summary>
|
||||
@@ -134,6 +275,34 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("brand_list")]
|
||||
public Types.Brand[]? BrandList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置产品属性列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_attr_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_attr_list")]
|
||||
public Types.ProductAttribute[]? ProductAttributeList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置销售属性列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("sale_attr_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("sale_attr_list")]
|
||||
public Types.SaleAttribute[]? SaleAttributeList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置交易佣金信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("transactionfee_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("transactionfee_info")]
|
||||
public Types.TransactionFee? TransactionFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置优惠券规则信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("coupon_rule")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("coupon_rule")]
|
||||
public Types.CouponRule? CouponRule { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置保证金(单位:分)。
|
||||
/// </summary>
|
||||
@@ -143,25 +312,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int? Deposit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置产品属性列表。
|
||||
/// 获取或设置价格下限(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("product_attr_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_attr_list")]
|
||||
public Types.ProductAttribute[]? ProductAttributeList { get; set; }
|
||||
[Newtonsoft.Json.JsonProperty("floor_price")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("floor_price")]
|
||||
[System.Text.Json.Serialization.JsonNumberHandling(System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString)]
|
||||
public int? FloorPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置交易佣金信息。
|
||||
/// 获取或设置商品编辑要求信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("transactionfee_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("transactionfee_info")]
|
||||
public Types.TransactionFee? TransactionFee { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否品牌定向准入。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_limit_brand")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_limit_brand")]
|
||||
public bool IsLimitBrand { get; set; }
|
||||
[Newtonsoft.Json.JsonProperty("product_requirement")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_requirement")]
|
||||
public Types.ProductRequirement? ProductRequirement { get; set; }
|
||||
}
|
||||
|
||||
public class Qualification : ChannelsECCategoryAllResponse.Types.Category.Types.CategoryAndQualification.Types.Qualification
|
||||
|
@@ -1,4 +1,6 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/order/search 接口的请求。</para>
|
||||
@@ -33,11 +35,18 @@
|
||||
/// <summary>
|
||||
/// 获取或设置收件人电话号码。
|
||||
/// </summary>
|
||||
[Obsolete("相关接口或字段于 2023-05-31 下线。")]
|
||||
[Obsolete("相关接口或字段于 2023-06-03 下线。")]
|
||||
[Newtonsoft.Json.JsonProperty("tel_number")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("tel_number")]
|
||||
public string? TeleNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置收件人电话号码后 4 位。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("tel_number_last4")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("tel_number_last4")]
|
||||
public string? TeleNumberLast4Digits { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
|
@@ -239,6 +239,91 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qua_url")]
|
||||
public IList<string> PictureUrlList { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
public class SizeChart
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Specification
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class SpecificationValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置尺码值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("key")]
|
||||
public string Key { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("value")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("value")]
|
||||
public string? Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的左边界。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("left")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("left")]
|
||||
public string? Left { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的右边界。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("right")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("right")]
|
||||
public string? Right { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单位。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("unit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unit")]
|
||||
public string Unit { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值是否为区间。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_range")]
|
||||
public bool IsRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值映射列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("value_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("value_list")]
|
||||
public IList<Types.SpecificationValue> ValueList { get; set; } = new List<Types.SpecificationValue>();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否启用。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enable")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enable")]
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码规格列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("specification_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("specification_list")]
|
||||
public IList<Types.Specification>? SpecificationList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -377,5 +462,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("after_sale_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("after_sale_info")]
|
||||
public Types.Aftersale? Aftersale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码表信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("size_chart")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("size_chart")]
|
||||
public Types.SizeChart? SizeChart { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -258,6 +258,91 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("qua_url")]
|
||||
public string[] PictureUrlList { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class SizeChart
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Specification
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class SpecificationValue
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置尺码值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("key")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("key")]
|
||||
public string Key { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("value")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("value")]
|
||||
public string? Value { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的左边界。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("left")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("left")]
|
||||
public string? Left { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值的右边界。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("right")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("right")]
|
||||
public string? Right { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置单位。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("unit")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("unit")]
|
||||
public string Unit { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值是否为区间。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("is_range")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("is_range")]
|
||||
public bool IsRange { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置属性值映射列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("value_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("value_list")]
|
||||
public Types.SpecificationValue[] ValueList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否启用。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("enable")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enable")]
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码规格列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("specification_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("specification_list")]
|
||||
public Types.Specification[]? SpecificationList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -430,6 +515,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("product_qua_infos")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_qua_infos")]
|
||||
public Types.Qualification[]? QualificationList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码表信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("size_chart")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("size_chart")]
|
||||
public Types.SizeChart? SizeChart { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -111,6 +111,22 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public class Qualification : ChannelsECProductAddRequest.Types.Qualification
|
||||
{
|
||||
}
|
||||
|
||||
public class SizeChart : ChannelsECProductAddRequest.Types.SizeChart
|
||||
{
|
||||
public static new class Types
|
||||
{
|
||||
public class Specification : ChannelsECProductAddRequest.Types.SizeChart.Types.Specification
|
||||
{
|
||||
public static new class Types
|
||||
{
|
||||
public class SpecificationValue : ChannelsECProductAddRequest.Types.SizeChart.Types.Specification.Types.SpecificationValue
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -249,5 +265,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
[Newtonsoft.Json.JsonProperty("after_sale_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("after_sale_info")]
|
||||
public Types.Aftersale? Aftersale { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置尺码表信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("size_chart")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("size_chart")]
|
||||
public Types.SizeChart? SizeChart { get; set; }
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
@@ -59,7 +59,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int? MinCommissionValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例下限(单位:万分之一)。
|
||||
/// 获取或设置佣金比例下限(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
@@ -62,7 +62,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例(单位:万分之一)。
|
||||
/// 获取或设置佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ratio")]
|
||||
|
@@ -228,7 +228,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例(单位:万分之一)。
|
||||
/// 获取或设置佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ratio")]
|
||||
|
@@ -57,7 +57,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int? MinCommissionValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例下限(单位:万分之一)。
|
||||
/// 获取或设置佣金比例下限(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
@@ -299,7 +299,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public bool HasCommission { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例(单位:万分之一)。
|
||||
/// 获取或设置佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commissionRatio")]
|
||||
|
@@ -124,7 +124,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int? MinCommissionValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例下限(单位:万分之一)。
|
||||
/// 获取或设置佣金比例下限(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
|
@@ -237,7 +237,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int ProductStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金率(单位:万分之一)。
|
||||
/// 获取或设置佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commissionRatio")]
|
||||
|
@@ -31,14 +31,14 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public bool IsCommissionProduct { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金率(单位:万分之一)。
|
||||
/// 获取或设置佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commissionRatio")]
|
||||
public int? CommissionRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置待生效佣金率(单位:万分之一)。
|
||||
/// 获取或设置待生效佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("nextCommissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("nextCommissionRatio")]
|
||||
|
@@ -26,7 +26,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? OutProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金率(单位:万分之一)。
|
||||
/// 获取或设置佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commissionRatio")]
|
||||
|
@@ -218,7 +218,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int ProductCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金比例(单位:万分之一)。
|
||||
/// 获取或设置佣金比例(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("ratio")]
|
||||
|
@@ -50,7 +50,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public long ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金率(单位:万分之一)。
|
||||
/// 获取或设置佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("rate")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("rate")]
|
||||
|
@@ -96,7 +96,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public int Stock { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置佣金率(单位:万分之一)。
|
||||
/// 获取或设置佣金率(单位:万分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("commissionRatio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("commissionRatio")]
|
||||
|
@@ -20,7 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? ReturnMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账比例(单位:百分比)。
|
||||
/// 获取或设置分账比例(单位:百分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("share_ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("share_ratio")]
|
||||
|
@@ -20,7 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
public string? AppId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置分账比例(单位:百分比)。
|
||||
/// 获取或设置分账比例(单位:百分数)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("share_ratio")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("share_ratio")]
|
||||
|
Reference in New Issue
Block a user