Skip to content

Commit

Permalink
feat(wxapi): 随官方更新视频号小店订单相关接口模型
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Sep 19, 2024
1 parent 3661e3b commit 03b2de0
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/WechatApi/Basic_ModelDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@
| :-: | :--------: | :--: |
|| 视频号小店 | |
|| 视频号助手 | |
|| 招商团长 | |
|| 本地生活 | |

</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,41 @@ public class EWaybillExtra
[System.Text.Json.Serialization.JsonPropertyName("temperature_range")]
public int? TemperatureRangeType { get; set; }

/// <summary>
/// 获取或设置包裹总重量(单位:克)。
/// </summary>
[Newtonsoft.Json.JsonProperty("package_weight_g")]
[System.Text.Json.Serialization.JsonPropertyName("package_weight_g")]
public int? PackageWeight { get; set; }

/// <summary>
/// 获取或设置包裹长度(单位:厘米)。
/// </summary>
[Newtonsoft.Json.JsonProperty("package_space_x")]
[System.Text.Json.Serialization.JsonPropertyName("package_space_x")]
public int? PackageLength { get; set; }

/// <summary>
/// 获取或设置包裹宽度(单位:厘米)。
/// </summary>
[Newtonsoft.Json.JsonProperty("package_space_y")]
[System.Text.Json.Serialization.JsonPropertyName("package_space_y")]
public int? PackageWidth { get; set; }

/// <summary>
/// 获取或设置包裹高度(单位:厘米)。
/// </summary>
[Newtonsoft.Json.JsonProperty("package_space_z")]
[System.Text.Json.Serialization.JsonPropertyName("package_space_z")]
public int? PackageHeight { get; set; }

/// <summary>
/// 获取或设置包裹体积(单位:立方厘米)。
/// </summary>
[Newtonsoft.Json.JsonProperty("package_volume_ccm")]
[System.Text.Json.Serialization.JsonPropertyName("package_volume_ccm")]
public int? PackageVolume { get; set; }

/// <summary>
/// 获取或设置扩展字段。
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,26 @@ public class Voucher
[System.Text.Json.Serialization.JsonPropertyName("estimate_price")]
public int? EstimatePrice { get; set; }

/// <summary>
/// 获取或设置商家优惠金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("merchant_discounted_price")]
[System.Text.Json.Serialization.JsonPropertyName("merchant_discounted_price")]
public int? MerchantDiscountedPrice { get; set; }

/// <summary>
/// 获取或设置达人优惠金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("finder_discounted_price")]
[System.Text.Json.Serialization.JsonPropertyName("finder_discounted_price")]
public int? FinderDiscountedPrice { get; set; }

/// <summary>
/// 获取或设置是否修改过价格。
/// </summary>
[Newtonsoft.Json.JsonProperty("is_change_price")]
[System.Text.Json.Serialization.JsonPropertyName("is_change_price")]
public bool? IsChangePrice { get; set; }
public bool? IsPriceChanged { get; set; }

/// <summary>
/// 获取或设置改价后 SKU 总价(单位:分)。
Expand Down Expand Up @@ -402,6 +416,27 @@ public class Amount
[Newtonsoft.Json.JsonProperty("deduction_price")]
[System.Text.Json.Serialization.JsonPropertyName("deduction_price")]
public int? DeductionPrice { get; set; }

/// <summary>
/// 获取或设置商家实收金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("merchant_receieve_price")]
[System.Text.Json.Serialization.JsonPropertyName("merchant_receieve_price")]
public int MerchantReceievePrice { get; set; }

/// <summary>
/// 获取或设置商家优惠金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("merchant_discounted_price")]
[System.Text.Json.Serialization.JsonPropertyName("merchant_discounted_price")]
public int MerchantDiscountedPrice { get; set; }

/// <summary>
/// 获取或设置达人优惠金额(单位:分)。
/// </summary>
[Newtonsoft.Json.JsonProperty("finder_discounted_price")]
[System.Text.Json.Serialization.JsonPropertyName("finder_discounted_price")]
public int FinderDiscountedPrice { get; set; }
}

public class Delivery
Expand Down Expand Up @@ -541,6 +576,16 @@ public class TeleNumberExtendedInfo
[System.Text.Json.Serialization.JsonPropertyName("tel_number_ext_info")]
public Types.TeleNumberExtendedInfo? TeleNumberExtendedInfo { get; set; }
}

public class QualityInspection
{
/// <summary>
/// 获取或设置质检状态。
/// </summary>
[Newtonsoft.Json.JsonProperty("inspect_status")]
[System.Text.Json.Serialization.JsonPropertyName("inspect_status")]
public int InspectStatus { get; set; }
}
}

/// <summary>
Expand Down Expand Up @@ -593,6 +638,20 @@ public class TeleNumberExtendedInfo
[Newtonsoft.Json.JsonProperty("ewaybill_order_code")]
[System.Text.Json.Serialization.JsonPropertyName("ewaybill_order_code")]
public string? EWaybillOrderCode { get; set; }

/// <summary>
/// 获取或设置订单质检类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("quality_inspect_type")]
[System.Text.Json.Serialization.JsonPropertyName("quality_inspect_type")]
public int? QualityInspectType { get; set; }

/// <summary>
/// 获取或设置订单质检信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("quality_inspect_info")]
[System.Text.Json.Serialization.JsonPropertyName("quality_inspect_info")]
public Types.QualityInspection? QualityInspection { get; set; }
}

public class Coupon
Expand Down

0 comments on commit 03b2de0

Please sign in to comment.