|
| 1 | +namespace SKIT.FlurlHttpClient.ByteDance.TikTokGlobalShop.Models |
| 2 | +{ |
| 3 | + /// <summary> |
| 4 | + /// <para>表示 [POST] /fulfillment/{version}/bundles 接口的响应。</para> |
| 5 | + /// </summary> |
| 6 | + public class FulfillmentCreateBundleResponse : TikTokShopResponse<FulfillmentCreateBundleResponse.Types.Data> |
| 7 | + { |
| 8 | + public static class Types |
| 9 | + { |
| 10 | + public class Data |
| 11 | + { |
| 12 | + public static class Types |
| 13 | + { |
| 14 | + public class Error |
| 15 | + { |
| 16 | + public static class Types |
| 17 | + { |
| 18 | + public class Detail |
| 19 | + { |
| 20 | + /// <summary> |
| 21 | + /// 获取或设置订单 ID。 |
| 22 | + /// </summary> |
| 23 | + [Newtonsoft.Json.JsonProperty("order_id")] |
| 24 | + [System.Text.Json.Serialization.JsonPropertyName("order_id")] |
| 25 | + public string OrderId { get; set; } = default!; |
| 26 | + } |
| 27 | + } |
| 28 | + |
| 29 | + /// <summary> |
| 30 | + /// 获取或设置错误码。 |
| 31 | + /// </summary> |
| 32 | + [Newtonsoft.Json.JsonProperty("code")] |
| 33 | + [System.Text.Json.Serialization.JsonPropertyName("code")] |
| 34 | + public int Code { get; set; } |
| 35 | + |
| 36 | + /// <summary> |
| 37 | + /// 获取或设置错误信息。 |
| 38 | + /// </summary> |
| 39 | + [Newtonsoft.Json.JsonProperty("message")] |
| 40 | + [System.Text.Json.Serialization.JsonPropertyName("message")] |
| 41 | + public string Message { get; set; } = default!; |
| 42 | + |
| 43 | + /// <summary> |
| 44 | + /// 获取或设置详细信息。 |
| 45 | + /// </summary> |
| 46 | + [Newtonsoft.Json.JsonProperty("detail")] |
| 47 | + [System.Text.Json.Serialization.JsonPropertyName("detail")] |
| 48 | + public Types.Detail Detail { get; set; } = default!; |
| 49 | + } |
| 50 | + } |
| 51 | + |
| 52 | + /// <summary> |
| 53 | + /// 获取或设置套餐 ID。 |
| 54 | + /// </summary> |
| 55 | + [Newtonsoft.Json.JsonProperty("first_mile_bundle_id")] |
| 56 | + [System.Text.Json.Serialization.JsonPropertyName("first_mile_bundle_id")] |
| 57 | + public string FirstMileBundleId { get; set; } = default!; |
| 58 | + |
| 59 | + /// <summary> |
| 60 | + /// 获取或设置运单链接。 |
| 61 | + /// </summary> |
| 62 | + [Newtonsoft.Json.JsonProperty("url")] |
| 63 | + [System.Text.Json.Serialization.JsonPropertyName("url")] |
| 64 | + public string Url { get; set; } = default!; |
| 65 | + |
| 66 | + /// <summary> |
| 67 | + /// 获取或设置错误列表。 |
| 68 | + /// </summary> |
| 69 | + [Newtonsoft.Json.JsonProperty("errors")] |
| 70 | + [System.Text.Json.Serialization.JsonPropertyName("errors")] |
| 71 | + public Types.Error[]? ErrorList { get; set; } = default!; |
| 72 | + } |
| 73 | + } |
| 74 | + } |
| 75 | +} |
0 commit comments