using Newtonsoft.Json; namespace Common.Request.internationalshipment { public class InvoiceInfo { /// /// 发票日期(格式:yyyy-MM-dd) /// public string date { get; set; } /// /// 发票号 /// public string number { get; set; } /// /// 发票类型 /// public string type { get; set; } /// /// 发票抬头,base64字符或常规字符,不同快递公司要求不一样 /// public string title { get; set; } /// /// 发票签名(BASE64字符串) /// public string signature { get; set; } /// /// 是否启用无纸化贸易 /// public bool pltEnable { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } } }