tencentcloud-sdk-partners 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1950 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Partners
19
+ module V20180321
20
+ # 已审核代客信息
21
+ class AgentAuditedClient < TencentCloud::Common::AbstractModel
22
+ # @param Uin: 代理商账号ID
23
+ # @type Uin: String
24
+ # @param ClientUin: 代客账号ID
25
+ # @type ClientUin: String
26
+ # @param AgentTime: 代客审核通过时间戳
27
+ # @type AgentTime: String
28
+ # @param ClientFlag: 代客类型,可能值为a/b/c
29
+ # @type ClientFlag: String
30
+ # @param ClientRemark: 代客备注
31
+ # @type ClientRemark: String
32
+ # @param ClientName: 代客名称(首选实名认证名称)
33
+ # @type ClientName: String
34
+ # @param AuthType: 认证类型, 0:个人,1:企业;其他:未认证
35
+ # @type AuthType: String
36
+ # @param AppId: 代客APPID
37
+ # @type AppId: String
38
+ # @param LastMonthAmt: 上月消费金额
39
+ # @type LastMonthAmt: Integer
40
+ # @param ThisMonthAmt: 本月消费金额
41
+ # @type ThisMonthAmt: Integer
42
+ # @param HasOverdueBill: 是否欠费,0:不欠费;1:欠费
43
+ # @type HasOverdueBill: Integer
44
+ # @param ClientType: 客户类型:可以为new(新拓)/assign(指定)/old(存量已关联)/old_newchecking(存量-新关联考核中)/old_newnotpass(存量-新关联未达标)/direct(直销)/direct_newopp(直销(新商机))/空
45
+ # @type ClientType: String
46
+ # @param ProjectType: 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目 )/空
47
+ # @type ProjectType: String
48
+ # @param SalesUin: 业务员ID
49
+ # 注意:此字段可能返回 null,表示取不到有效值。
50
+ # @type SalesUin: String
51
+ # @param SalesName: 业务员姓名
52
+ # 注意:此字段可能返回 null,表示取不到有效值。
53
+ # @type SalesName: String
54
+ # @param Mail: 代客邮箱
55
+ # 注意:此字段可能返回 null,表示取不到有效值。
56
+ # @type Mail: String
57
+
58
+ attr_accessor :Uin, :ClientUin, :AgentTime, :ClientFlag, :ClientRemark, :ClientName, :AuthType, :AppId, :LastMonthAmt, :ThisMonthAmt, :HasOverdueBill, :ClientType, :ProjectType, :SalesUin, :SalesName, :Mail
59
+
60
+ def initialize(uin=nil, clientuin=nil, agenttime=nil, clientflag=nil, clientremark=nil, clientname=nil, authtype=nil, appid=nil, lastmonthamt=nil, thismonthamt=nil, hasoverduebill=nil, clienttype=nil, projecttype=nil, salesuin=nil, salesname=nil, mail=nil)
61
+ @Uin = uin
62
+ @ClientUin = clientuin
63
+ @AgentTime = agenttime
64
+ @ClientFlag = clientflag
65
+ @ClientRemark = clientremark
66
+ @ClientName = clientname
67
+ @AuthType = authtype
68
+ @AppId = appid
69
+ @LastMonthAmt = lastmonthamt
70
+ @ThisMonthAmt = thismonthamt
71
+ @HasOverdueBill = hasoverduebill
72
+ @ClientType = clienttype
73
+ @ProjectType = projecttype
74
+ @SalesUin = salesuin
75
+ @SalesName = salesname
76
+ @Mail = mail
77
+ end
78
+
79
+ def deserialize(params)
80
+ @Uin = params['Uin']
81
+ @ClientUin = params['ClientUin']
82
+ @AgentTime = params['AgentTime']
83
+ @ClientFlag = params['ClientFlag']
84
+ @ClientRemark = params['ClientRemark']
85
+ @ClientName = params['ClientName']
86
+ @AuthType = params['AuthType']
87
+ @AppId = params['AppId']
88
+ @LastMonthAmt = params['LastMonthAmt']
89
+ @ThisMonthAmt = params['ThisMonthAmt']
90
+ @HasOverdueBill = params['HasOverdueBill']
91
+ @ClientType = params['ClientType']
92
+ @ProjectType = params['ProjectType']
93
+ @SalesUin = params['SalesUin']
94
+ @SalesName = params['SalesName']
95
+ @Mail = params['Mail']
96
+ end
97
+ end
98
+
99
+ # 业务信息定义
100
+ class AgentBillElem < TencentCloud::Common::AbstractModel
101
+ # @param Uin: 代理商账号ID
102
+ # @type Uin: String
103
+ # @param OrderId: 订单号,仅对预付费账单有意义
104
+ # @type OrderId: String
105
+ # @param ClientUin: 代客账号ID
106
+ # @type ClientUin: String
107
+ # @param ClientRemark: 代客备注名称
108
+ # @type ClientRemark: String
109
+ # @param PayTime: 支付时间
110
+ # @type PayTime: String
111
+ # @param GoodsType: 云产品名称
112
+ # @type GoodsType: String
113
+ # @param PayMode: 预付费/后付费
114
+ # @type PayMode: String
115
+ # @param SettleMonth: 支付月份
116
+ # @type SettleMonth: String
117
+ # @param Amt: 支付金额,单位分
118
+ # @type Amt: Integer
119
+ # @param PayerMode: agentpay:代付;selfpay:自付
120
+ # @type PayerMode: String
121
+ # @param ClientType: 客户类型:可以为new(新拓)/assign(指定)/old(存量)/空
122
+ # 注意:此字段可能返回 null,表示取不到有效值。
123
+ # @type ClientType: String
124
+ # @param ProjectType: 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目 )/空
125
+ # 注意:此字段可能返回 null,表示取不到有效值。
126
+ # @type ProjectType: String
127
+ # @param ActivityId: 活动ID
128
+ # 注意:此字段可能返回 null,表示取不到有效值。
129
+ # @type ActivityId: String
130
+
131
+ attr_accessor :Uin, :OrderId, :ClientUin, :ClientRemark, :PayTime, :GoodsType, :PayMode, :SettleMonth, :Amt, :PayerMode, :ClientType, :ProjectType, :ActivityId
132
+
133
+ def initialize(uin=nil, orderid=nil, clientuin=nil, clientremark=nil, paytime=nil, goodstype=nil, paymode=nil, settlemonth=nil, amt=nil, payermode=nil, clienttype=nil, projecttype=nil, activityid=nil)
134
+ @Uin = uin
135
+ @OrderId = orderid
136
+ @ClientUin = clientuin
137
+ @ClientRemark = clientremark
138
+ @PayTime = paytime
139
+ @GoodsType = goodstype
140
+ @PayMode = paymode
141
+ @SettleMonth = settlemonth
142
+ @Amt = amt
143
+ @PayerMode = payermode
144
+ @ClientType = clienttype
145
+ @ProjectType = projecttype
146
+ @ActivityId = activityid
147
+ end
148
+
149
+ def deserialize(params)
150
+ @Uin = params['Uin']
151
+ @OrderId = params['OrderId']
152
+ @ClientUin = params['ClientUin']
153
+ @ClientRemark = params['ClientRemark']
154
+ @PayTime = params['PayTime']
155
+ @GoodsType = params['GoodsType']
156
+ @PayMode = params['PayMode']
157
+ @SettleMonth = params['SettleMonth']
158
+ @Amt = params['Amt']
159
+ @PayerMode = params['PayerMode']
160
+ @ClientType = params['ClientType']
161
+ @ProjectType = params['ProjectType']
162
+ @ActivityId = params['ActivityId']
163
+ end
164
+ end
165
+
166
+ # 描述待审核代客信息
167
+ class AgentClientElem < TencentCloud::Common::AbstractModel
168
+ # @param Uin: 代理商账号ID
169
+ # @type Uin: String
170
+ # @param ClientUin: 代客账号ID
171
+ # @type ClientUin: String
172
+ # @param ApplyTime: 代客申请时间戳
173
+ # @type ApplyTime: Integer
174
+ # @param ClientFlag: 代客类型,可能值为a/b/c
175
+ # @type ClientFlag: String
176
+ # @param Mail: 代客邮箱,打码显示
177
+ # @type Mail: String
178
+ # @param Phone: 代客手机,打码显示
179
+ # @type Phone: String
180
+ # @param HasOverdueBill: 0表示不欠费,1表示欠费
181
+ # @type HasOverdueBill: Integer
182
+ # @param Status: 1:待代理商审核;2:待腾讯云审核4:待腾讯云渠道审批
183
+ # @type Status: Integer
184
+ # @param SalesUin: 业务员ID
185
+ # 注意:此字段可能返回 null,表示取不到有效值。
186
+ # @type SalesUin: String
187
+ # @param SalesName: 业务员姓名
188
+ # 注意:此字段可能返回 null,表示取不到有效值。
189
+ # @type SalesName: String
190
+ # @param ClientName: 客户名称,此字段和控制台返回一致。
191
+ # 注意:此字段可能返回 null,表示取不到有效值。
192
+ # @type ClientName: String
193
+
194
+ attr_accessor :Uin, :ClientUin, :ApplyTime, :ClientFlag, :Mail, :Phone, :HasOverdueBill, :Status, :SalesUin, :SalesName, :ClientName
195
+
196
+ def initialize(uin=nil, clientuin=nil, applytime=nil, clientflag=nil, mail=nil, phone=nil, hasoverduebill=nil, status=nil, salesuin=nil, salesname=nil, clientname=nil)
197
+ @Uin = uin
198
+ @ClientUin = clientuin
199
+ @ApplyTime = applytime
200
+ @ClientFlag = clientflag
201
+ @Mail = mail
202
+ @Phone = phone
203
+ @HasOverdueBill = hasoverduebill
204
+ @Status = status
205
+ @SalesUin = salesuin
206
+ @SalesName = salesname
207
+ @ClientName = clientname
208
+ end
209
+
210
+ def deserialize(params)
211
+ @Uin = params['Uin']
212
+ @ClientUin = params['ClientUin']
213
+ @ApplyTime = params['ApplyTime']
214
+ @ClientFlag = params['ClientFlag']
215
+ @Mail = params['Mail']
216
+ @Phone = params['Phone']
217
+ @HasOverdueBill = params['HasOverdueBill']
218
+ @Status = params['Status']
219
+ @SalesUin = params['SalesUin']
220
+ @SalesName = params['SalesName']
221
+ @ClientName = params['ClientName']
222
+ end
223
+ end
224
+
225
+ # 描述代理商代付的订单信息
226
+ class AgentDealElem < TencentCloud::Common::AbstractModel
227
+ # @param DealId: 订单自增 ID
228
+ # @type DealId: String
229
+ # @param DealName: 订单号
230
+ # @type DealName: String
231
+ # @param GoodsCategoryId: 商品类型 ID
232
+ # @type GoodsCategoryId: String
233
+ # @param OwnerUin: 订单所有者
234
+ # @type OwnerUin: String
235
+ # @param AppId: 订单所有者对应 appId
236
+ # 注意:此字段可能返回 null,表示取不到有效值。
237
+ # @type AppId: String
238
+ # @param GoodsNum: 商品数量
239
+ # 注意:此字段可能返回 null,表示取不到有效值。
240
+ # @type GoodsNum: String
241
+ # @param GoodsPrice: 价格详情
242
+ # 注意:此字段可能返回 null,表示取不到有效值。
243
+ # @type GoodsPrice: :class:`Tencentcloud::Partners.v20180321.models.DealGoodsPriceElem`
244
+ # @param Creater: 下单人
245
+ # 注意:此字段可能返回 null,表示取不到有效值。
246
+ # @type Creater: String
247
+ # @param CreatTime: 下单时间
248
+ # 注意:此字段可能返回 null,表示取不到有效值。
249
+ # @type CreatTime: String
250
+ # @param PayEndTime: 支付结束时间
251
+ # 注意:此字段可能返回 null,表示取不到有效值。
252
+ # @type PayEndTime: String
253
+ # @param BillId: 扣费流水号
254
+ # 注意:此字段可能返回 null,表示取不到有效值。
255
+ # @type BillId: String
256
+ # @param Payer: 支付人
257
+ # 注意:此字段可能返回 null,表示取不到有效值。
258
+ # @type Payer: String
259
+ # @param DealStatus: 订单状态,中文描述
260
+ # 注意:此字段可能返回 null,表示取不到有效值。
261
+ # @type DealStatus: String
262
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
263
+ # 注意:此字段可能返回 null,表示取不到有效值。
264
+ # @type Status: String
265
+ # @param GoodsName: 产品名称
266
+ # 注意:此字段可能返回 null,表示取不到有效值。
267
+ # @type GoodsName: String
268
+ # @param ClientRemark: 客户备注
269
+ # 注意:此字段可能返回 null,表示取不到有效值。
270
+ # @type ClientRemark: String
271
+ # @param ActionType: 订单操作类型,purchase(新购),renew(续费),modify(配置变更)
272
+ # 注意:此字段可能返回 null,表示取不到有效值。
273
+ # @type ActionType: String
274
+ # @param VoucherDecline: 代金券抵扣金额,单位分
275
+ # 注意:此字段可能返回 null,表示取不到有效值。
276
+ # @type VoucherDecline: String
277
+ # @param BigDealId: 大订单号
278
+ # 注意:此字段可能返回 null,表示取不到有效值。
279
+ # @type BigDealId: String
280
+ # @param ClientType: 客户类型(new:新拓;old:存量;assign:指派)
281
+ # 注意:此字段可能返回 null,表示取不到有效值。
282
+ # @type ClientType: String
283
+ # @param ProjectType: 项目类型(self:自拓;repeat:直销;platform:官网合作)
284
+ # 注意:此字段可能返回 null,表示取不到有效值。
285
+ # @type ProjectType: String
286
+ # @param SalesUin: 业务员账号ID
287
+ # 注意:此字段可能返回 null,表示取不到有效值。
288
+ # @type SalesUin: String
289
+ # @param PayerMode: 支付方式,0:自付;1:代付
290
+ # 注意:此字段可能返回 null,表示取不到有效值。
291
+ # @type PayerMode: String
292
+ # @param ActivityId: 活动ID
293
+ # 注意:此字段可能返回 null,表示取不到有效值。
294
+ # @type ActivityId: String
295
+ # @param OverdueTime: 订单过期时间
296
+ # 注意:此字段可能返回 null,表示取不到有效值。
297
+ # @type OverdueTime: String
298
+ # @param ProductInfo: 产品详情
299
+ # 注意:此字段可能返回 null,表示取不到有效值。
300
+ # @type ProductInfo: Array
301
+ # @param PaymentMethod: 付款方式
302
+ # 注意:此字段可能返回 null,表示取不到有效值。
303
+ # @type PaymentMethod: String
304
+ # @param UpdateTime: 订单更新时间
305
+ # 注意:此字段可能返回 null,表示取不到有效值。
306
+ # @type UpdateTime: String
307
+
308
+ attr_accessor :DealId, :DealName, :GoodsCategoryId, :OwnerUin, :AppId, :GoodsNum, :GoodsPrice, :Creater, :CreatTime, :PayEndTime, :BillId, :Payer, :DealStatus, :Status, :GoodsName, :ClientRemark, :ActionType, :VoucherDecline, :BigDealId, :ClientType, :ProjectType, :SalesUin, :PayerMode, :ActivityId, :OverdueTime, :ProductInfo, :PaymentMethod, :UpdateTime
309
+
310
+ def initialize(dealid=nil, dealname=nil, goodscategoryid=nil, owneruin=nil, appid=nil, goodsnum=nil, goodsprice=nil, creater=nil, creattime=nil, payendtime=nil, billid=nil, payer=nil, dealstatus=nil, status=nil, goodsname=nil, clientremark=nil, actiontype=nil, voucherdecline=nil, bigdealid=nil, clienttype=nil, projecttype=nil, salesuin=nil, payermode=nil, activityid=nil, overduetime=nil, productinfo=nil, paymentmethod=nil, updatetime=nil)
311
+ @DealId = dealid
312
+ @DealName = dealname
313
+ @GoodsCategoryId = goodscategoryid
314
+ @OwnerUin = owneruin
315
+ @AppId = appid
316
+ @GoodsNum = goodsnum
317
+ @GoodsPrice = goodsprice
318
+ @Creater = creater
319
+ @CreatTime = creattime
320
+ @PayEndTime = payendtime
321
+ @BillId = billid
322
+ @Payer = payer
323
+ @DealStatus = dealstatus
324
+ @Status = status
325
+ @GoodsName = goodsname
326
+ @ClientRemark = clientremark
327
+ @ActionType = actiontype
328
+ @VoucherDecline = voucherdecline
329
+ @BigDealId = bigdealid
330
+ @ClientType = clienttype
331
+ @ProjectType = projecttype
332
+ @SalesUin = salesuin
333
+ @PayerMode = payermode
334
+ @ActivityId = activityid
335
+ @OverdueTime = overduetime
336
+ @ProductInfo = productinfo
337
+ @PaymentMethod = paymentmethod
338
+ @UpdateTime = updatetime
339
+ end
340
+
341
+ def deserialize(params)
342
+ @DealId = params['DealId']
343
+ @DealName = params['DealName']
344
+ @GoodsCategoryId = params['GoodsCategoryId']
345
+ @OwnerUin = params['OwnerUin']
346
+ @AppId = params['AppId']
347
+ @GoodsNum = params['GoodsNum']
348
+ unless params['GoodsPrice'].nil?
349
+ @GoodsPrice = DealGoodsPriceElem.new
350
+ @GoodsPrice.deserialize(params['GoodsPrice'])
351
+ end
352
+ @Creater = params['Creater']
353
+ @CreatTime = params['CreatTime']
354
+ @PayEndTime = params['PayEndTime']
355
+ @BillId = params['BillId']
356
+ @Payer = params['Payer']
357
+ @DealStatus = params['DealStatus']
358
+ @Status = params['Status']
359
+ @GoodsName = params['GoodsName']
360
+ @ClientRemark = params['ClientRemark']
361
+ @ActionType = params['ActionType']
362
+ @VoucherDecline = params['VoucherDecline']
363
+ @BigDealId = params['BigDealId']
364
+ @ClientType = params['ClientType']
365
+ @ProjectType = params['ProjectType']
366
+ @SalesUin = params['SalesUin']
367
+ @PayerMode = params['PayerMode']
368
+ @ActivityId = params['ActivityId']
369
+ @OverdueTime = params['OverdueTime']
370
+ unless params['ProductInfo'].nil?
371
+ @ProductInfo = []
372
+ params['ProductInfo'].each do |i|
373
+ productinfoelem_tmp = ProductInfoElem.new
374
+ productinfoelem_tmp.deserialize(i)
375
+ @ProductInfo << productinfoelem_tmp
376
+ end
377
+ end
378
+ @PaymentMethod = params['PaymentMethod']
379
+ @UpdateTime = params['UpdateTime']
380
+ end
381
+ end
382
+
383
+ # 描述代理商代付的订单信息
384
+ class AgentDealNewElem < TencentCloud::Common::AbstractModel
385
+ # @param DealId: 订单自增 ID
386
+ # @type DealId: String
387
+ # @param DealName: 订单号
388
+ # @type DealName: String
389
+ # @param GoodsCategoryId: 商品类型 ID
390
+ # @type GoodsCategoryId: String
391
+ # @param OwnerUin: 订单所有者
392
+ # @type OwnerUin: String
393
+ # @param AppId: 订单所有者对应 appId
394
+ # 注意:此字段可能返回 null,表示取不到有效值。
395
+ # @type AppId: String
396
+ # @param GoodsNum: 商品数量
397
+ # 注意:此字段可能返回 null,表示取不到有效值。
398
+ # @type GoodsNum: String
399
+ # @param GoodsPrice: 价格详情
400
+ # 注意:此字段可能返回 null,表示取不到有效值。
401
+ # @type GoodsPrice: :class:`Tencentcloud::Partners.v20180321.models.DealGoodsPriceNewElem`
402
+ # @param Creater: 下单人
403
+ # 注意:此字段可能返回 null,表示取不到有效值。
404
+ # @type Creater: String
405
+ # @param CreatTime: 下单时间
406
+ # 注意:此字段可能返回 null,表示取不到有效值。
407
+ # @type CreatTime: String
408
+ # @param PayEndTime: 支付结束时间
409
+ # 注意:此字段可能返回 null,表示取不到有效值。
410
+ # @type PayEndTime: String
411
+ # @param BillId: 扣费流水号
412
+ # 注意:此字段可能返回 null,表示取不到有效值。
413
+ # @type BillId: String
414
+ # @param Payer: 支付人
415
+ # 注意:此字段可能返回 null,表示取不到有效值。
416
+ # @type Payer: String
417
+ # @param DealStatus: 订单状态,中文描述
418
+ # 注意:此字段可能返回 null,表示取不到有效值。
419
+ # @type DealStatus: String
420
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
421
+ # 注意:此字段可能返回 null,表示取不到有效值。
422
+ # @type Status: String
423
+ # @param GoodsName: 产品名称
424
+ # 注意:此字段可能返回 null,表示取不到有效值。
425
+ # @type GoodsName: String
426
+ # @param ClientRemark: 客户备注
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type ClientRemark: String
429
+ # @param ActionType: 订单操作类型,purchase(新购),renew(续费),modify(配置变更)
430
+ # 注意:此字段可能返回 null,表示取不到有效值。
431
+ # @type ActionType: String
432
+ # @param VoucherDecline: 代金券抵扣金额,单位分
433
+ # 注意:此字段可能返回 null,表示取不到有效值。
434
+ # @type VoucherDecline: String
435
+ # @param BigDealId: 大订单号
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
437
+ # @type BigDealId: String
438
+ # @param ClientType: 客户类型(new:新拓;old:存量;assign:指派)
439
+ # 注意:此字段可能返回 null,表示取不到有效值。
440
+ # @type ClientType: String
441
+ # @param ProjectType: 项目类型(self:自拓;repeat:直销;platform:官网合作)
442
+ # 注意:此字段可能返回 null,表示取不到有效值。
443
+ # @type ProjectType: String
444
+ # @param SalesUin: 业务员账号ID
445
+ # 注意:此字段可能返回 null,表示取不到有效值。
446
+ # @type SalesUin: String
447
+ # @param PayerMode: 支付方式,0:自付;1:代付
448
+ # 注意:此字段可能返回 null,表示取不到有效值。
449
+ # @type PayerMode: String
450
+ # @param ActivityId: 活动ID
451
+ # 注意:此字段可能返回 null,表示取不到有效值。
452
+ # @type ActivityId: String
453
+ # @param OverdueTime: 订单过期时间
454
+ # 注意:此字段可能返回 null,表示取不到有效值。
455
+ # @type OverdueTime: String
456
+ # @param ProductInfo: 产品详情
457
+ # 注意:此字段可能返回 null,表示取不到有效值。
458
+ # @type ProductInfo: Array
459
+ # @param PaymentMethod: 付款方式
460
+ # 注意:此字段可能返回 null,表示取不到有效值。
461
+ # @type PaymentMethod: String
462
+ # @param UpdateTime: 订单更新时间
463
+ # 注意:此字段可能返回 null,表示取不到有效值。
464
+ # @type UpdateTime: String
465
+
466
+ attr_accessor :DealId, :DealName, :GoodsCategoryId, :OwnerUin, :AppId, :GoodsNum, :GoodsPrice, :Creater, :CreatTime, :PayEndTime, :BillId, :Payer, :DealStatus, :Status, :GoodsName, :ClientRemark, :ActionType, :VoucherDecline, :BigDealId, :ClientType, :ProjectType, :SalesUin, :PayerMode, :ActivityId, :OverdueTime, :ProductInfo, :PaymentMethod, :UpdateTime
467
+
468
+ def initialize(dealid=nil, dealname=nil, goodscategoryid=nil, owneruin=nil, appid=nil, goodsnum=nil, goodsprice=nil, creater=nil, creattime=nil, payendtime=nil, billid=nil, payer=nil, dealstatus=nil, status=nil, goodsname=nil, clientremark=nil, actiontype=nil, voucherdecline=nil, bigdealid=nil, clienttype=nil, projecttype=nil, salesuin=nil, payermode=nil, activityid=nil, overduetime=nil, productinfo=nil, paymentmethod=nil, updatetime=nil)
469
+ @DealId = dealid
470
+ @DealName = dealname
471
+ @GoodsCategoryId = goodscategoryid
472
+ @OwnerUin = owneruin
473
+ @AppId = appid
474
+ @GoodsNum = goodsnum
475
+ @GoodsPrice = goodsprice
476
+ @Creater = creater
477
+ @CreatTime = creattime
478
+ @PayEndTime = payendtime
479
+ @BillId = billid
480
+ @Payer = payer
481
+ @DealStatus = dealstatus
482
+ @Status = status
483
+ @GoodsName = goodsname
484
+ @ClientRemark = clientremark
485
+ @ActionType = actiontype
486
+ @VoucherDecline = voucherdecline
487
+ @BigDealId = bigdealid
488
+ @ClientType = clienttype
489
+ @ProjectType = projecttype
490
+ @SalesUin = salesuin
491
+ @PayerMode = payermode
492
+ @ActivityId = activityid
493
+ @OverdueTime = overduetime
494
+ @ProductInfo = productinfo
495
+ @PaymentMethod = paymentmethod
496
+ @UpdateTime = updatetime
497
+ end
498
+
499
+ def deserialize(params)
500
+ @DealId = params['DealId']
501
+ @DealName = params['DealName']
502
+ @GoodsCategoryId = params['GoodsCategoryId']
503
+ @OwnerUin = params['OwnerUin']
504
+ @AppId = params['AppId']
505
+ @GoodsNum = params['GoodsNum']
506
+ unless params['GoodsPrice'].nil?
507
+ @GoodsPrice = DealGoodsPriceNewElem.new
508
+ @GoodsPrice.deserialize(params['GoodsPrice'])
509
+ end
510
+ @Creater = params['Creater']
511
+ @CreatTime = params['CreatTime']
512
+ @PayEndTime = params['PayEndTime']
513
+ @BillId = params['BillId']
514
+ @Payer = params['Payer']
515
+ @DealStatus = params['DealStatus']
516
+ @Status = params['Status']
517
+ @GoodsName = params['GoodsName']
518
+ @ClientRemark = params['ClientRemark']
519
+ @ActionType = params['ActionType']
520
+ @VoucherDecline = params['VoucherDecline']
521
+ @BigDealId = params['BigDealId']
522
+ @ClientType = params['ClientType']
523
+ @ProjectType = params['ProjectType']
524
+ @SalesUin = params['SalesUin']
525
+ @PayerMode = params['PayerMode']
526
+ @ActivityId = params['ActivityId']
527
+ @OverdueTime = params['OverdueTime']
528
+ unless params['ProductInfo'].nil?
529
+ @ProductInfo = []
530
+ params['ProductInfo'].each do |i|
531
+ productinfoelem_tmp = ProductInfoElem.new
532
+ productinfoelem_tmp.deserialize(i)
533
+ @ProductInfo << productinfoelem_tmp
534
+ end
535
+ end
536
+ @PaymentMethod = params['PaymentMethod']
537
+ @UpdateTime = params['UpdateTime']
538
+ end
539
+ end
540
+
541
+ # AgentPayDeals请求参数结构体
542
+ class AgentPayDealsRequest < TencentCloud::Common::AbstractModel
543
+ # @param OwnerUin: 订单所有者uin
544
+ # @type OwnerUin: String
545
+ # @param AgentPay: 代付标志,1:代付;0:自付
546
+ # @type AgentPay: Integer
547
+ # @param DealNames: 订单号数组
548
+ # @type DealNames: Array
549
+
550
+ attr_accessor :OwnerUin, :AgentPay, :DealNames
551
+
552
+ def initialize(owneruin=nil, agentpay=nil, dealnames=nil)
553
+ @OwnerUin = owneruin
554
+ @AgentPay = agentpay
555
+ @DealNames = dealnames
556
+ end
557
+
558
+ def deserialize(params)
559
+ @OwnerUin = params['OwnerUin']
560
+ @AgentPay = params['AgentPay']
561
+ @DealNames = params['DealNames']
562
+ end
563
+ end
564
+
565
+ # AgentPayDeals返回参数结构体
566
+ class AgentPayDealsResponse < TencentCloud::Common::AbstractModel
567
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
568
+ # @type RequestId: String
569
+
570
+ attr_accessor :RequestId
571
+
572
+ def initialize(requestid=nil)
573
+ @RequestId = requestid
574
+ end
575
+
576
+ def deserialize(params)
577
+ @RequestId = params['RequestId']
578
+ end
579
+ end
580
+
581
+ # 代理商业务员信息
582
+ class AgentSalesmanElem < TencentCloud::Common::AbstractModel
583
+ # @param Uin: 代理商账号ID
584
+ # @type Uin: String
585
+ # @param SalesUin: 业务员ID
586
+ # @type SalesUin: String
587
+ # @param SalesName: 业务员姓名
588
+ # @type SalesName: String
589
+ # @param CreateTime: 业务员创建时间
590
+ # @type CreateTime: String
591
+
592
+ attr_accessor :Uin, :SalesUin, :SalesName, :CreateTime
593
+
594
+ def initialize(uin=nil, salesuin=nil, salesname=nil, createtime=nil)
595
+ @Uin = uin
596
+ @SalesUin = salesuin
597
+ @SalesName = salesname
598
+ @CreateTime = createtime
599
+ end
600
+
601
+ def deserialize(params)
602
+ @Uin = params['Uin']
603
+ @SalesUin = params['SalesUin']
604
+ @SalesName = params['SalesName']
605
+ @CreateTime = params['CreateTime']
606
+ end
607
+ end
608
+
609
+ # AgentTransferMoney请求参数结构体
610
+ class AgentTransferMoneyRequest < TencentCloud::Common::AbstractModel
611
+ # @param ClientUin: 客户账号ID
612
+ # @type ClientUin: String
613
+ # @param Amount: 转账金额,单位分
614
+ # @type Amount: Integer
615
+
616
+ attr_accessor :ClientUin, :Amount
617
+
618
+ def initialize(clientuin=nil, amount=nil)
619
+ @ClientUin = clientuin
620
+ @Amount = amount
621
+ end
622
+
623
+ def deserialize(params)
624
+ @ClientUin = params['ClientUin']
625
+ @Amount = params['Amount']
626
+ end
627
+ end
628
+
629
+ # AgentTransferMoney返回参数结构体
630
+ class AgentTransferMoneyResponse < TencentCloud::Common::AbstractModel
631
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
632
+ # @type RequestId: String
633
+
634
+ attr_accessor :RequestId
635
+
636
+ def initialize(requestid=nil)
637
+ @RequestId = requestid
638
+ end
639
+
640
+ def deserialize(params)
641
+ @RequestId = params['RequestId']
642
+ end
643
+ end
644
+
645
+ # AuditApplyClient请求参数结构体
646
+ class AuditApplyClientRequest < TencentCloud::Common::AbstractModel
647
+ # @param ClientUin: 待审核客户账号ID
648
+ # @type ClientUin: String
649
+ # @param AuditResult: 审核结果,可能的取值:accept/reject
650
+ # @type AuditResult: String
651
+ # @param Note: 申请理由,B类客户审核通过时必须填写申请理由
652
+ # @type Note: String
653
+
654
+ attr_accessor :ClientUin, :AuditResult, :Note
655
+
656
+ def initialize(clientuin=nil, auditresult=nil, note=nil)
657
+ @ClientUin = clientuin
658
+ @AuditResult = auditresult
659
+ @Note = note
660
+ end
661
+
662
+ def deserialize(params)
663
+ @ClientUin = params['ClientUin']
664
+ @AuditResult = params['AuditResult']
665
+ @Note = params['Note']
666
+ end
667
+ end
668
+
669
+ # AuditApplyClient返回参数结构体
670
+ class AuditApplyClientResponse < TencentCloud::Common::AbstractModel
671
+ # @param Uin: 代理商账号ID
672
+ # @type Uin: String
673
+ # @param ClientUin: 客户账号ID
674
+ # @type ClientUin: String
675
+ # @param AuditResult: 审核结果,包括accept/reject/qcloudaudit(腾讯云审核)
676
+ # @type AuditResult: String
677
+ # @param AgentTime: 关联时间对应的时间戳
678
+ # @type AgentTime: Integer
679
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ # @type RequestId: String
681
+
682
+ attr_accessor :Uin, :ClientUin, :AuditResult, :AgentTime, :RequestId
683
+
684
+ def initialize(uin=nil, clientuin=nil, auditresult=nil, agenttime=nil, requestid=nil)
685
+ @Uin = uin
686
+ @ClientUin = clientuin
687
+ @AuditResult = auditresult
688
+ @AgentTime = agenttime
689
+ @RequestId = requestid
690
+ end
691
+
692
+ def deserialize(params)
693
+ @Uin = params['Uin']
694
+ @ClientUin = params['ClientUin']
695
+ @AuditResult = params['AuditResult']
696
+ @AgentTime = params['AgentTime']
697
+ @RequestId = params['RequestId']
698
+ end
699
+ end
700
+
701
+ # CreatePayRelationForClient请求参数结构体
702
+ class CreatePayRelationForClientRequest < TencentCloud::Common::AbstractModel
703
+ # @param ClientUin: 客户账号ID
704
+ # @type ClientUin: String
705
+
706
+ attr_accessor :ClientUin
707
+
708
+ def initialize(clientuin=nil)
709
+ @ClientUin = clientuin
710
+ end
711
+
712
+ def deserialize(params)
713
+ @ClientUin = params['ClientUin']
714
+ end
715
+ end
716
+
717
+ # CreatePayRelationForClient返回参数结构体
718
+ class CreatePayRelationForClientResponse < TencentCloud::Common::AbstractModel
719
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
720
+ # @type RequestId: String
721
+
722
+ attr_accessor :RequestId
723
+
724
+ def initialize(requestid=nil)
725
+ @RequestId = requestid
726
+ end
727
+
728
+ def deserialize(params)
729
+ @RequestId = params['RequestId']
730
+ end
731
+ end
732
+
733
+ # 订单价格详情
734
+ class DealGoodsPriceElem < TencentCloud::Common::AbstractModel
735
+ # @param RealTotalCost: 实付金额(单位:分)
736
+ # @type RealTotalCost: Integer
737
+ # @param OriginalTotalCost: 订单实际金额(不含折扣,单位:分)
738
+ # @type OriginalTotalCost: Integer
739
+
740
+ attr_accessor :RealTotalCost, :OriginalTotalCost
741
+
742
+ def initialize(realtotalcost=nil, originaltotalcost=nil)
743
+ @RealTotalCost = realtotalcost
744
+ @OriginalTotalCost = originaltotalcost
745
+ end
746
+
747
+ def deserialize(params)
748
+ @RealTotalCost = params['RealTotalCost']
749
+ @OriginalTotalCost = params['OriginalTotalCost']
750
+ end
751
+ end
752
+
753
+ # 订单价格详情
754
+ class DealGoodsPriceNewElem < TencentCloud::Common::AbstractModel
755
+ # @param RealTotalCost: 实付金额(单位:分)
756
+ # @type RealTotalCost: Integer
757
+ # @param OriginalTotalCost: 原始金额(不含折扣,单位:分)
758
+ # @type OriginalTotalCost: Integer
759
+
760
+ attr_accessor :RealTotalCost, :OriginalTotalCost
761
+
762
+ def initialize(realtotalcost=nil, originaltotalcost=nil)
763
+ @RealTotalCost = realtotalcost
764
+ @OriginalTotalCost = originaltotalcost
765
+ end
766
+
767
+ def deserialize(params)
768
+ @RealTotalCost = params['RealTotalCost']
769
+ @OriginalTotalCost = params['OriginalTotalCost']
770
+ end
771
+ end
772
+
773
+ # DescribeAgentAuditedClients请求参数结构体
774
+ class DescribeAgentAuditedClientsRequest < TencentCloud::Common::AbstractModel
775
+ # @param ClientUin: 客户账号ID
776
+ # @type ClientUin: String
777
+ # @param ClientName: 客户名称。由于涉及隐私,名称打码显示,故名称仅支持打码后的模糊搜索
778
+ # @type ClientName: String
779
+ # @param ClientFlag: 客户类型,a/b,类型定义参考代理商相关政策文档
780
+ # @type ClientFlag: String
781
+ # @param OrderDirection: ASC/DESC, 不区分大小写,按审核通过时间排序
782
+ # @type OrderDirection: String
783
+ # @param ClientUins: 客户账号ID列表
784
+ # @type ClientUins: Array
785
+ # @param HasOverdueBill: 是否欠费。0:不欠费;1:欠费
786
+ # @type HasOverdueBill: Integer
787
+ # @param ClientRemark: 客户备注
788
+ # @type ClientRemark: String
789
+ # @param Offset: 偏移量
790
+ # @type Offset: Integer
791
+ # @param Limit: 限制数目
792
+ # @type Limit: Integer
793
+ # @param ClientType: 客户类型:可以为new(新拓)/assign(指定)/old(存量已关联)/old_newchecking(存量-新关联考核中)/old_newnotpass(存量-新关联未达标)/direct(直销)/direct_newopp(直销(新商机))/空
794
+ # @type ClientType: String
795
+ # @param ProjectType: 项目类型:可以为self(自拓项目)/platform(合作项目)/repeat(复算项目 )/空
796
+ # @type ProjectType: String
797
+ # @param SalesUin: 业务员ID
798
+ # @type SalesUin: String
799
+ # @param SalesName: 业务员姓名(模糊查询)
800
+ # @type SalesName: String
801
+
802
+ attr_accessor :ClientUin, :ClientName, :ClientFlag, :OrderDirection, :ClientUins, :HasOverdueBill, :ClientRemark, :Offset, :Limit, :ClientType, :ProjectType, :SalesUin, :SalesName
803
+
804
+ def initialize(clientuin=nil, clientname=nil, clientflag=nil, orderdirection=nil, clientuins=nil, hasoverduebill=nil, clientremark=nil, offset=nil, limit=nil, clienttype=nil, projecttype=nil, salesuin=nil, salesname=nil)
805
+ @ClientUin = clientuin
806
+ @ClientName = clientname
807
+ @ClientFlag = clientflag
808
+ @OrderDirection = orderdirection
809
+ @ClientUins = clientuins
810
+ @HasOverdueBill = hasoverduebill
811
+ @ClientRemark = clientremark
812
+ @Offset = offset
813
+ @Limit = limit
814
+ @ClientType = clienttype
815
+ @ProjectType = projecttype
816
+ @SalesUin = salesuin
817
+ @SalesName = salesname
818
+ end
819
+
820
+ def deserialize(params)
821
+ @ClientUin = params['ClientUin']
822
+ @ClientName = params['ClientName']
823
+ @ClientFlag = params['ClientFlag']
824
+ @OrderDirection = params['OrderDirection']
825
+ @ClientUins = params['ClientUins']
826
+ @HasOverdueBill = params['HasOverdueBill']
827
+ @ClientRemark = params['ClientRemark']
828
+ @Offset = params['Offset']
829
+ @Limit = params['Limit']
830
+ @ClientType = params['ClientType']
831
+ @ProjectType = params['ProjectType']
832
+ @SalesUin = params['SalesUin']
833
+ @SalesName = params['SalesName']
834
+ end
835
+ end
836
+
837
+ # DescribeAgentAuditedClients返回参数结构体
838
+ class DescribeAgentAuditedClientsResponse < TencentCloud::Common::AbstractModel
839
+ # @param AgentClientSet: 已审核代客列表
840
+ # @type AgentClientSet: Array
841
+ # @param TotalCount: 符合条件的代客总数
842
+ # @type TotalCount: Integer
843
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
844
+ # @type RequestId: String
845
+
846
+ attr_accessor :AgentClientSet, :TotalCount, :RequestId
847
+
848
+ def initialize(agentclientset=nil, totalcount=nil, requestid=nil)
849
+ @AgentClientSet = agentclientset
850
+ @TotalCount = totalcount
851
+ @RequestId = requestid
852
+ end
853
+
854
+ def deserialize(params)
855
+ unless params['AgentClientSet'].nil?
856
+ @AgentClientSet = []
857
+ params['AgentClientSet'].each do |i|
858
+ agentauditedclient_tmp = AgentAuditedClient.new
859
+ agentauditedclient_tmp.deserialize(i)
860
+ @AgentClientSet << agentauditedclient_tmp
861
+ end
862
+ end
863
+ @TotalCount = params['TotalCount']
864
+ @RequestId = params['RequestId']
865
+ end
866
+ end
867
+
868
+ # DescribeAgentBills请求参数结构体
869
+ class DescribeAgentBillsRequest < TencentCloud::Common::AbstractModel
870
+ # @param SettleMonth: 支付月份,如2018-02
871
+ # @type SettleMonth: String
872
+ # @param ClientUin: 客户账号ID
873
+ # @type ClientUin: String
874
+ # @param PayMode: 支付方式,prepay/postpay
875
+ # @type PayMode: String
876
+ # @param OrderId: 预付费订单号
877
+ # @type OrderId: String
878
+ # @param ClientRemark: 客户备注名称
879
+ # @type ClientRemark: String
880
+ # @param Offset: 偏移量
881
+ # @type Offset: Integer
882
+ # @param Limit: 限制数目
883
+ # @type Limit: Integer
884
+
885
+ attr_accessor :SettleMonth, :ClientUin, :PayMode, :OrderId, :ClientRemark, :Offset, :Limit
886
+
887
+ def initialize(settlemonth=nil, clientuin=nil, paymode=nil, orderid=nil, clientremark=nil, offset=nil, limit=nil)
888
+ @SettleMonth = settlemonth
889
+ @ClientUin = clientuin
890
+ @PayMode = paymode
891
+ @OrderId = orderid
892
+ @ClientRemark = clientremark
893
+ @Offset = offset
894
+ @Limit = limit
895
+ end
896
+
897
+ def deserialize(params)
898
+ @SettleMonth = params['SettleMonth']
899
+ @ClientUin = params['ClientUin']
900
+ @PayMode = params['PayMode']
901
+ @OrderId = params['OrderId']
902
+ @ClientRemark = params['ClientRemark']
903
+ @Offset = params['Offset']
904
+ @Limit = params['Limit']
905
+ end
906
+ end
907
+
908
+ # DescribeAgentBills返回参数结构体
909
+ class DescribeAgentBillsResponse < TencentCloud::Common::AbstractModel
910
+ # @param TotalCount: 符合查询条件列表总数量
911
+ # @type TotalCount: Integer
912
+ # @param AgentBillSet: 业务明细列表
913
+ # @type AgentBillSet: Array
914
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
915
+ # @type RequestId: String
916
+
917
+ attr_accessor :TotalCount, :AgentBillSet, :RequestId
918
+
919
+ def initialize(totalcount=nil, agentbillset=nil, requestid=nil)
920
+ @TotalCount = totalcount
921
+ @AgentBillSet = agentbillset
922
+ @RequestId = requestid
923
+ end
924
+
925
+ def deserialize(params)
926
+ @TotalCount = params['TotalCount']
927
+ unless params['AgentBillSet'].nil?
928
+ @AgentBillSet = []
929
+ params['AgentBillSet'].each do |i|
930
+ agentbillelem_tmp = AgentBillElem.new
931
+ agentbillelem_tmp.deserialize(i)
932
+ @AgentBillSet << agentbillelem_tmp
933
+ end
934
+ end
935
+ @RequestId = params['RequestId']
936
+ end
937
+ end
938
+
939
+ # DescribeAgentClientGrade请求参数结构体
940
+ class DescribeAgentClientGradeRequest < TencentCloud::Common::AbstractModel
941
+ # @param ClientUin: 代客uin
942
+ # @type ClientUin: String
943
+
944
+ attr_accessor :ClientUin
945
+
946
+ def initialize(clientuin=nil)
947
+ @ClientUin = clientuin
948
+ end
949
+
950
+ def deserialize(params)
951
+ @ClientUin = params['ClientUin']
952
+ end
953
+ end
954
+
955
+ # DescribeAgentClientGrade返回参数结构体
956
+ class DescribeAgentClientGradeResponse < TencentCloud::Common::AbstractModel
957
+ # @param AuditStatus: 审核状态:0待审核,1,已审核
958
+ # @type AuditStatus: Integer
959
+ # @param AuthState: 实名认证状态:0,未实名认证,1实名认证
960
+ # @type AuthState: Integer
961
+ # @param ClientGrade: 客户级别
962
+ # @type ClientGrade: String
963
+ # @param ClientType: 客户类型:1,个人;2,企业;3,其他
964
+ # @type ClientType: Integer
965
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
966
+ # @type RequestId: String
967
+
968
+ attr_accessor :AuditStatus, :AuthState, :ClientGrade, :ClientType, :RequestId
969
+
970
+ def initialize(auditstatus=nil, authstate=nil, clientgrade=nil, clienttype=nil, requestid=nil)
971
+ @AuditStatus = auditstatus
972
+ @AuthState = authstate
973
+ @ClientGrade = clientgrade
974
+ @ClientType = clienttype
975
+ @RequestId = requestid
976
+ end
977
+
978
+ def deserialize(params)
979
+ @AuditStatus = params['AuditStatus']
980
+ @AuthState = params['AuthState']
981
+ @ClientGrade = params['ClientGrade']
982
+ @ClientType = params['ClientType']
983
+ @RequestId = params['RequestId']
984
+ end
985
+ end
986
+
987
+ # DescribeAgentClients请求参数结构体
988
+ class DescribeAgentClientsRequest < TencentCloud::Common::AbstractModel
989
+ # @param ClientUin: 客户账号ID
990
+ # @type ClientUin: String
991
+ # @param ClientName: 客户名称。由于涉及隐私,名称打码显示,故名称仅支持打码后的模糊搜索
992
+ # @type ClientName: String
993
+ # @param ClientFlag: 客户类型,a/b,类型定义参考代理商相关政策文档
994
+ # @type ClientFlag: String
995
+ # @param OrderDirection: ASC/DESC, 不区分大小写,按申请时间排序
996
+ # @type OrderDirection: String
997
+ # @param Offset: 偏移量
998
+ # @type Offset: Integer
999
+ # @param Limit: 限制数目
1000
+ # @type Limit: Integer
1001
+ # @param SalesUin: 业务员ID
1002
+ # @type SalesUin: String
1003
+ # @param SalesName: 业务员姓名(模糊查询)
1004
+ # @type SalesName: String
1005
+
1006
+ attr_accessor :ClientUin, :ClientName, :ClientFlag, :OrderDirection, :Offset, :Limit, :SalesUin, :SalesName
1007
+
1008
+ def initialize(clientuin=nil, clientname=nil, clientflag=nil, orderdirection=nil, offset=nil, limit=nil, salesuin=nil, salesname=nil)
1009
+ @ClientUin = clientuin
1010
+ @ClientName = clientname
1011
+ @ClientFlag = clientflag
1012
+ @OrderDirection = orderdirection
1013
+ @Offset = offset
1014
+ @Limit = limit
1015
+ @SalesUin = salesuin
1016
+ @SalesName = salesname
1017
+ end
1018
+
1019
+ def deserialize(params)
1020
+ @ClientUin = params['ClientUin']
1021
+ @ClientName = params['ClientName']
1022
+ @ClientFlag = params['ClientFlag']
1023
+ @OrderDirection = params['OrderDirection']
1024
+ @Offset = params['Offset']
1025
+ @Limit = params['Limit']
1026
+ @SalesUin = params['SalesUin']
1027
+ @SalesName = params['SalesName']
1028
+ end
1029
+ end
1030
+
1031
+ # DescribeAgentClients返回参数结构体
1032
+ class DescribeAgentClientsResponse < TencentCloud::Common::AbstractModel
1033
+ # @param AgentClientSet: 待审核代客列表
1034
+ # @type AgentClientSet: Array
1035
+ # @param TotalCount: 符合条件的代客总数
1036
+ # @type TotalCount: Integer
1037
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1038
+ # @type RequestId: String
1039
+
1040
+ attr_accessor :AgentClientSet, :TotalCount, :RequestId
1041
+
1042
+ def initialize(agentclientset=nil, totalcount=nil, requestid=nil)
1043
+ @AgentClientSet = agentclientset
1044
+ @TotalCount = totalcount
1045
+ @RequestId = requestid
1046
+ end
1047
+
1048
+ def deserialize(params)
1049
+ unless params['AgentClientSet'].nil?
1050
+ @AgentClientSet = []
1051
+ params['AgentClientSet'].each do |i|
1052
+ agentclientelem_tmp = AgentClientElem.new
1053
+ agentclientelem_tmp.deserialize(i)
1054
+ @AgentClientSet << agentclientelem_tmp
1055
+ end
1056
+ end
1057
+ @TotalCount = params['TotalCount']
1058
+ @RequestId = params['RequestId']
1059
+ end
1060
+ end
1061
+
1062
+ # DescribeAgentDealsByCache请求参数结构体
1063
+ class DescribeAgentDealsByCacheRequest < TencentCloud::Common::AbstractModel
1064
+ # @param Offset: 偏移量
1065
+ # @type Offset: Integer
1066
+ # @param Limit: 限制数目
1067
+ # @type Limit: Integer
1068
+ # @param CreatTimeRangeStart: 下单时间范围起始点
1069
+ # @type CreatTimeRangeStart: String
1070
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1071
+ # @type CreatTimeRangeEnd: String
1072
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1073
+ # @type Order: Integer
1074
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1075
+ # @type Status: Integer
1076
+ # @param OwnerUins: 下单人账号ID列表
1077
+ # @type OwnerUins: Array
1078
+ # @param DealNames: 订单号列表
1079
+ # @type DealNames: Array
1080
+ # @param PayerMode: 支付方式,0:自付;1:代付
1081
+ # @type PayerMode: Integer
1082
+
1083
+ attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames, :PayerMode
1084
+
1085
+ def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil, payermode=nil)
1086
+ @Offset = offset
1087
+ @Limit = limit
1088
+ @CreatTimeRangeStart = creattimerangestart
1089
+ @CreatTimeRangeEnd = creattimerangeend
1090
+ @Order = order
1091
+ @Status = status
1092
+ @OwnerUins = owneruins
1093
+ @DealNames = dealnames
1094
+ @PayerMode = payermode
1095
+ end
1096
+
1097
+ def deserialize(params)
1098
+ @Offset = params['Offset']
1099
+ @Limit = params['Limit']
1100
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1101
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1102
+ @Order = params['Order']
1103
+ @Status = params['Status']
1104
+ @OwnerUins = params['OwnerUins']
1105
+ @DealNames = params['DealNames']
1106
+ @PayerMode = params['PayerMode']
1107
+ end
1108
+ end
1109
+
1110
+ # DescribeAgentDealsByCache返回参数结构体
1111
+ class DescribeAgentDealsByCacheResponse < TencentCloud::Common::AbstractModel
1112
+ # @param AgentDealSet: 订单数组
1113
+ # @type AgentDealSet: Array
1114
+ # @param TotalCount: 符合条件的订单总数量
1115
+ # @type TotalCount: Integer
1116
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1117
+ # @type RequestId: String
1118
+
1119
+ attr_accessor :AgentDealSet, :TotalCount, :RequestId
1120
+
1121
+ def initialize(agentdealset=nil, totalcount=nil, requestid=nil)
1122
+ @AgentDealSet = agentdealset
1123
+ @TotalCount = totalcount
1124
+ @RequestId = requestid
1125
+ end
1126
+
1127
+ def deserialize(params)
1128
+ unless params['AgentDealSet'].nil?
1129
+ @AgentDealSet = []
1130
+ params['AgentDealSet'].each do |i|
1131
+ agentdealnewelem_tmp = AgentDealNewElem.new
1132
+ agentdealnewelem_tmp.deserialize(i)
1133
+ @AgentDealSet << agentdealnewelem_tmp
1134
+ end
1135
+ end
1136
+ @TotalCount = params['TotalCount']
1137
+ @RequestId = params['RequestId']
1138
+ end
1139
+ end
1140
+
1141
+ # DescribeAgentDealsCache请求参数结构体
1142
+ class DescribeAgentDealsCacheRequest < TencentCloud::Common::AbstractModel
1143
+ # @param Offset: 偏移量
1144
+ # @type Offset: Integer
1145
+ # @param Limit: 限制数目
1146
+ # @type Limit: Integer
1147
+ # @param CreatTimeRangeStart: 下单时间范围起始点
1148
+ # @type CreatTimeRangeStart: String
1149
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1150
+ # @type CreatTimeRangeEnd: String
1151
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1152
+ # @type Order: Integer
1153
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1154
+ # @type Status: Integer
1155
+ # @param OwnerUins: 下单人账号ID列表
1156
+ # @type OwnerUins: Array
1157
+ # @param DealNames: 订单号列表
1158
+ # @type DealNames: Array
1159
+ # @param PayerMode: 支付方式,0:自付;1:代付
1160
+ # @type PayerMode: Integer
1161
+
1162
+ attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames, :PayerMode
1163
+
1164
+ def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil, payermode=nil)
1165
+ @Offset = offset
1166
+ @Limit = limit
1167
+ @CreatTimeRangeStart = creattimerangestart
1168
+ @CreatTimeRangeEnd = creattimerangeend
1169
+ @Order = order
1170
+ @Status = status
1171
+ @OwnerUins = owneruins
1172
+ @DealNames = dealnames
1173
+ @PayerMode = payermode
1174
+ end
1175
+
1176
+ def deserialize(params)
1177
+ @Offset = params['Offset']
1178
+ @Limit = params['Limit']
1179
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1180
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1181
+ @Order = params['Order']
1182
+ @Status = params['Status']
1183
+ @OwnerUins = params['OwnerUins']
1184
+ @DealNames = params['DealNames']
1185
+ @PayerMode = params['PayerMode']
1186
+ end
1187
+ end
1188
+
1189
+ # DescribeAgentDealsCache返回参数结构体
1190
+ class DescribeAgentDealsCacheResponse < TencentCloud::Common::AbstractModel
1191
+ # @param AgentDealSet: 订单数组
1192
+ # @type AgentDealSet: Array
1193
+ # @param TotalCount: 符合条件的订单总数量
1194
+ # @type TotalCount: Integer
1195
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1196
+ # @type RequestId: String
1197
+
1198
+ attr_accessor :AgentDealSet, :TotalCount, :RequestId
1199
+
1200
+ def initialize(agentdealset=nil, totalcount=nil, requestid=nil)
1201
+ @AgentDealSet = agentdealset
1202
+ @TotalCount = totalcount
1203
+ @RequestId = requestid
1204
+ end
1205
+
1206
+ def deserialize(params)
1207
+ unless params['AgentDealSet'].nil?
1208
+ @AgentDealSet = []
1209
+ params['AgentDealSet'].each do |i|
1210
+ agentdealelem_tmp = AgentDealElem.new
1211
+ agentdealelem_tmp.deserialize(i)
1212
+ @AgentDealSet << agentdealelem_tmp
1213
+ end
1214
+ end
1215
+ @TotalCount = params['TotalCount']
1216
+ @RequestId = params['RequestId']
1217
+ end
1218
+ end
1219
+
1220
+ # DescribeAgentPayDeals请求参数结构体
1221
+ class DescribeAgentPayDealsRequest < TencentCloud::Common::AbstractModel
1222
+ # @param Offset: 偏移量
1223
+ # @type Offset: Integer
1224
+ # @param Limit: 限制数目
1225
+ # @type Limit: Integer
1226
+ # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
1227
+ # @type CreatTimeRangeStart: String
1228
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1229
+ # @type CreatTimeRangeEnd: String
1230
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1231
+ # @type Order: Integer
1232
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1233
+ # @type Status: Integer
1234
+ # @param OwnerUins: 下单人账号ID列表
1235
+ # @type OwnerUins: Array
1236
+ # @param DealNames: 订单号列表
1237
+ # @type DealNames: Array
1238
+
1239
+ attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames
1240
+
1241
+ def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil)
1242
+ @Offset = offset
1243
+ @Limit = limit
1244
+ @CreatTimeRangeStart = creattimerangestart
1245
+ @CreatTimeRangeEnd = creattimerangeend
1246
+ @Order = order
1247
+ @Status = status
1248
+ @OwnerUins = owneruins
1249
+ @DealNames = dealnames
1250
+ end
1251
+
1252
+ def deserialize(params)
1253
+ @Offset = params['Offset']
1254
+ @Limit = params['Limit']
1255
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1256
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1257
+ @Order = params['Order']
1258
+ @Status = params['Status']
1259
+ @OwnerUins = params['OwnerUins']
1260
+ @DealNames = params['DealNames']
1261
+ end
1262
+ end
1263
+
1264
+ # DescribeAgentPayDeals返回参数结构体
1265
+ class DescribeAgentPayDealsResponse < TencentCloud::Common::AbstractModel
1266
+ # @param AgentPayDealSet: 订单数组
1267
+ # @type AgentPayDealSet: Array
1268
+ # @param TotalCount: 符合条件的订单总数量
1269
+ # @type TotalCount: Integer
1270
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1271
+ # @type RequestId: String
1272
+
1273
+ attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
1274
+
1275
+ def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
1276
+ @AgentPayDealSet = agentpaydealset
1277
+ @TotalCount = totalcount
1278
+ @RequestId = requestid
1279
+ end
1280
+
1281
+ def deserialize(params)
1282
+ unless params['AgentPayDealSet'].nil?
1283
+ @AgentPayDealSet = []
1284
+ params['AgentPayDealSet'].each do |i|
1285
+ agentdealelem_tmp = AgentDealElem.new
1286
+ agentdealelem_tmp.deserialize(i)
1287
+ @AgentPayDealSet << agentdealelem_tmp
1288
+ end
1289
+ end
1290
+ @TotalCount = params['TotalCount']
1291
+ @RequestId = params['RequestId']
1292
+ end
1293
+ end
1294
+
1295
+ # DescribeAgentPayDealsV2请求参数结构体
1296
+ class DescribeAgentPayDealsV2Request < TencentCloud::Common::AbstractModel
1297
+ # @param Offset: 偏移量
1298
+ # @type Offset: Integer
1299
+ # @param Limit: 限制数目
1300
+ # @type Limit: Integer
1301
+ # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
1302
+ # @type CreatTimeRangeStart: String
1303
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1304
+ # @type CreatTimeRangeEnd: String
1305
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1306
+ # @type Order: Integer
1307
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1308
+ # @type Status: Integer
1309
+ # @param OwnerUins: 下单人账号ID列表
1310
+ # @type OwnerUins: Array
1311
+ # @param DealNames: 订单号列表
1312
+ # @type DealNames: Array
1313
+
1314
+ attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames
1315
+
1316
+ def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil)
1317
+ @Offset = offset
1318
+ @Limit = limit
1319
+ @CreatTimeRangeStart = creattimerangestart
1320
+ @CreatTimeRangeEnd = creattimerangeend
1321
+ @Order = order
1322
+ @Status = status
1323
+ @OwnerUins = owneruins
1324
+ @DealNames = dealnames
1325
+ end
1326
+
1327
+ def deserialize(params)
1328
+ @Offset = params['Offset']
1329
+ @Limit = params['Limit']
1330
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1331
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1332
+ @Order = params['Order']
1333
+ @Status = params['Status']
1334
+ @OwnerUins = params['OwnerUins']
1335
+ @DealNames = params['DealNames']
1336
+ end
1337
+ end
1338
+
1339
+ # DescribeAgentPayDealsV2返回参数结构体
1340
+ class DescribeAgentPayDealsV2Response < TencentCloud::Common::AbstractModel
1341
+ # @param AgentPayDealSet: 订单数组
1342
+ # @type AgentPayDealSet: Array
1343
+ # @param TotalCount: 符合条件的订单总数量
1344
+ # @type TotalCount: Integer
1345
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1346
+ # @type RequestId: String
1347
+
1348
+ attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
1349
+
1350
+ def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
1351
+ @AgentPayDealSet = agentpaydealset
1352
+ @TotalCount = totalcount
1353
+ @RequestId = requestid
1354
+ end
1355
+
1356
+ def deserialize(params)
1357
+ unless params['AgentPayDealSet'].nil?
1358
+ @AgentPayDealSet = []
1359
+ params['AgentPayDealSet'].each do |i|
1360
+ agentdealnewelem_tmp = AgentDealNewElem.new
1361
+ agentdealnewelem_tmp.deserialize(i)
1362
+ @AgentPayDealSet << agentdealnewelem_tmp
1363
+ end
1364
+ end
1365
+ @TotalCount = params['TotalCount']
1366
+ @RequestId = params['RequestId']
1367
+ end
1368
+ end
1369
+
1370
+ # DescribeAgentSelfPayDeals请求参数结构体
1371
+ class DescribeAgentSelfPayDealsRequest < TencentCloud::Common::AbstractModel
1372
+ # @param OwnerUin: 下单人账号ID
1373
+ # @type OwnerUin: String
1374
+ # @param Offset: 偏移量
1375
+ # @type Offset: Integer
1376
+ # @param Limit: 限制数目
1377
+ # @type Limit: Integer
1378
+ # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
1379
+ # @type CreatTimeRangeStart: String
1380
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1381
+ # @type CreatTimeRangeEnd: String
1382
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1383
+ # @type Order: Integer
1384
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1385
+ # @type Status: Integer
1386
+ # @param DealNames: 订单号列表
1387
+ # @type DealNames: Array
1388
+
1389
+ attr_accessor :OwnerUin, :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :DealNames
1390
+
1391
+ def initialize(owneruin=nil, offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, dealnames=nil)
1392
+ @OwnerUin = owneruin
1393
+ @Offset = offset
1394
+ @Limit = limit
1395
+ @CreatTimeRangeStart = creattimerangestart
1396
+ @CreatTimeRangeEnd = creattimerangeend
1397
+ @Order = order
1398
+ @Status = status
1399
+ @DealNames = dealnames
1400
+ end
1401
+
1402
+ def deserialize(params)
1403
+ @OwnerUin = params['OwnerUin']
1404
+ @Offset = params['Offset']
1405
+ @Limit = params['Limit']
1406
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1407
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1408
+ @Order = params['Order']
1409
+ @Status = params['Status']
1410
+ @DealNames = params['DealNames']
1411
+ end
1412
+ end
1413
+
1414
+ # DescribeAgentSelfPayDeals返回参数结构体
1415
+ class DescribeAgentSelfPayDealsResponse < TencentCloud::Common::AbstractModel
1416
+ # @param AgentPayDealSet: 订单数组
1417
+ # @type AgentPayDealSet: Array
1418
+ # @param TotalCount: 符合条件的订单总数量
1419
+ # @type TotalCount: Integer
1420
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1421
+ # @type RequestId: String
1422
+
1423
+ attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
1424
+
1425
+ def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
1426
+ @AgentPayDealSet = agentpaydealset
1427
+ @TotalCount = totalcount
1428
+ @RequestId = requestid
1429
+ end
1430
+
1431
+ def deserialize(params)
1432
+ unless params['AgentPayDealSet'].nil?
1433
+ @AgentPayDealSet = []
1434
+ params['AgentPayDealSet'].each do |i|
1435
+ agentdealelem_tmp = AgentDealElem.new
1436
+ agentdealelem_tmp.deserialize(i)
1437
+ @AgentPayDealSet << agentdealelem_tmp
1438
+ end
1439
+ end
1440
+ @TotalCount = params['TotalCount']
1441
+ @RequestId = params['RequestId']
1442
+ end
1443
+ end
1444
+
1445
+ # DescribeAgentSelfPayDealsV2请求参数结构体
1446
+ class DescribeAgentSelfPayDealsV2Request < TencentCloud::Common::AbstractModel
1447
+ # @param OwnerUin: 下单人账号ID
1448
+ # @type OwnerUin: String
1449
+ # @param Offset: 偏移量
1450
+ # @type Offset: Integer
1451
+ # @param Limit: 限制数目
1452
+ # @type Limit: Integer
1453
+ # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
1454
+ # @type CreatTimeRangeStart: String
1455
+ # @param CreatTimeRangeEnd: 下单时间范围终止点
1456
+ # @type CreatTimeRangeEnd: String
1457
+ # @param Order: 0:下单时间降序;其他:下单时间升序
1458
+ # @type Order: Integer
1459
+ # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
1460
+ # @type Status: Integer
1461
+ # @param DealNames: 订单号列表
1462
+ # @type DealNames: Array
1463
+
1464
+ attr_accessor :OwnerUin, :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :DealNames
1465
+
1466
+ def initialize(owneruin=nil, offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, dealnames=nil)
1467
+ @OwnerUin = owneruin
1468
+ @Offset = offset
1469
+ @Limit = limit
1470
+ @CreatTimeRangeStart = creattimerangestart
1471
+ @CreatTimeRangeEnd = creattimerangeend
1472
+ @Order = order
1473
+ @Status = status
1474
+ @DealNames = dealnames
1475
+ end
1476
+
1477
+ def deserialize(params)
1478
+ @OwnerUin = params['OwnerUin']
1479
+ @Offset = params['Offset']
1480
+ @Limit = params['Limit']
1481
+ @CreatTimeRangeStart = params['CreatTimeRangeStart']
1482
+ @CreatTimeRangeEnd = params['CreatTimeRangeEnd']
1483
+ @Order = params['Order']
1484
+ @Status = params['Status']
1485
+ @DealNames = params['DealNames']
1486
+ end
1487
+ end
1488
+
1489
+ # DescribeAgentSelfPayDealsV2返回参数结构体
1490
+ class DescribeAgentSelfPayDealsV2Response < TencentCloud::Common::AbstractModel
1491
+ # @param AgentPayDealSet: 订单数组
1492
+ # @type AgentPayDealSet: Array
1493
+ # @param TotalCount: 符合条件的订单总数量
1494
+ # @type TotalCount: Integer
1495
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1496
+ # @type RequestId: String
1497
+
1498
+ attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
1499
+
1500
+ def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
1501
+ @AgentPayDealSet = agentpaydealset
1502
+ @TotalCount = totalcount
1503
+ @RequestId = requestid
1504
+ end
1505
+
1506
+ def deserialize(params)
1507
+ unless params['AgentPayDealSet'].nil?
1508
+ @AgentPayDealSet = []
1509
+ params['AgentPayDealSet'].each do |i|
1510
+ agentdealnewelem_tmp = AgentDealNewElem.new
1511
+ agentdealnewelem_tmp.deserialize(i)
1512
+ @AgentPayDealSet << agentdealnewelem_tmp
1513
+ end
1514
+ end
1515
+ @TotalCount = params['TotalCount']
1516
+ @RequestId = params['RequestId']
1517
+ end
1518
+ end
1519
+
1520
+ # DescribeClientBalanceNew请求参数结构体
1521
+ class DescribeClientBalanceNewRequest < TencentCloud::Common::AbstractModel
1522
+ # @param ClientUin: 客户(代客)账号ID
1523
+ # @type ClientUin: String
1524
+
1525
+ attr_accessor :ClientUin
1526
+
1527
+ def initialize(clientuin=nil)
1528
+ @ClientUin = clientuin
1529
+ end
1530
+
1531
+ def deserialize(params)
1532
+ @ClientUin = params['ClientUin']
1533
+ end
1534
+ end
1535
+
1536
+ # DescribeClientBalanceNew返回参数结构体
1537
+ class DescribeClientBalanceNewResponse < TencentCloud::Common::AbstractModel
1538
+ # @param Balance: 账户可用余额,单位分 (可用余额 = 现金余额 + 赠送金余额 - 欠费金额 - 冻结金额)
1539
+ # @type Balance: Integer
1540
+ # @param Cash: 账户现金余额,单位分
1541
+ # @type Cash: Integer
1542
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1543
+ # @type RequestId: String
1544
+
1545
+ attr_accessor :Balance, :Cash, :RequestId
1546
+
1547
+ def initialize(balance=nil, cash=nil, requestid=nil)
1548
+ @Balance = balance
1549
+ @Cash = cash
1550
+ @RequestId = requestid
1551
+ end
1552
+
1553
+ def deserialize(params)
1554
+ @Balance = params['Balance']
1555
+ @Cash = params['Cash']
1556
+ @RequestId = params['RequestId']
1557
+ end
1558
+ end
1559
+
1560
+ # DescribeClientBalance请求参数结构体
1561
+ class DescribeClientBalanceRequest < TencentCloud::Common::AbstractModel
1562
+ # @param ClientUin: 客户(代客)账号ID
1563
+ # @type ClientUin: String
1564
+
1565
+ attr_accessor :ClientUin
1566
+
1567
+ def initialize(clientuin=nil)
1568
+ @ClientUin = clientuin
1569
+ end
1570
+
1571
+ def deserialize(params)
1572
+ @ClientUin = params['ClientUin']
1573
+ end
1574
+ end
1575
+
1576
+ # DescribeClientBalance返回参数结构体
1577
+ class DescribeClientBalanceResponse < TencentCloud::Common::AbstractModel
1578
+ # @param Balance: 账户可用余额,单位分 (可用余额 = 现金余额 - 冻结金额)
1579
+ # @type Balance: Integer
1580
+ # @param Cash: 账户现金余额,单位分
1581
+ # @type Cash: Integer
1582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1583
+ # @type RequestId: String
1584
+
1585
+ attr_accessor :Balance, :Cash, :RequestId
1586
+
1587
+ def initialize(balance=nil, cash=nil, requestid=nil)
1588
+ @Balance = balance
1589
+ @Cash = cash
1590
+ @RequestId = requestid
1591
+ end
1592
+
1593
+ def deserialize(params)
1594
+ @Balance = params['Balance']
1595
+ @Cash = params['Cash']
1596
+ @RequestId = params['RequestId']
1597
+ end
1598
+ end
1599
+
1600
+ # DescribeRebateInfos请求参数结构体
1601
+ class DescribeRebateInfosRequest < TencentCloud::Common::AbstractModel
1602
+ # @param RebateMonth: 返佣月份,如2018-02
1603
+ # @type RebateMonth: String
1604
+ # @param Offset: 偏移量
1605
+ # @type Offset: Integer
1606
+ # @param Limit: 限制数目
1607
+ # @type Limit: Integer
1608
+
1609
+ attr_accessor :RebateMonth, :Offset, :Limit
1610
+
1611
+ def initialize(rebatemonth=nil, offset=nil, limit=nil)
1612
+ @RebateMonth = rebatemonth
1613
+ @Offset = offset
1614
+ @Limit = limit
1615
+ end
1616
+
1617
+ def deserialize(params)
1618
+ @RebateMonth = params['RebateMonth']
1619
+ @Offset = params['Offset']
1620
+ @Limit = params['Limit']
1621
+ end
1622
+ end
1623
+
1624
+ # DescribeRebateInfos返回参数结构体
1625
+ class DescribeRebateInfosResponse < TencentCloud::Common::AbstractModel
1626
+ # @param RebateInfoSet: 返佣信息列表
1627
+ # @type RebateInfoSet: Array
1628
+ # @param TotalCount: 符合查询条件返佣信息数目
1629
+ # @type TotalCount: Integer
1630
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1631
+ # @type RequestId: String
1632
+
1633
+ attr_accessor :RebateInfoSet, :TotalCount, :RequestId
1634
+
1635
+ def initialize(rebateinfoset=nil, totalcount=nil, requestid=nil)
1636
+ @RebateInfoSet = rebateinfoset
1637
+ @TotalCount = totalcount
1638
+ @RequestId = requestid
1639
+ end
1640
+
1641
+ def deserialize(params)
1642
+ unless params['RebateInfoSet'].nil?
1643
+ @RebateInfoSet = []
1644
+ params['RebateInfoSet'].each do |i|
1645
+ rebateinfoelem_tmp = RebateInfoElem.new
1646
+ rebateinfoelem_tmp.deserialize(i)
1647
+ @RebateInfoSet << rebateinfoelem_tmp
1648
+ end
1649
+ end
1650
+ @TotalCount = params['TotalCount']
1651
+ @RequestId = params['RequestId']
1652
+ end
1653
+ end
1654
+
1655
+ # DescribeSalesmans请求参数结构体
1656
+ class DescribeSalesmansRequest < TencentCloud::Common::AbstractModel
1657
+ # @param Offset: 偏移量
1658
+ # @type Offset: Integer
1659
+ # @param Limit: 限制数目
1660
+ # @type Limit: Integer
1661
+ # @param SalesName: 业务员姓名(模糊查询)
1662
+ # @type SalesName: String
1663
+ # @param SalesUin: 业务员ID
1664
+ # @type SalesUin: String
1665
+ # @param OrderDirection: ASC/DESC, 不区分大小写,按创建通过时间排序
1666
+ # @type OrderDirection: String
1667
+
1668
+ attr_accessor :Offset, :Limit, :SalesName, :SalesUin, :OrderDirection
1669
+
1670
+ def initialize(offset=nil, limit=nil, salesname=nil, salesuin=nil, orderdirection=nil)
1671
+ @Offset = offset
1672
+ @Limit = limit
1673
+ @SalesName = salesname
1674
+ @SalesUin = salesuin
1675
+ @OrderDirection = orderdirection
1676
+ end
1677
+
1678
+ def deserialize(params)
1679
+ @Offset = params['Offset']
1680
+ @Limit = params['Limit']
1681
+ @SalesName = params['SalesName']
1682
+ @SalesUin = params['SalesUin']
1683
+ @OrderDirection = params['OrderDirection']
1684
+ end
1685
+ end
1686
+
1687
+ # DescribeSalesmans返回参数结构体
1688
+ class DescribeSalesmansResponse < TencentCloud::Common::AbstractModel
1689
+ # @param AgentSalesmanSet: 业务员列表
1690
+ # @type AgentSalesmanSet: Array
1691
+ # @param TotalCount: 符合条件的代客总数
1692
+ # @type TotalCount: Integer
1693
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1694
+ # @type RequestId: String
1695
+
1696
+ attr_accessor :AgentSalesmanSet, :TotalCount, :RequestId
1697
+
1698
+ def initialize(agentsalesmanset=nil, totalcount=nil, requestid=nil)
1699
+ @AgentSalesmanSet = agentsalesmanset
1700
+ @TotalCount = totalcount
1701
+ @RequestId = requestid
1702
+ end
1703
+
1704
+ def deserialize(params)
1705
+ unless params['AgentSalesmanSet'].nil?
1706
+ @AgentSalesmanSet = []
1707
+ params['AgentSalesmanSet'].each do |i|
1708
+ agentsalesmanelem_tmp = AgentSalesmanElem.new
1709
+ agentsalesmanelem_tmp.deserialize(i)
1710
+ @AgentSalesmanSet << agentsalesmanelem_tmp
1711
+ end
1712
+ end
1713
+ @TotalCount = params['TotalCount']
1714
+ @RequestId = params['RequestId']
1715
+ end
1716
+ end
1717
+
1718
+ # DescribeUnbindClientList请求参数结构体
1719
+ class DescribeUnbindClientListRequest < TencentCloud::Common::AbstractModel
1720
+ # @param Status: 解绑状态:0:所有,1:审核中,2已解绑
1721
+ # @type Status: Integer
1722
+ # @param Offset: 偏移量
1723
+ # @type Offset: Integer
1724
+ # @param Limit: 限制数目
1725
+ # @type Limit: Integer
1726
+ # @param UnbindUin: 解绑账号ID
1727
+ # @type UnbindUin: String
1728
+ # @param ApplyTimeStart: 解绑申请时间范围起始点
1729
+ # @type ApplyTimeStart: String
1730
+ # @param ApplyTimeEnd: 解绑申请时间范围终止点
1731
+ # @type ApplyTimeEnd: String
1732
+ # @param OrderDirection: 对申请时间的升序降序,值:asc,desc
1733
+ # @type OrderDirection: String
1734
+
1735
+ attr_accessor :Status, :Offset, :Limit, :UnbindUin, :ApplyTimeStart, :ApplyTimeEnd, :OrderDirection
1736
+
1737
+ def initialize(status=nil, offset=nil, limit=nil, unbinduin=nil, applytimestart=nil, applytimeend=nil, orderdirection=nil)
1738
+ @Status = status
1739
+ @Offset = offset
1740
+ @Limit = limit
1741
+ @UnbindUin = unbinduin
1742
+ @ApplyTimeStart = applytimestart
1743
+ @ApplyTimeEnd = applytimeend
1744
+ @OrderDirection = orderdirection
1745
+ end
1746
+
1747
+ def deserialize(params)
1748
+ @Status = params['Status']
1749
+ @Offset = params['Offset']
1750
+ @Limit = params['Limit']
1751
+ @UnbindUin = params['UnbindUin']
1752
+ @ApplyTimeStart = params['ApplyTimeStart']
1753
+ @ApplyTimeEnd = params['ApplyTimeEnd']
1754
+ @OrderDirection = params['OrderDirection']
1755
+ end
1756
+ end
1757
+
1758
+ # DescribeUnbindClientList返回参数结构体
1759
+ class DescribeUnbindClientListResponse < TencentCloud::Common::AbstractModel
1760
+ # @param TotalCount: 符合条件的解绑客户数量
1761
+ # @type TotalCount: Integer
1762
+ # @param UnbindClientList: 符合条件的解绑客户列表
1763
+ # @type UnbindClientList: Array
1764
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1765
+ # @type RequestId: String
1766
+
1767
+ attr_accessor :TotalCount, :UnbindClientList, :RequestId
1768
+
1769
+ def initialize(totalcount=nil, unbindclientlist=nil, requestid=nil)
1770
+ @TotalCount = totalcount
1771
+ @UnbindClientList = unbindclientlist
1772
+ @RequestId = requestid
1773
+ end
1774
+
1775
+ def deserialize(params)
1776
+ @TotalCount = params['TotalCount']
1777
+ unless params['UnbindClientList'].nil?
1778
+ @UnbindClientList = []
1779
+ params['UnbindClientList'].each do |i|
1780
+ unbindclientelem_tmp = UnbindClientElem.new
1781
+ unbindclientelem_tmp.deserialize(i)
1782
+ @UnbindClientList << unbindclientelem_tmp
1783
+ end
1784
+ end
1785
+ @RequestId = params['RequestId']
1786
+ end
1787
+ end
1788
+
1789
+ # ModifyClientRemark请求参数结构体
1790
+ class ModifyClientRemarkRequest < TencentCloud::Common::AbstractModel
1791
+ # @param ClientRemark: 客户备注名称
1792
+ # @type ClientRemark: String
1793
+ # @param ClientUin: 客户账号ID
1794
+ # @type ClientUin: String
1795
+
1796
+ attr_accessor :ClientRemark, :ClientUin
1797
+
1798
+ def initialize(clientremark=nil, clientuin=nil)
1799
+ @ClientRemark = clientremark
1800
+ @ClientUin = clientuin
1801
+ end
1802
+
1803
+ def deserialize(params)
1804
+ @ClientRemark = params['ClientRemark']
1805
+ @ClientUin = params['ClientUin']
1806
+ end
1807
+ end
1808
+
1809
+ # ModifyClientRemark返回参数结构体
1810
+ class ModifyClientRemarkResponse < TencentCloud::Common::AbstractModel
1811
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1812
+ # @type RequestId: String
1813
+
1814
+ attr_accessor :RequestId
1815
+
1816
+ def initialize(requestid=nil)
1817
+ @RequestId = requestid
1818
+ end
1819
+
1820
+ def deserialize(params)
1821
+ @RequestId = params['RequestId']
1822
+ end
1823
+ end
1824
+
1825
+ # 产品详情
1826
+ class ProductInfoElem < TencentCloud::Common::AbstractModel
1827
+ # @param Name: 产品属性
1828
+ # @type Name: String
1829
+ # @param Value: 产品属性值
1830
+ # @type Value: String
1831
+
1832
+ attr_accessor :Name, :Value
1833
+
1834
+ def initialize(name=nil, value=nil)
1835
+ @Name = name
1836
+ @Value = value
1837
+ end
1838
+
1839
+ def deserialize(params)
1840
+ @Name = params['Name']
1841
+ @Value = params['Value']
1842
+ end
1843
+ end
1844
+
1845
+ # 返佣信息定义
1846
+ class RebateInfoElem < TencentCloud::Common::AbstractModel
1847
+ # @param Uin: 代理商账号ID
1848
+ # @type Uin: String
1849
+ # @param RebateMonth: 返佣月份,如2018-02
1850
+ # @type RebateMonth: String
1851
+ # @param Amt: 返佣金额,单位分
1852
+ # @type Amt: Integer
1853
+ # @param MonthSales: 月度业绩,单位分
1854
+ # @type MonthSales: Integer
1855
+ # @param QuarterSales: 季度业绩,单位分
1856
+ # @type QuarterSales: Integer
1857
+ # @param ExceptionFlag: NORMAL(正常)/HAS_OVERDUE_BILL(欠费)/NO_CONTRACT(缺合同)
1858
+ # @type ExceptionFlag: String
1859
+
1860
+ attr_accessor :Uin, :RebateMonth, :Amt, :MonthSales, :QuarterSales, :ExceptionFlag
1861
+
1862
+ def initialize(uin=nil, rebatemonth=nil, amt=nil, monthsales=nil, quartersales=nil, exceptionflag=nil)
1863
+ @Uin = uin
1864
+ @RebateMonth = rebatemonth
1865
+ @Amt = amt
1866
+ @MonthSales = monthsales
1867
+ @QuarterSales = quartersales
1868
+ @ExceptionFlag = exceptionflag
1869
+ end
1870
+
1871
+ def deserialize(params)
1872
+ @Uin = params['Uin']
1873
+ @RebateMonth = params['RebateMonth']
1874
+ @Amt = params['Amt']
1875
+ @MonthSales = params['MonthSales']
1876
+ @QuarterSales = params['QuarterSales']
1877
+ @ExceptionFlag = params['ExceptionFlag']
1878
+ end
1879
+ end
1880
+
1881
+ # RemovePayRelationForClient请求参数结构体
1882
+ class RemovePayRelationForClientRequest < TencentCloud::Common::AbstractModel
1883
+ # @param ClientUin: 客户账号ID
1884
+ # @type ClientUin: String
1885
+
1886
+ attr_accessor :ClientUin
1887
+
1888
+ def initialize(clientuin=nil)
1889
+ @ClientUin = clientuin
1890
+ end
1891
+
1892
+ def deserialize(params)
1893
+ @ClientUin = params['ClientUin']
1894
+ end
1895
+ end
1896
+
1897
+ # RemovePayRelationForClient返回参数结构体
1898
+ class RemovePayRelationForClientResponse < TencentCloud::Common::AbstractModel
1899
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1900
+ # @type RequestId: String
1901
+
1902
+ attr_accessor :RequestId
1903
+
1904
+ def initialize(requestid=nil)
1905
+ @RequestId = requestid
1906
+ end
1907
+
1908
+ def deserialize(params)
1909
+ @RequestId = params['RequestId']
1910
+ end
1911
+ end
1912
+
1913
+ # 解绑客户信息
1914
+ class UnbindClientElem < TencentCloud::Common::AbstractModel
1915
+ # @param Uin: 解绑账号ID
1916
+ # @type Uin: String
1917
+ # @param Name: 名称
1918
+ # @type Name: String
1919
+ # @param Status: 状态:0:审核中;1:已解绑;2:已撤销 3:关联撤销 4: 已驳回
1920
+ # @type Status: Integer
1921
+ # @param ApplyTime: 申请时间
1922
+ # 注意:此字段可能返回 null,表示取不到有效值。
1923
+ # @type ApplyTime: String
1924
+ # @param ActionTime: 解绑/撤销时间
1925
+ # 注意:此字段可能返回 null,表示取不到有效值。
1926
+ # @type ActionTime: String
1927
+
1928
+ attr_accessor :Uin, :Name, :Status, :ApplyTime, :ActionTime
1929
+
1930
+ def initialize(uin=nil, name=nil, status=nil, applytime=nil, actiontime=nil)
1931
+ @Uin = uin
1932
+ @Name = name
1933
+ @Status = status
1934
+ @ApplyTime = applytime
1935
+ @ActionTime = actiontime
1936
+ end
1937
+
1938
+ def deserialize(params)
1939
+ @Uin = params['Uin']
1940
+ @Name = params['Name']
1941
+ @Status = params['Status']
1942
+ @ApplyTime = params['ApplyTime']
1943
+ @ActionTime = params['ActionTime']
1944
+ end
1945
+ end
1946
+
1947
+ end
1948
+ end
1949
+ end
1950
+