lijin
2025-11-20 ee552e8f4dd8a2d7bd59f7bd87845de0188d7a36
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
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace ApiTools.Core
{
    /// <summary>
    /// 查询渠道钱包交易详情
    /// </summary>
    [Resource([EnumResourceController.UserServerChannelWallet], Method = EnumResourceMethod.Post)]
    public class GetChannelWalletTransactionsQuery : IRequest<GetChannelWalletTransactionsQueryResult>
    {
        /// <summary>
        /// 外部订单号
        /// </summary>
        public List<string> OutCodes { get; set; } = [];
    }
 
    /// <summary>
    /// 查询渠道钱包交易详情
    /// </summary>
    public class GetChannelWalletTransactionsQueryResult
    {
        /// <summary>
        /// 项
        /// </summary>
        public List<GetChannelWalletTransactionsQueryResultItem> Items { get; set; } = [];
    }
 
    /// <summary>
    /// 查询渠道钱包交易详情
    /// </summary>
    public class GetChannelWalletTransactionsQueryResultItem
    {
        /// <summary>
        /// 交易Id
        /// </summary>
        public Guid Id { get; set; }
 
        /// <summary>
        /// 类型
        /// </summary>
        public EnumWalletTransactionType Type { get; set; }
 
        /// <summary>
        /// 订单号
        /// </summary>
        public string Code { get; set; }
 
        /// <summary>
        /// 外部订单号
        /// </summary>
        public string OutCode { get; set; }
 
        /// <summary>
        /// 并发锁
        /// </summary>
        public string ConcurrencyLock { get; set; }
 
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
 
        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }
 
        /// <summary>
        /// 收支后余额
        /// </summary>
        public decimal AfterBalance { get; set; }
 
        /// <summary>
        /// 外部操作人Id
        /// </summary>
        public string OutOperatorId { get; set; }
 
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperatorTime { get; set; }
 
        /// <summary>
        /// 付款人账户
        /// </summary>
        public string PayerAccount { get; set; }
 
        /// <summary>
        /// 付款人名称
        /// </summary>
        public string PayerName { get; set; }
 
        /// <summary>
        /// 付款人开户行
        /// </summary>
        public string PayerBank { get; set; }
 
        /// <summary>
        /// 付款人支行
        /// </summary>
        public string PayerBankBranch { get; set; }
 
        /// <summary>
        /// 外部收款人Id
        /// </summary>
        public string OutReceiveId { get; set; }
 
        /// <summary>
        /// 收款人姓名
        /// </summary>
        public string ReceiveName { get; set; }
 
        /// <summary>
        /// 收款人身份证号
        /// </summary>
        public string ReceiveIdentity { get; set; }
 
        /// <summary>
        /// 收款账户
        /// </summary>
        public string ReceiveAccount { get; set; }
 
        /// <summary>
        /// 收款人开户行
        /// </summary>
        public string ReceiveBank { get; set; }
 
        /// <summary>
        /// 收款人支行
        /// </summary>
        public string ReceiveBankBranch { get; set; }
 
        /// <summary>
        /// 币种
        /// </summary>
        public string Currency { get; set; }
 
        /// <summary>
        /// 用途
        /// </summary>
        public string Purpose { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
 
        /// <summary>
        /// 查询到的订单状态为FAIL失败或REFUND退票时,返回错误代码
        /// </summary>
        public string ErrorCode { get; set; }
 
        /// <summary>
        /// 查询到的订单状态为FAIL失败或REFUND退票时,返回具体的原因。
        /// </summary>
        public string FailReason { get; set; }
 
        /// <summary>
        /// 订单支付时间
        /// </summary>
        public DateTime? TransDate { get; set; }
 
        /// <summary>
        /// 预计收费金额(元),转账到银行卡专用
        /// </summary>
        public decimal? OrderFee { get; set; }
 
        /// <summary>
        /// 电子收据Id
        /// </summary>
        public string EreceiptFileId { get; set; }
 
        /// <summary>
        /// 电子收据下载链接
        /// </summary>
        public string EreceiptDownloadUrl { get; set; }
 
        /// <summary>
        /// 电子收据下载链接
        /// </summary>
        public string EreceiptDownloadOssUrl { get; set; }
 
        /// <summary>
        /// 电子收据下载链接
        /// </summary>
        public string EreceiptDownloadOssFullUrl { get; set; }
 
        /// <summary>
        /// 电子收据状态
        /// </summary>
        public EnumWalletTransactionEreceiptStatus? EreceiptStatus { get; set; }
 
        /// <summary>
        /// 电子收据错误信息
        /// </summary>
        public string EreceiptErrorMessage { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        public EnumWalletTransactionStatus TransactionStatus { get; set; }
    }
}