zhengyuxuan
2025-04-03 06f7ccdea12e211d05f6eef75e6e2fb4b493377c
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
using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
 
namespace LifePayment.Domain
{
    public class FundBatchUniTransferInput
    {
        /// <summary>
        /// 商户的批次号
        /// </summary>
        [JsonProperty("out_batch_no", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string OutBatchNo
        {
            set;
            get;
        }
 
        /// <summary>
        /// 销售产品码,商家和支付宝签约的产品码
        /// </summary>
        [JsonProperty("product_code", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string ProductCode
        {
            set;
            get;
        }
 
 
        /// <summary>
        /// 业务场景。不同场景值不同,具体值联系支付宝确认。    MESSAGE_BATCH_PAY
        /// </summary>
        [JsonProperty("biz_scene", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string BizScene
        {
            set;
            get;
        }
 
        /// <summary>
        /// 订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,9999999999999.99]
        /// </summary>
        [JsonProperty("total_trans_amount", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public double TotaltransAmount
        {
            set;
            get;
        }
 
 
        /// <summary>
        /// 批次总笔数
        /// </summary>
        [JsonProperty("total_count", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string TotalCount
        {
            set;
            get;
        }
 
        /// <summary>
        /// 付款方信息
        /// </summary>
        [JsonProperty("payer_info", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public Participant PayerInfo
        {
            set;
            get;
        }
 
        /// <summary>
        /// 收款信息列表
        /// </summary>
        [JsonProperty("trans_order_list", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public List<TransOrderDetail> TransOrderList
        {
            set;
            get;
        }
 
        /// <summary>
        /// 转账备注
        /// </summary>
        [JsonProperty("remark", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string Remark
        {
            set;
            get;
        }
 
 
 
        /// <summary>
        /// 支付绝对超时时间,格式为yyyy-MM-dd HH:mm
        /// </summary>
        [JsonProperty("time_expire", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string TimeExpire
        {
            set;
            get;
        }
 
 
        /// <summary>
        /// JSON格式,传递业务扩展参数,使用前请与支付宝工程师联系! {"agreement_no":"2019000000000"} 授权协议号
        /// </summary>
        [JsonProperty("business_params", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string BusinessParams
        {
            set;
            get;
        }
    }
 
    public class TransOrderDetail
    {
 
        /// <summary>
        /// 商户订单号
        /// </summary>
        [JsonProperty("out_biz_no", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string OutBizNo
        {
            set;
            get;
        }
 
        /// <summary>
        /// 转账金额
        /// </summary>
        [JsonProperty("trans_amount", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string TransAmount
        {
            set;
            get;
        }
 
        /// <summary>
        /// 收款方信息
        /// </summary>
        [JsonProperty("payee_info", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public Participant PayeeInfo
        {
            set;
            get;
        }
 
        /// <summary>
        /// 转账订单的标题,用于在收银台和消费记录展示
        /// </summary>
        [JsonProperty("order_title", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string OrderTitle
        {
            set;
            get;
        }
 
        /// <summary>
        /// 转账备注,收、付款方均可见,收款方如果是支付宝账号,会展示在收款方账单里。
        /// </summary>
        [JsonProperty("remark", NullValueHandling = NullValueHandling.Ignore)]
        [Required]
        public string Remark
        {
            set;
            get;
        }
    }
 
 
 
}