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:
@@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/qic/inspect/code/print 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectCodePrintRequest : WechatApiRequest, IInferable<ChannelsECQICInspectCodePrintRequest, ChannelsECQICInspectCodePrintResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -0,0 +1,209 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/qic/inspect/code/print 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectCodePrintResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Data
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Box
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxId")]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxName")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxNum")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxNum")]
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置视频号店铺 AppId。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("channelAppId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("channelAppId")]
|
||||
public string ChannelAppId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商家名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("merchantName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("merchantName")]
|
||||
public string MerchantName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("deliveryId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("deliveryId")]
|
||||
public string DeliveryId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("deliveryName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("deliveryName")]
|
||||
public string DeliveryName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backupDeliveryId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backupDeliveryId")]
|
||||
public string? BackupDeliveryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用快递公司名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backupDeliveryName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backupDeliveryName")]
|
||||
public string? BackupDeliveryName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品镶嵌材质。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("embedGoodsMaterial")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("embedGoodsMaterial")]
|
||||
public string? EmbedGoodsMaterial { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否合并发货。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("expressMerge")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("expressMerge")]
|
||||
public bool IsExpressMerged { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品描述。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("goodsDesc")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("goodsDesc")]
|
||||
public string GoodsDescription { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品主材质。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("goodsMainMaterial")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("goodsMainMaterial")]
|
||||
public string GoodsMainMaterial { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品配件材质。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("goodsPartsMaterial")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("goodsPartsMaterial")]
|
||||
public string? GoodsPartsMaterial { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("goodsName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("goodsName")]
|
||||
public string GoodsName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置商品数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("goodsNum")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("goodsNum")]
|
||||
public int GoodsCount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectBaseId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectBaseId")]
|
||||
public string WarehouseId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectBaseName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectBaseName")]
|
||||
public string WarehouseName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检码。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectCode")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectCode")]
|
||||
public string InspectCode { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectOrgId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectOrgId")]
|
||||
public string InspectOrganizationId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectOrgName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectOrgName")]
|
||||
public string InspectOrganizationName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构简称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspectOrgShortName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspectOrgShortName")]
|
||||
public string InspectOrganizationShortName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxDTOList")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxDTOList")]
|
||||
public Types.Box[]? BoxList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单号。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("orderId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("orderId")]
|
||||
public string OrderId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否加急订单。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("urgentOrder")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("urgentOrder")]
|
||||
public bool IsUrgentOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置经过 Base64 编码的打印模板数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("printInfo")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("printInfo")]
|
||||
public string EncodingPrintData { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置返回数据。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("data")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("data")]
|
||||
public Types.Data Data { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/qic/inspect/config/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectConfigGetRequest : WechatApiRequest, IInferable<ChannelsECQICInspectConfigGetRequest, ChannelsECQICInspectConfigGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,104 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/qic/inspect/config/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectConfigGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class InspectConfig
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Address
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置省份。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("province")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("province")]
|
||||
public string Province { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置城市。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("city")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("city")]
|
||||
public string City { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置区县。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("county")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("county")]
|
||||
public string District { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置详细地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("detail")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("detail")]
|
||||
public string Detail { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置联系人。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("contact_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("contact_name")]
|
||||
public string ContactName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置联系电话。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("contact_phone")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("contact_phone")]
|
||||
public string ContactPhoneNumber { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("warehouse_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("warehouse_id")]
|
||||
public string WarehouseId { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("warehouse_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("warehouse_name")]
|
||||
public string WarehouseName { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("warehouse_addr")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("warehouse_addr")]
|
||||
public string WarehouseAddress { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置发货地址信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_address")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_address")]
|
||||
public Types.Address DeliveryReceiver { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置退货地址信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("return_address")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("return_address")]
|
||||
public Types.Address ReturnAddress { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓配置信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspect_config")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspect_config")]
|
||||
public Types.InspectConfig InspectConfig { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/qic/inspect/submitconfig/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectSubmitConfigGetRequest : WechatApiRequest, IInferable<ChannelsECQICInspectSubmitConfigGetRequest, ChannelsECQICInspectSubmitConfigGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,154 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /channels/ec/qic/inspect/submitconfig/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectSubmitConfigGetResponse : WechatApiResponse
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class SubmitConfig
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Delivery
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class DeliveryProduct
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Insure
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置保价类型 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置保价类型名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置上限类型。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("upper_limit_type")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upper_limit_type")]
|
||||
public int UpperLimitType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置上限金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("upper_limit_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("upper_limit_amount")]
|
||||
public int? UpperLimitAmount { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递产品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public int Id { 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("enable_insure")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("enable_insure")]
|
||||
public int Insure { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置保价类型列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("insure_type_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("insure_type_list")]
|
||||
public Types.Insure[] InsureList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递产品列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_products")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_products")]
|
||||
public Types.DeliveryProduct[] DeliveryProductList { get; set; } = default!;
|
||||
}
|
||||
|
||||
public class InspectOrganization
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
||||
public string Id { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("name")]
|
||||
public string Name { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司列表。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_list")]
|
||||
public Types.Delivery[] DeliveryList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspect_org_list")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspect_org_list")]
|
||||
public Types.InspectOrganization[] InspectOrganizationList { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置资费标准 URL。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("charge_url")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("charge_url")]
|
||||
public string? ChargeUrl { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置送检配置模板信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("submit_config")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("submit_config")]
|
||||
public Types.SubmitConfig SubmitConfig { get; set; } = default!;
|
||||
}
|
||||
}
|
@@ -0,0 +1,167 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/qic/inspect/submit 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectSubmitRequest : WechatApiRequest, IInferable<ChannelsECQICInspectSubmitRequest, ChannelsECQICInspectSubmitResponse>
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class InspectInfo
|
||||
{
|
||||
public static class Types
|
||||
{
|
||||
public class Box
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxId")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxId")]
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxName")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置包装盒数量。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("boxNum")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("boxNum")]
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_id")]
|
||||
public string DeliveryId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用快递公司 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backup_delivery_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backup_delivery_id")]
|
||||
public string? BackupDeliveryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置快递公司产品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_product_id")]
|
||||
public int? DeliveryProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用快递公司产品 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backup_delivery_product_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backup_delivery_product_id")]
|
||||
public int? BackupDeliveryProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否物流保价。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("express_insure")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("express_insure")]
|
||||
public bool EnableExpressInsure { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置保价金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("express_insure_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("express_insure_amount")]
|
||||
public int? ExpressInsureAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置保价类型 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("delivery_insure_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("delivery_insure_id")]
|
||||
public string? DeliveryInsureId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用是否物流保价。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backup_express_insure")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backup_express_insure")]
|
||||
public bool BackupEnableExpressInsure { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用保价金额(单位:分)。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backup_express_insure_amount")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backup_express_insure_amount")]
|
||||
public int? BackupExpressInsureAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置备用保价类型 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("backup_delivery_insure_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("backup_delivery_insure_id")]
|
||||
public string? BackupDeliveryInsureId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置是否合并发货。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("express_merge")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("express_merge")]
|
||||
public bool IsExpressMerged { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置售后拦截策略。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("refund_intercept")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("refund_intercept")]
|
||||
public int RefundInterceptType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("warehouse_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("warehouse_name")]
|
||||
public string WarehouseName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检仓地址。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("warehouse_addr")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("warehouse_addr")]
|
||||
public string WarehouseAddress { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspect_org_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspect_org_id")]
|
||||
public string InspectOrganizationId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检机构名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspect_org_name")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspect_org_name")]
|
||||
public string InspectOrganizationName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置订单 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("order_id")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("order_id")]
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置质检信息。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("inspect_info")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("inspect_info")]
|
||||
public Types.InspectInfo InspectInfo { get; set; } = new Types.InspectInfo();
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /channels/ec/qic/inspect/submit 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class ChannelsECQICInspectSubmitResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user