tencentcloud-sdk-partners 3.0.591 → 3.0.593
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180321/client.rb +0 -104
- data/lib/v20180321/models.rb +0 -447
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fae3eb9058a7c9cbbbeb30d1831c32eae52429
|
4
|
+
data.tar.gz: 9b509b37f15e3e6cb0e4efe2f1cf273503ab4b27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c472f556157521ed01d29e12eb2b7ebd364a6672d751bc7561e10b499ac6a8d4e2bdaea5441134f1baef3e2228d339b2aaea7b3ebc74460398e78e12549e180
|
7
|
+
data.tar.gz: 473ce6b281dcd6e805e327db4736858d5f2a7e383c05a3a6acd3d3e3dd6900bcda1ab82cffe843f71db1ea976407fcfa4a1d36c404008499c938c6cd8c47bafe
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.593
|
data/lib/v20180321/client.rb
CHANGED
@@ -272,58 +272,6 @@ module TencentCloud
|
|
272
272
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
273
|
end
|
274
274
|
|
275
|
-
# 已提供新接口并推动切换,改切口目前白名单限制所有访问,申请下线
|
276
|
-
|
277
|
-
# 【该接口已下线,请使用升级版本DescribeAgentDealsByCache】代理商拉取缓存的全量客户订单
|
278
|
-
|
279
|
-
# @param request: Request instance for DescribeAgentDealsCache.
|
280
|
-
# @type request: :class:`Tencentcloud::partners::V20180321::DescribeAgentDealsCacheRequest`
|
281
|
-
# @rtype: :class:`Tencentcloud::partners::V20180321::DescribeAgentDealsCacheResponse`
|
282
|
-
def DescribeAgentDealsCache(request)
|
283
|
-
body = send_request('DescribeAgentDealsCache', request.serialize)
|
284
|
-
response = JSON.parse(body)
|
285
|
-
if response['Response'].key?('Error') == false
|
286
|
-
model = DescribeAgentDealsCacheResponse.new
|
287
|
-
model.deserialize(response['Response'])
|
288
|
-
model
|
289
|
-
else
|
290
|
-
code = response['Response']['Error']['Code']
|
291
|
-
message = response['Response']['Error']['Message']
|
292
|
-
reqid = response['Response']['RequestId']
|
293
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
294
|
-
end
|
295
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
296
|
-
raise e
|
297
|
-
rescue StandardError => e
|
298
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
299
|
-
end
|
300
|
-
|
301
|
-
# 已提供新接口并推动切换,改切口目前白名单限制所有访问,申请下线
|
302
|
-
|
303
|
-
# 【该接口已下线,请切换使用升级版本DescribeAgentPayDealsV2】可以查询代理商代付的所有订单
|
304
|
-
|
305
|
-
# @param request: Request instance for DescribeAgentPayDeals.
|
306
|
-
# @type request: :class:`Tencentcloud::partners::V20180321::DescribeAgentPayDealsRequest`
|
307
|
-
# @rtype: :class:`Tencentcloud::partners::V20180321::DescribeAgentPayDealsResponse`
|
308
|
-
def DescribeAgentPayDeals(request)
|
309
|
-
body = send_request('DescribeAgentPayDeals', request.serialize)
|
310
|
-
response = JSON.parse(body)
|
311
|
-
if response['Response'].key?('Error') == false
|
312
|
-
model = DescribeAgentPayDealsResponse.new
|
313
|
-
model.deserialize(response['Response'])
|
314
|
-
model
|
315
|
-
else
|
316
|
-
code = response['Response']['Error']['Code']
|
317
|
-
message = response['Response']['Error']['Message']
|
318
|
-
reqid = response['Response']['RequestId']
|
319
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
320
|
-
end
|
321
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
322
|
-
raise e
|
323
|
-
rescue StandardError => e
|
324
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
325
|
-
end
|
326
|
-
|
327
275
|
# 可以查询代理商代付的预付费订单
|
328
276
|
|
329
277
|
# @param request: Request instance for DescribeAgentPayDealsV2.
|
@@ -348,32 +296,6 @@ module TencentCloud
|
|
348
296
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
349
297
|
end
|
350
298
|
|
351
|
-
# 已提供新接口并推动切换,改切口目前白名单限制所有访问,申请下线
|
352
|
-
|
353
|
-
# 【该接口已下线,请切换使用升级版本DescribeAgentSelfPayDealsV2】可以查询代理商下指定客户的自付订单
|
354
|
-
|
355
|
-
# @param request: Request instance for DescribeAgentSelfPayDeals.
|
356
|
-
# @type request: :class:`Tencentcloud::partners::V20180321::DescribeAgentSelfPayDealsRequest`
|
357
|
-
# @rtype: :class:`Tencentcloud::partners::V20180321::DescribeAgentSelfPayDealsResponse`
|
358
|
-
def DescribeAgentSelfPayDeals(request)
|
359
|
-
body = send_request('DescribeAgentSelfPayDeals', request.serialize)
|
360
|
-
response = JSON.parse(body)
|
361
|
-
if response['Response'].key?('Error') == false
|
362
|
-
model = DescribeAgentSelfPayDealsResponse.new
|
363
|
-
model.deserialize(response['Response'])
|
364
|
-
model
|
365
|
-
else
|
366
|
-
code = response['Response']['Error']['Code']
|
367
|
-
message = response['Response']['Error']['Message']
|
368
|
-
reqid = response['Response']['RequestId']
|
369
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
370
|
-
end
|
371
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
372
|
-
raise e
|
373
|
-
rescue StandardError => e
|
374
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
375
|
-
end
|
376
|
-
|
377
299
|
# 查询代理商名下指定代客的自付订单(预付费)
|
378
300
|
|
379
301
|
# @param request: Request instance for DescribeAgentSelfPayDealsV2.
|
@@ -398,32 +320,6 @@ module TencentCloud
|
|
398
320
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
399
321
|
end
|
400
322
|
|
401
|
-
# 已提供新接口并推进切换,白名单禁用控制访问观察后无反馈,可以下线
|
402
|
-
|
403
|
-
# 【该接口将逐步下线,请切换使用升级版本DescribeClientBalanceNew】为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额.
|
404
|
-
|
405
|
-
# @param request: Request instance for DescribeClientBalance.
|
406
|
-
# @type request: :class:`Tencentcloud::partners::V20180321::DescribeClientBalanceRequest`
|
407
|
-
# @rtype: :class:`Tencentcloud::partners::V20180321::DescribeClientBalanceResponse`
|
408
|
-
def DescribeClientBalance(request)
|
409
|
-
body = send_request('DescribeClientBalance', request.serialize)
|
410
|
-
response = JSON.parse(body)
|
411
|
-
if response['Response'].key?('Error') == false
|
412
|
-
model = DescribeClientBalanceResponse.new
|
413
|
-
model.deserialize(response['Response'])
|
414
|
-
model
|
415
|
-
else
|
416
|
-
code = response['Response']['Error']['Code']
|
417
|
-
message = response['Response']['Error']['Message']
|
418
|
-
reqid = response['Response']['RequestId']
|
419
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
420
|
-
end
|
421
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
422
|
-
raise e
|
423
|
-
rescue StandardError => e
|
424
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
425
|
-
end
|
426
|
-
|
427
323
|
# 为合作伙伴提供查询客户余额能力。调用者必须是合作伙伴,只能查询自己名下客户余额
|
428
324
|
|
429
325
|
# @param request: Request instance for DescribeClientBalanceNew.
|
data/lib/v20180321/models.rb
CHANGED
@@ -222,164 +222,6 @@ module TencentCloud
|
|
222
222
|
end
|
223
223
|
end
|
224
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:指派;direct:直销;direct_newopp:直销(新商机))
|
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
225
|
# 描述代理商代付的订单信息
|
384
226
|
class AgentDealNewElem < TencentCloud::Common::AbstractModel
|
385
227
|
# @param DealId: 订单自增 ID【请勿依赖该字段作为唯一标识】
|
@@ -785,26 +627,6 @@ module TencentCloud
|
|
785
627
|
end
|
786
628
|
end
|
787
629
|
|
788
|
-
# 订单价格详情
|
789
|
-
class DealGoodsPriceElem < TencentCloud::Common::AbstractModel
|
790
|
-
# @param RealTotalCost: 实付金额(单位:分)
|
791
|
-
# @type RealTotalCost: Integer
|
792
|
-
# @param OriginalTotalCost: 订单实际金额(不含折扣,单位:分)
|
793
|
-
# @type OriginalTotalCost: Integer
|
794
|
-
|
795
|
-
attr_accessor :RealTotalCost, :OriginalTotalCost
|
796
|
-
|
797
|
-
def initialize(realtotalcost=nil, originaltotalcost=nil)
|
798
|
-
@RealTotalCost = realtotalcost
|
799
|
-
@OriginalTotalCost = originaltotalcost
|
800
|
-
end
|
801
|
-
|
802
|
-
def deserialize(params)
|
803
|
-
@RealTotalCost = params['RealTotalCost']
|
804
|
-
@OriginalTotalCost = params['OriginalTotalCost']
|
805
|
-
end
|
806
|
-
end
|
807
|
-
|
808
630
|
# 订单价格详情
|
809
631
|
class DealGoodsPriceNewElem < TencentCloud::Common::AbstractModel
|
810
632
|
# @param RealTotalCost: 实付金额(单位:分)
|
@@ -1197,160 +1019,6 @@ module TencentCloud
|
|
1197
1019
|
end
|
1198
1020
|
end
|
1199
1021
|
|
1200
|
-
# DescribeAgentDealsCache请求参数结构体
|
1201
|
-
class DescribeAgentDealsCacheRequest < TencentCloud::Common::AbstractModel
|
1202
|
-
# @param Offset: 偏移量
|
1203
|
-
# @type Offset: Integer
|
1204
|
-
# @param Limit: 限制数目 最大200
|
1205
|
-
# @type Limit: Integer
|
1206
|
-
# @param CreatTimeRangeStart: 下单时间范围起始点【请保持时间范围最大90天】
|
1207
|
-
# @type CreatTimeRangeStart: String
|
1208
|
-
# @param CreatTimeRangeEnd: 下单时间范围终止点【请保持时间范围最大90天】
|
1209
|
-
# @type CreatTimeRangeEnd: String
|
1210
|
-
# @param Order: 0:下单时间降序;其他:下单时间升序
|
1211
|
-
# @type Order: Integer
|
1212
|
-
# @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
|
1213
|
-
# @type Status: Integer
|
1214
|
-
# @param OwnerUins: 下单人账号ID列表
|
1215
|
-
# @type OwnerUins: Array
|
1216
|
-
# @param DealNames: 订单号列表
|
1217
|
-
# @type DealNames: Array
|
1218
|
-
# @param PayerMode: 支付方式,0:自付;1:代付
|
1219
|
-
# @type PayerMode: Integer
|
1220
|
-
|
1221
|
-
attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames, :PayerMode
|
1222
|
-
|
1223
|
-
def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil, payermode=nil)
|
1224
|
-
@Offset = offset
|
1225
|
-
@Limit = limit
|
1226
|
-
@CreatTimeRangeStart = creattimerangestart
|
1227
|
-
@CreatTimeRangeEnd = creattimerangeend
|
1228
|
-
@Order = order
|
1229
|
-
@Status = status
|
1230
|
-
@OwnerUins = owneruins
|
1231
|
-
@DealNames = dealnames
|
1232
|
-
@PayerMode = payermode
|
1233
|
-
end
|
1234
|
-
|
1235
|
-
def deserialize(params)
|
1236
|
-
@Offset = params['Offset']
|
1237
|
-
@Limit = params['Limit']
|
1238
|
-
@CreatTimeRangeStart = params['CreatTimeRangeStart']
|
1239
|
-
@CreatTimeRangeEnd = params['CreatTimeRangeEnd']
|
1240
|
-
@Order = params['Order']
|
1241
|
-
@Status = params['Status']
|
1242
|
-
@OwnerUins = params['OwnerUins']
|
1243
|
-
@DealNames = params['DealNames']
|
1244
|
-
@PayerMode = params['PayerMode']
|
1245
|
-
end
|
1246
|
-
end
|
1247
|
-
|
1248
|
-
# DescribeAgentDealsCache返回参数结构体
|
1249
|
-
class DescribeAgentDealsCacheResponse < TencentCloud::Common::AbstractModel
|
1250
|
-
# @param AgentDealSet: 订单数组
|
1251
|
-
# @type AgentDealSet: Array
|
1252
|
-
# @param TotalCount: 符合条件的订单总数量
|
1253
|
-
# @type TotalCount: Integer
|
1254
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1255
|
-
# @type RequestId: String
|
1256
|
-
|
1257
|
-
attr_accessor :AgentDealSet, :TotalCount, :RequestId
|
1258
|
-
|
1259
|
-
def initialize(agentdealset=nil, totalcount=nil, requestid=nil)
|
1260
|
-
@AgentDealSet = agentdealset
|
1261
|
-
@TotalCount = totalcount
|
1262
|
-
@RequestId = requestid
|
1263
|
-
end
|
1264
|
-
|
1265
|
-
def deserialize(params)
|
1266
|
-
unless params['AgentDealSet'].nil?
|
1267
|
-
@AgentDealSet = []
|
1268
|
-
params['AgentDealSet'].each do |i|
|
1269
|
-
agentdealelem_tmp = AgentDealElem.new
|
1270
|
-
agentdealelem_tmp.deserialize(i)
|
1271
|
-
@AgentDealSet << agentdealelem_tmp
|
1272
|
-
end
|
1273
|
-
end
|
1274
|
-
@TotalCount = params['TotalCount']
|
1275
|
-
@RequestId = params['RequestId']
|
1276
|
-
end
|
1277
|
-
end
|
1278
|
-
|
1279
|
-
# DescribeAgentPayDeals请求参数结构体
|
1280
|
-
class DescribeAgentPayDealsRequest < TencentCloud::Common::AbstractModel
|
1281
|
-
# @param Offset: 偏移量
|
1282
|
-
# @type Offset: Integer
|
1283
|
-
# @param Limit: 限制数目 最大100
|
1284
|
-
# @type Limit: Integer
|
1285
|
-
# @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
|
1286
|
-
# @type CreatTimeRangeStart: String
|
1287
|
-
# @param CreatTimeRangeEnd: 下单时间范围终止点
|
1288
|
-
# @type CreatTimeRangeEnd: String
|
1289
|
-
# @param Order: 0:下单时间降序;其他:下单时间升序
|
1290
|
-
# @type Order: Integer
|
1291
|
-
# @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
|
1292
|
-
# @type Status: Integer
|
1293
|
-
# @param OwnerUins: 下单人账号ID列表
|
1294
|
-
# @type OwnerUins: Array
|
1295
|
-
# @param DealNames: 订单号列表
|
1296
|
-
# @type DealNames: Array
|
1297
|
-
|
1298
|
-
attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames
|
1299
|
-
|
1300
|
-
def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil)
|
1301
|
-
@Offset = offset
|
1302
|
-
@Limit = limit
|
1303
|
-
@CreatTimeRangeStart = creattimerangestart
|
1304
|
-
@CreatTimeRangeEnd = creattimerangeend
|
1305
|
-
@Order = order
|
1306
|
-
@Status = status
|
1307
|
-
@OwnerUins = owneruins
|
1308
|
-
@DealNames = dealnames
|
1309
|
-
end
|
1310
|
-
|
1311
|
-
def deserialize(params)
|
1312
|
-
@Offset = params['Offset']
|
1313
|
-
@Limit = params['Limit']
|
1314
|
-
@CreatTimeRangeStart = params['CreatTimeRangeStart']
|
1315
|
-
@CreatTimeRangeEnd = params['CreatTimeRangeEnd']
|
1316
|
-
@Order = params['Order']
|
1317
|
-
@Status = params['Status']
|
1318
|
-
@OwnerUins = params['OwnerUins']
|
1319
|
-
@DealNames = params['DealNames']
|
1320
|
-
end
|
1321
|
-
end
|
1322
|
-
|
1323
|
-
# DescribeAgentPayDeals返回参数结构体
|
1324
|
-
class DescribeAgentPayDealsResponse < TencentCloud::Common::AbstractModel
|
1325
|
-
# @param AgentPayDealSet: 订单数组
|
1326
|
-
# @type AgentPayDealSet: Array
|
1327
|
-
# @param TotalCount: 符合条件的订单总数量
|
1328
|
-
# @type TotalCount: Integer
|
1329
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1330
|
-
# @type RequestId: String
|
1331
|
-
|
1332
|
-
attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
|
1333
|
-
|
1334
|
-
def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
|
1335
|
-
@AgentPayDealSet = agentpaydealset
|
1336
|
-
@TotalCount = totalcount
|
1337
|
-
@RequestId = requestid
|
1338
|
-
end
|
1339
|
-
|
1340
|
-
def deserialize(params)
|
1341
|
-
unless params['AgentPayDealSet'].nil?
|
1342
|
-
@AgentPayDealSet = []
|
1343
|
-
params['AgentPayDealSet'].each do |i|
|
1344
|
-
agentdealelem_tmp = AgentDealElem.new
|
1345
|
-
agentdealelem_tmp.deserialize(i)
|
1346
|
-
@AgentPayDealSet << agentdealelem_tmp
|
1347
|
-
end
|
1348
|
-
end
|
1349
|
-
@TotalCount = params['TotalCount']
|
1350
|
-
@RequestId = params['RequestId']
|
1351
|
-
end
|
1352
|
-
end
|
1353
|
-
|
1354
1022
|
# DescribeAgentPayDealsV2请求参数结构体
|
1355
1023
|
class DescribeAgentPayDealsV2Request < TencentCloud::Common::AbstractModel
|
1356
1024
|
# @param Offset: 偏移量
|
@@ -1430,81 +1098,6 @@ module TencentCloud
|
|
1430
1098
|
end
|
1431
1099
|
end
|
1432
1100
|
|
1433
|
-
# DescribeAgentSelfPayDeals请求参数结构体
|
1434
|
-
class DescribeAgentSelfPayDealsRequest < TencentCloud::Common::AbstractModel
|
1435
|
-
# @param OwnerUin: 下单人账号ID
|
1436
|
-
# @type OwnerUin: String
|
1437
|
-
# @param Offset: 偏移量
|
1438
|
-
# @type Offset: Integer
|
1439
|
-
# @param Limit: 限制数目 最大100
|
1440
|
-
# @type Limit: Integer
|
1441
|
-
# @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间)
|
1442
|
-
# @type CreatTimeRangeStart: String
|
1443
|
-
# @param CreatTimeRangeEnd: 下单时间范围终止点
|
1444
|
-
# @type CreatTimeRangeEnd: String
|
1445
|
-
# @param Order: 0:下单时间降序;其他:下单时间升序
|
1446
|
-
# @type Order: Integer
|
1447
|
-
# @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中)
|
1448
|
-
# @type Status: Integer
|
1449
|
-
# @param DealNames: 订单号列表
|
1450
|
-
# @type DealNames: Array
|
1451
|
-
|
1452
|
-
attr_accessor :OwnerUin, :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :DealNames
|
1453
|
-
|
1454
|
-
def initialize(owneruin=nil, offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, dealnames=nil)
|
1455
|
-
@OwnerUin = owneruin
|
1456
|
-
@Offset = offset
|
1457
|
-
@Limit = limit
|
1458
|
-
@CreatTimeRangeStart = creattimerangestart
|
1459
|
-
@CreatTimeRangeEnd = creattimerangeend
|
1460
|
-
@Order = order
|
1461
|
-
@Status = status
|
1462
|
-
@DealNames = dealnames
|
1463
|
-
end
|
1464
|
-
|
1465
|
-
def deserialize(params)
|
1466
|
-
@OwnerUin = params['OwnerUin']
|
1467
|
-
@Offset = params['Offset']
|
1468
|
-
@Limit = params['Limit']
|
1469
|
-
@CreatTimeRangeStart = params['CreatTimeRangeStart']
|
1470
|
-
@CreatTimeRangeEnd = params['CreatTimeRangeEnd']
|
1471
|
-
@Order = params['Order']
|
1472
|
-
@Status = params['Status']
|
1473
|
-
@DealNames = params['DealNames']
|
1474
|
-
end
|
1475
|
-
end
|
1476
|
-
|
1477
|
-
# DescribeAgentSelfPayDeals返回参数结构体
|
1478
|
-
class DescribeAgentSelfPayDealsResponse < TencentCloud::Common::AbstractModel
|
1479
|
-
# @param AgentPayDealSet: 订单数组
|
1480
|
-
# @type AgentPayDealSet: Array
|
1481
|
-
# @param TotalCount: 符合条件的订单总数量
|
1482
|
-
# @type TotalCount: Integer
|
1483
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1484
|
-
# @type RequestId: String
|
1485
|
-
|
1486
|
-
attr_accessor :AgentPayDealSet, :TotalCount, :RequestId
|
1487
|
-
|
1488
|
-
def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil)
|
1489
|
-
@AgentPayDealSet = agentpaydealset
|
1490
|
-
@TotalCount = totalcount
|
1491
|
-
@RequestId = requestid
|
1492
|
-
end
|
1493
|
-
|
1494
|
-
def deserialize(params)
|
1495
|
-
unless params['AgentPayDealSet'].nil?
|
1496
|
-
@AgentPayDealSet = []
|
1497
|
-
params['AgentPayDealSet'].each do |i|
|
1498
|
-
agentdealelem_tmp = AgentDealElem.new
|
1499
|
-
agentdealelem_tmp.deserialize(i)
|
1500
|
-
@AgentPayDealSet << agentdealelem_tmp
|
1501
|
-
end
|
1502
|
-
end
|
1503
|
-
@TotalCount = params['TotalCount']
|
1504
|
-
@RequestId = params['RequestId']
|
1505
|
-
end
|
1506
|
-
end
|
1507
|
-
|
1508
1101
|
# DescribeAgentSelfPayDealsV2请求参数结构体
|
1509
1102
|
class DescribeAgentSelfPayDealsV2Request < TencentCloud::Common::AbstractModel
|
1510
1103
|
# @param OwnerUin: 下单人账号ID
|
@@ -1624,46 +1217,6 @@ module TencentCloud
|
|
1624
1217
|
end
|
1625
1218
|
end
|
1626
1219
|
|
1627
|
-
# DescribeClientBalance请求参数结构体
|
1628
|
-
class DescribeClientBalanceRequest < TencentCloud::Common::AbstractModel
|
1629
|
-
# @param ClientUin: 客户(代客)账号ID
|
1630
|
-
# @type ClientUin: String
|
1631
|
-
|
1632
|
-
attr_accessor :ClientUin
|
1633
|
-
|
1634
|
-
def initialize(clientuin=nil)
|
1635
|
-
@ClientUin = clientuin
|
1636
|
-
end
|
1637
|
-
|
1638
|
-
def deserialize(params)
|
1639
|
-
@ClientUin = params['ClientUin']
|
1640
|
-
end
|
1641
|
-
end
|
1642
|
-
|
1643
|
-
# DescribeClientBalance返回参数结构体
|
1644
|
-
class DescribeClientBalanceResponse < TencentCloud::Common::AbstractModel
|
1645
|
-
# @param Balance: 账户可用余额,单位分 (可用余额 = 现金余额 - 冻结金额) 【注:该数据准确性存疑,请切换至DescribeClientBalanceNew取值】
|
1646
|
-
# @type Balance: Integer
|
1647
|
-
# @param Cash: 账户现金余额,单位分
|
1648
|
-
# @type Cash: Integer
|
1649
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1650
|
-
# @type RequestId: String
|
1651
|
-
|
1652
|
-
attr_accessor :Balance, :Cash, :RequestId
|
1653
|
-
|
1654
|
-
def initialize(balance=nil, cash=nil, requestid=nil)
|
1655
|
-
@Balance = balance
|
1656
|
-
@Cash = cash
|
1657
|
-
@RequestId = requestid
|
1658
|
-
end
|
1659
|
-
|
1660
|
-
def deserialize(params)
|
1661
|
-
@Balance = params['Balance']
|
1662
|
-
@Cash = params['Cash']
|
1663
|
-
@RequestId = params['RequestId']
|
1664
|
-
end
|
1665
|
-
end
|
1666
|
-
|
1667
1220
|
# DescribeRebateInfosNew请求参数结构体
|
1668
1221
|
class DescribeRebateInfosNewRequest < TencentCloud::Common::AbstractModel
|
1669
1222
|
# @param RebateMonth: 返佣月份,如2018-02
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-partners
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.593
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|