using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// AlipayFundTransInvoiceSyncdataModifyModel Data Structure. /// [Serializable] public class AlipayFundTransInvoiceSyncdataModifyModel : AopObject { /// /// 票据总金额(元) /// [XmlElement("amount")] public string Amount { get; set; } /// /// 所属地区,用于区分不同地区票据应用 /// [XmlElement("area")] public string Area { get; set; } /// /// 票据文件格式(PDF,JPG等) 目前只支持PDF /// [XmlElement("file_type")] public string FileType { get; set; } /// /// 票据代码 /// [XmlElement("invoice_code")] public string InvoiceCode { get; set; } /// /// 票据名称 /// [XmlElement("invoice_name")] public string InvoiceName { get; set; } /// /// 票据号码 /// [XmlElement("invoice_number")] public string InvoiceNumber { get; set; } /// /// 发票类型(person:个人,enterprise:企业) /// [XmlElement("invoice_type")] public string InvoiceType { get; set; } /// /// 1 是区块链 0 非区块链 /// [XmlElement("is_block")] public string IsBlock { get; set; } /// /// 默认0,是否是历史数据同步。历史数据不发蚂蚁森林能量 0 非历史数据 1 是历史数据 /// [XmlElement("is_old_data_sync")] public string IsOldDataSync { get; set; } /// /// 支付宝开票流水号,可空。核对使用 /// [XmlElement("open_biz_no")] public string OpenBizNo { get; set; } /// /// 票据开具单位代码 /// [XmlElement("party_code")] public string PartyCode { get; set; } /// /// 票据开具单位名称 /// [XmlElement("party_name")] public string PartyName { get; set; } /// /// 付款人统一信用代码 /// [XmlElement("payer_id")] public string PayerId { get; set; } /// /// 当user_id不传值时payer_id_type必须传值,含义为用户身份标识类型 1 身份证 /// [XmlElement("payer_id_type")] public string PayerIdType { get; set; } /// /// 当user_id为空时,payer_id_value必须传值,内容为与payer_id_type对应的标识值,如身份证号130xxx /// [XmlElement("payer_id_value")] public string PayerIdValue { get; set; } /// /// 付款人姓名 /// [XmlElement("payer_name")] public string PayerName { get; set; } /// /// 票据状态: 1正常,2作废,3已报销,4已换开 5红冲 /// [XmlElement("status")] public string Status { get; set; } /// /// 开票时间(UTC时间戳精确到秒) /// [XmlElement("time")] public string Time { get; set; } /// /// 票据状态: 1医疗,2捐赠,3教育,4罚没,5其他 /// [XmlElement("type")] public string Type { get; set; } /// /// PDF票据URL(目前不支持传图片URL) /// [XmlElement("url")] public string Url { get; set; } /// /// 支付宝用户id,若为空,则payer_id_type,payer_id_valuey用户身份标识内容必填 /// [XmlElement("user_id")] public string UserId { get; set; } /// /// 校验码 /// [XmlElement("verify")] public string Verify { get; set; } } }