using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiAlitripBtripInvoiceSearchResponse. /// public class OapiAlitripBtripInvoiceSearchResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误信息 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 发票列表 /// [XmlArray("invoice")] [XmlArrayItem("open_invoice_do")] public List Invoice { get; set; } /// /// 成功标识 /// [XmlElement("success")] public bool Success { get; set; } /// /// OpenInvoiceDoDomain Data Structure. /// [Serializable] public class OpenInvoiceDoDomain : TopObject { /// /// 商旅发票id /// [XmlElement("id")] public long Id { get; set; } /// /// 第三方发票id /// [XmlElement("third_part_invoice_id")] public string ThirdPartInvoiceId { get; set; } /// /// 发票抬头 /// [XmlElement("title")] public string Title { get; set; } } } }