xcx_temp_api/Infrastructure/Kuaidi100/Common/Request/Bsamecity/BsamecityOrderParam.cs
2023-10-20 21:58:42 +08:00

162 lines
5.6 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 System.Collections.Generic;
using Newtonsoft.Json;
namespace Common.Request.Bsamecity
{
public class BsamecityOrderParam{
/// <summary>
/// 快递公司的编码,一律用小写字母,见《快递公司编码》
/// <summary>
/// <value></value>
public string kuaidicom {get; set;}
/// <summary>
/// 坐标类型(1百度坐标2高德坐标 ,默认2)
/// <summary>
/// <value></value>
public int lbsType {get; set;}
/// <summary>
/// 收件人姓名长度最大20
/// <summary>
/// <value></value>
public string recManName {get; set;}
/// <summary>
/// 收件人的手机号(有手机号和固话正则校验)
/// <summary>
/// <value></value>
public string recManMobile {get; set;}
/// <summary>
/// 收件人所在的省长度最大20
/// <summary>
/// <value></value>
public string recManProvince {get; set;}
/// <summary>
/// 收件人所在的市长度最大20
/// <summary>
/// <value></value>
public string recManCity {get; set;}
/// <summary>
/// 收件人所在的区长度最大20
/// <summary>
/// <value></value>
public string recManDistrict {get; set;}
/// <summary>
/// 收件人所在的完整地址,如 科技南十二路2号金蝶软件园B10长度最大100
/// <summary>
/// <value></value>
public string recManAddr {get; set;}
/// <summary>
/// 收件人地址纬度默认高德坐标长度最大10
/// <summary>
/// <value></value>
public string recManLat {get; set;}
/// <summary>
/// 收件人地址经度默认高德坐标长度最大10
/// <summary>
/// <value></value>
public string recManLng {get; set;}
/// <summary>
/// 寄件人姓名长度最大20
/// <summary>
/// <value></value>
public string sendManName {get; set;}
/// <summary>
/// 寄件人的手机号(有手机号和固话正则校验)
/// <summary>
/// <value></value>
public string sendManMobile {get; set;}
/// <summary>
/// 寄件人所在的省长度最大20
/// <summary>
/// <value></value>
public string sendManProvince {get; set;}
/// <summary>
/// 寄件人所在的市长度最大20
/// <summary>
/// <value></value>
public string sendManCity {get; set;}
/// <summary>
/// 寄件人所在的区长度最大20
/// <summary>
/// <value></value>
public string sendManDistrict {get; set;}
/// <summary>
/// 寄件人所在的完整地址,如 科技南十二路2号金蝶软件园B10长度最大100
/// <summary>
/// <value></value>
public string sendManAddr {get; set;}
/// <summary>
/// 寄件人地址纬度默认高德坐标长度最大10
/// <summary>
/// <value></value>
public string sendManLat {get; set;}
/// <summary>
/// 寄件人地址经度默认高德坐标长度最大10
/// <summary>
/// <value></value>
public string sendManLng {get; set;}
/// <summary>
/// 物品总重量KG1.5单位kg
/// <summary>
/// <value></value>
public string weight {get; set;}
/// <summary>
/// 备注,例测试寄件长度最多255
/// <summary>
/// <value></value>
public string remark {get; set;}
/// <summary>
/// 体积cm3长度最多20
/// <summary>
/// <value></value>
public string volume {get; set;}
/// <summary>
/// 0无需预约 1预约单送达时间 2预约单上门时间 默认为0
/// <summary>
/// <value></value>
public int orderType {get; set;}
/// <summary>
/// 取货时间orderType=2时必填例子2020-02-02 22:00
/// <summary>
/// <value></value>
public string expectPickupTime {get; set;}
/// <summary>
/// 期望送达时间orderType=1时必填例子2020-02-02 22:00
/// <summary>
/// <value></value>
public string expectFinishTime {get; set;}
/// <summary>
/// 保价物品金额
/// <summary>
/// <value></value>
public string insurance {get; set;}
/// <summary>
/// 物品总金额100.23
/// <summary>
/// <value></value>
public string price {get; set;}
/// <summary>
/// 是否为专人直送订单0为否1为是
/// <summary>
/// <value></value>
public int directDelivery {get; set;}
/// <summary>
/// 商品详情
/// <summary>
/// <value></value>
public List<Goods> goods {get; set;}
/// <summary>
/// 下单结果回调地址
/// <summary>
/// <value></value>
public string callbackUrl {get; set;}
/// <summary>
/// 签名用随机字符串长度最多20
/// <summary>
/// <value></value>
public string salt {get; set;}
public override string ToString()
{
return JsonConvert.SerializeObject(this,Formatting.Indented,new JsonSerializerSettings(){NullValueHandling = NullValueHandling.Ignore});
}
}
}