|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Application.Service.ExpressDelivery.Dto
|
|
|
|
|
{
|
|
|
|
|
public class SFSendBooking
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public List<CargoDetailsItem> cargoDetails { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<ContactInfoListItem> contactInfoList { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 响应报文的语言, 缺省值为zh-CN,目前支持以下值zh-CN 表示中文简体, zh-TW或zh-HK或 zh-MO表示中文繁体, en表示英文
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string language { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户订单号,重复使用订单号时返回第一次下单成功时的运单信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string orderId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class CargoDetailsItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物数量 跨境件报关需要填写
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int count { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物名称,如果需要生成电子 运单,则为必填
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string name { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class ContactInfoListItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 详细地址,若有四级行政区划,如镇/街道等信息可拼接至此字段,格式样例:镇/街道+详细地址。若province/city 字段的值不传,此字段必须包含省市信息,避免影响原寄地代码识别,如:广东省深圳市福田区新洲十一街万基商务大厦10楼;此字段地址必须详细,否则会影响目的地中转识别;
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string address { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string contact { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址类型: 1,寄件方信息 2,到件方信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int contactType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 国家或地区代码 例如:内地件CN 香港852 参照附录《城市代码表》
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string country { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮编,跨境件必填(中国内地, 港澳台互寄除外)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string postCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 联系电话(tel和mobile字段必填其中一个)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string tel { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|