zhengyiming
14 小时以前 43e28aece364ad351d61eca30c6707fcdc197ca4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using Tea;
 
namespace LifePayment.Domain
{
    public class DataBillEreceiptQueryInput
    {
 
        /// <summary>
        /// 文件申请号file_id信息。使用file_id可以查询处理状态
        /// </summary>
        [JsonProperty("file_id", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string FileId
        {
            get;
            set;
        }
 
 
        /// <summary>
        /// ISV与商户签约授权协议号。
        /// </summary>
        [JsonProperty("agreement_no", NullValueHandling = NullValueHandling.Ignore)]
        public string AgreementNo
        {
            get;
            set;
        }
    }
 
    public class DataBillEreceiptQueryResponse : AlipayBaseOutput
    {
        /// <summary>
        /// 处理状态
        /// INIT - 初始化
        /// PROCESS - 处理中
        /// SUCCESS - 成功
        /// FAIL - 失败
        /// </summary>
        [NameInMap("status")]
        public string Status
        {
            get;
            set;
        }
 
        /// <summary>
        /// 下载链接。status为SUCCESS时返回。用户可以使用此http链接下载文件内容。有效时间20s。
        /// 生成的文件是zip格式。需要解压后获取电子回单pdf内容
        /// </summary>
        [NameInMap("download_url")]
        public string DownloadUrl
        {
            get;
            set;
        }
 
        /// <summary>
        /// 如果生成失败,则会返回失败原因
        /// </summary>
        [NameInMap("error_message")]
        public string ErrorMessage
        {
            get;
            set;
        }
    }
}