using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// CorpInvoiceGettitleResponse. /// public class CorpInvoiceGettitleResponse : DingTalkResponse { /// /// result /// [XmlElement("result")] public DingOpenResultDomain Result { get; set; } /// /// InvoiceVoDomain Data Structure. /// [Serializable] public class InvoiceVoDomain : TopObject { /// /// 银行账户 /// [XmlElement("account")] public string Account { get; set; } /// /// 企业注册地址 /// [XmlElement("address")] public string Address { get; set; } /// /// 开户行 /// [XmlElement("bank_name")] public string BankName { get; set; } /// /// 联系方式 /// [XmlElement("contact")] public string Contact { get; set; } /// /// 税号 /// [XmlElement("duty_para")] public string DutyPara { get; set; } /// /// 备注 /// [XmlElement("remark")] public string Remark { get; set; } /// /// 发票抬头 /// [XmlElement("title")] public string Title { get; set; } } /// /// DingOpenResultDomain Data Structure. /// [Serializable] public class DingOpenResultDomain : TopObject { /// /// dingOpenErrcode /// [XmlElement("ding_open_errcode")] public long DingOpenErrcode { get; set; } /// /// errorMsg /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// result /// [XmlElement("invoice")] public InvoiceVoDomain Invoice { get; set; } /// /// success /// [XmlElement("success")] public bool Success { get; set; } } } }