You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.4 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
}
}