using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using Tea; namespace LifePayment.Domain { public class DataBillEreceiptQueryInput { /// /// 文件申请号file_id信息。使用file_id可以查询处理状态 /// [JsonProperty("file_id", NullValueHandling = NullValueHandling.Ignore)] [Required] public string FileId { get; set; } /// /// ISV与商户签约授权协议号。 /// [JsonProperty("agreement_no", NullValueHandling = NullValueHandling.Ignore)] public string AgreementNo { get; set; } } public class DataBillEreceiptQueryResponse : AlipayBaseOutput { /// /// 处理状态 /// INIT - 初始化 /// PROCESS - 处理中 /// SUCCESS - 成功 /// FAIL - 失败 /// [NameInMap("status")] public string Status { get; set; } /// /// 下载链接。status为SUCCESS时返回。用户可以使用此http链接下载文件内容。有效时间20s。 /// 生成的文件是zip格式。需要解压后获取电子回单pdf内容 /// [NameInMap("download_url")] public string DownloadUrl { get; set; } /// /// 如果生成失败,则会返回失败原因 /// [NameInMap("error_message")] public string ErrorMessage { get; set; } } }