emoticon_api/Infrastructure/Kuaidi100/Common/Request/Label/DeliveryTimeParam.cs
2023-10-20 21:58:42 +08:00

41 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Newtonsoft.Json;
/// <summary>
/// 快递预估时效查询接口请求参数
/// </summary>
namespace Common.Request.Label
{
public class DeliveryTimeParam
{
/// <summary>
/// 快递公司编码
/// </summary>
/// <value></value>
public string kuaidicom;
/// <summary>
/// 出发地地址需包含3级及以上例如广东深圳南山区
/// </summary>
/// <value></value>
public string from;
/// <summary>
/// 目的地地址需包含3级及以上例如北京海淀区
/// </summary>
/// <value></value>
public string to;
/// <summary>
/// 下单时间格式要求yyyy-MM-dd HH:mm:ss, 例如2023-08-08 08:08:08
/// </summary>
/// <value></value>
public string orderTime;
/// <summary>
/// 产品类型
/// </summary>
/// <value></value>
public string expType;
public override string ToString()
{
return JsonConvert.SerializeObject(this, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore });
}
}
}