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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
 
namespace DingTalk.Api.Response
{
    /// <summary>
    /// OapiDingpayBillBatchqueryResponse.
    /// </summary>
    public class OapiDingpayBillBatchqueryResponse : DingTalkResponse
    {
        /// <summary>
        /// 错误代码
        /// </summary>
        [XmlElement("errcode")]
        public long Errcode { get; set; }
 
        /// <summary>
        /// 错误文案
        /// </summary>
        [XmlElement("errmsg")]
        public string Errmsg { get; set; }
 
        /// <summary>
        /// result
        /// </summary>
        [XmlElement("result")]
        public BillBatchQueryOpenResponseDomain Result { get; set; }
 
        /// <summary>
        /// 是否成功
        /// </summary>
        [XmlElement("success")]
        public bool Success { get; set; }
 
    /// <summary>
/// DingPayBillOpenBoDomain Data Structure.
/// </summary>
[Serializable]
 
public class DingPayBillOpenBoDomain : TopObject
{
            /// <summary>
            /// 金额(单位:分)
            /// </summary>
            [XmlElement("amount")]
            public long Amount { get; set; }
    
            /// <summary>
            /// 发起支付操作员userId
            /// </summary>
            [XmlElement("apply_pay_operator_userid")]
            public string ApplyPayOperatorUserid { get; set; }
    
            /// <summary>
            /// INCOME收入、EXPENSE支出
            /// </summary>
            [XmlElement("bill_category")]
            public string BillCategory { get; set; }
    
            /// <summary>
            /// 账单号
            /// </summary>
            [XmlElement("bill_no")]
            public string BillNo { get; set; }
    
            /// <summary>
            /// 业务代码
            /// </summary>
            [XmlElement("biz_code")]
            public string BizCode { get; set; }
    
            /// <summary>
            /// 创单操作员userId
            /// </summary>
            [XmlElement("create_operator_userid")]
            public string CreateOperatorUserid { get; set; }
    
            /// <summary>
            /// 扩展属性
            /// </summary>
            [XmlElement("extension")]
            public string Extension { get; set; }
    
            /// <summary>
            /// 申请支付时间
            /// </summary>
            [XmlElement("gmt_apply_pay")]
            public string GmtApplyPay { get; set; }
    
            /// <summary>
            /// 创单时间
            /// </summary>
            [XmlElement("gmt_create")]
            public string GmtCreate { get; set; }
    
            /// <summary>
            /// 记录更新时间
            /// </summary>
            [XmlElement("gmt_modified")]
            public string GmtModified { get; set; }
    
            /// <summary>
            /// 完成付款时间
            /// </summary>
            [XmlElement("gmt_pay")]
            public string GmtPay { get; set; }
    
            /// <summary>
            /// 订单号
            /// </summary>
            [XmlElement("order_no")]
            public string OrderNo { get; set; }
    
            /// <summary>
            /// 外部流水号
            /// </summary>
            [XmlElement("out_biz_no")]
            public string OutBizNo { get; set; }
    
            /// <summary>
            /// 支付渠道
            /// </summary>
            [XmlElement("pay_channel")]
            public string PayChannel { get; set; }
    
            /// <summary>
            /// 支付渠道方流水号
            /// </summary>
            [XmlElement("pay_channel_biz_no")]
            public string PayChannelBizNo { get; set; }
    
            /// <summary>
            /// 收款方真实账号
            /// </summary>
            [XmlElement("pay_channel_payee_real_uid")]
            public string PayChannelPayeeRealUid { get; set; }
    
            /// <summary>
            /// 支付渠道方付款者实际出资UID
            /// </summary>
            [XmlElement("pay_channel_payer_real_uid")]
            public string PayChannelPayerRealUid { get; set; }
    
            /// <summary>
            /// 收款者corpId或者userId
            /// </summary>
            [XmlElement("payee_id")]
            public string PayeeId { get; set; }
    
            /// <summary>
            /// 收款者类型
            /// </summary>
            [XmlElement("payee_user_type")]
            public string PayeeUserType { get; set; }
    
            /// <summary>
            /// 付款者corpId或者userId
            /// </summary>
            [XmlElement("payer_id")]
            public string PayerId { get; set; }
    
            /// <summary>
            /// 付款者类型
            /// </summary>
            [XmlElement("payer_user_type")]
            public string PayerUserType { get; set; }
    
            /// <summary>
            /// 记账主体corpId或者userId
            /// </summary>
            [XmlElement("principal_id")]
            public string PrincipalId { get; set; }
    
            /// <summary>
            /// 收款人账户类型
            /// </summary>
            [XmlElement("receiptor_type")]
            public string ReceiptorType { get; set; }
    
            /// <summary>
            /// 来源应用ID
            /// </summary>
            [XmlElement("source_app_id")]
            public string SourceAppId { get; set; }
    
            /// <summary>
            /// 状态
            /// </summary>
            [XmlElement("status")]
            public string Status { get; set; }
    
            /// <summary>
            /// 中止操作员id
            /// </summary>
            [XmlElement("termination_operator_id")]
            public string TerminationOperatorId { get; set; }
    
            /// <summary>
            /// 中止支付原因
            /// </summary>
            [XmlElement("termination_reason")]
            public string TerminationReason { get; set; }
    
            /// <summary>
            /// 标题
            /// </summary>
            [XmlElement("title")]
            public string Title { get; set; }
}
 
    /// <summary>
/// BillBatchQueryOpenResponseDomain Data Structure.
/// </summary>
[Serializable]
 
public class BillBatchQueryOpenResponseDomain : TopObject
{
            /// <summary>
            /// billList
            /// </summary>
            [XmlArray("bill_list")]
            [XmlArrayItem("ding_pay_bill_open_bo")]
            public List<DingPayBillOpenBoDomain> BillList { get; set; }
    
            /// <summary>
            /// 当前页码
            /// </summary>
            [XmlElement("current_page_num")]
            public long CurrentPageNum { get; set; }
    
            /// <summary>
            /// 如果nextKey不为空,说明还有翻页数据
            /// </summary>
            [XmlElement("next_key")]
            public string NextKey { get; set; }
    
            /// <summary>
            /// 每页大小
            /// </summary>
            [XmlElement("page_size")]
            public long PageSize { get; set; }
    
            /// <summary>
            /// 总记录条数
            /// </summary>
            [XmlElement("total_count")]
            public long TotalCount { get; set; }
    
            /// <summary>
            /// 总页数
            /// </summary>
            [XmlElement("total_page")]
            public long TotalPage { get; set; }
}
 
    }
}