tencentcloud-sdk-cpdp 1.0.347 → 1.0.348

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0417ad552950313132bfc7af3eb036294e871a8
4
- data.tar.gz: 188d7eebf2c642b1267007b0663110cc65441880
3
+ metadata.gz: dc761205d060972dc6365b087eeacc5857f0a710
4
+ data.tar.gz: d0dcbbd12d69b02730d7406b824cab0803856ca7
5
5
  SHA512:
6
- metadata.gz: a3fcba874f82d9dd358ac6ba4226a09c2992063d4a84bbc74354a857e0d046c38bc3bd5ed85538b7b7fa240bf1117d23bb4ca62b000c379c61ed105b896be2d7
7
- data.tar.gz: edbe11ed24caebc9ec778c2061ca71fdc36c1f29a62ec63e6b2c222f289a842fb2d2fbbf5eb35f156a2e2fae043e011fde2e5dc96dd1975148cd0efbf9bad9e2
6
+ metadata.gz: 1ba68219a7d2181b99c7fdb970f45cf5e05ddbc8ebdb0bb251ae4e9b2d964af29baf0ffdc12926659471e3f63918d0389723c87d19ad227d3de39ea97122d214
7
+ data.tar.gz: fc505360af7e17c34a9f97a0f09946b425c315fe6404d1d5a9aa0b0b8da5ec0785bd922e22d3ed2630accc240bc8e56ede41c514d9afb4212a43bcbd45960523
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.347
1
+ 1.0.348
@@ -53,6 +53,54 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 灵云V2-补充证件信息
57
+
58
+ # @param request: Request instance for AddFlexIdInfo.
59
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddFlexIdInfoRequest`
60
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddFlexIdInfoResponse`
61
+ def AddFlexIdInfo(request)
62
+ body = send_request('AddFlexIdInfo', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AddFlexIdInfoResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 灵云V2-补充手机号信息
81
+
82
+ # @param request: Request instance for AddFlexPhoneNo.
83
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddFlexPhoneNoRequest`
84
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddFlexPhoneNoResponse`
85
+ def AddFlexPhoneNo(request)
86
+ body = send_request('AddFlexPhoneNo', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AddFlexPhoneNoResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
56
104
  # 云支付-添加商户接口
57
105
 
58
106
  # @param request: Request instance for AddMerchant.
@@ -2751,6 +2799,30 @@ module TencentCloud
2751
2799
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2752
2800
  end
2753
2801
 
2802
+ # 灵云V2-查询对账单文件下载链接
2803
+
2804
+ # @param request: Request instance for QueryFlexBillDownloadUrl.
2805
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexBillDownloadUrlRequest`
2806
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexBillDownloadUrlResponse`
2807
+ def QueryFlexBillDownloadUrl(request)
2808
+ body = send_request('QueryFlexBillDownloadUrl', request.serialize)
2809
+ response = JSON.parse(body)
2810
+ if response['Response'].key?('Error') == false
2811
+ model = QueryFlexBillDownloadUrlResponse.new
2812
+ model.deserialize(response['Response'])
2813
+ model
2814
+ else
2815
+ code = response['Response']['Error']['Code']
2816
+ message = response['Response']['Error']['Message']
2817
+ reqid = response['Response']['RequestId']
2818
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2819
+ end
2820
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2821
+ raise e
2822
+ rescue StandardError => e
2823
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2824
+ end
2825
+
2754
2826
  # 灵云V2-查询冻结订单列表
2755
2827
 
2756
2828
  # @param request: Request instance for QueryFlexFreezeOrderList.
@@ -2775,6 +2847,30 @@ module TencentCloud
2775
2847
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2776
2848
  end
2777
2849
 
2850
+ # 灵云V2-订单汇总列表查询
2851
+
2852
+ # @param request: Request instance for QueryFlexOrderSummaryList.
2853
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexOrderSummaryListRequest`
2854
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexOrderSummaryListResponse`
2855
+ def QueryFlexOrderSummaryList(request)
2856
+ body = send_request('QueryFlexOrderSummaryList', request.serialize)
2857
+ response = JSON.parse(body)
2858
+ if response['Response'].key?('Error') == false
2859
+ model = QueryFlexOrderSummaryListResponse.new
2860
+ model.deserialize(response['Response'])
2861
+ model
2862
+ else
2863
+ code = response['Response']['Error']['Code']
2864
+ message = response['Response']['Error']['Message']
2865
+ reqid = response['Response']['RequestId']
2866
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2867
+ end
2868
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2869
+ raise e
2870
+ rescue StandardError => e
2871
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2872
+ end
2873
+
2778
2874
  # 灵云V2-收款用户账户余额查询
2779
2875
 
2780
2876
  # @param request: Request instance for QueryFlexPayeeAccountBalance.
@@ -250,6 +250,126 @@ module TencentCloud
250
250
  end
251
251
  end
252
252
 
253
+ # AddFlexIdInfo请求参数结构体
254
+ class AddFlexIdInfoRequest < TencentCloud::Common::AbstractModel
255
+ # @param IdType: 证件类型
256
+ # 0:身份证
257
+ # 1:社会信用代码
258
+ # @type IdType: Integer
259
+ # @param IdNo: 证件号
260
+ # @type IdNo: String
261
+ # @param PayeeId: 收款用户ID
262
+ # @type PayeeId: String
263
+ # @param Environment: 环境类型
264
+ # __release__:生产环境
265
+ # __sandbox__:沙箱环境
266
+ # __test__:测试环境
267
+ # 缺省默认为生产环境
268
+ # @type Environment: String
269
+
270
+ attr_accessor :IdType, :IdNo, :PayeeId, :Environment
271
+
272
+ def initialize(idtype=nil, idno=nil, payeeid=nil, environment=nil)
273
+ @IdType = idtype
274
+ @IdNo = idno
275
+ @PayeeId = payeeid
276
+ @Environment = environment
277
+ end
278
+
279
+ def deserialize(params)
280
+ @IdType = params['IdType']
281
+ @IdNo = params['IdNo']
282
+ @PayeeId = params['PayeeId']
283
+ @Environment = params['Environment']
284
+ end
285
+ end
286
+
287
+ # AddFlexIdInfo返回参数结构体
288
+ class AddFlexIdInfoResponse < TencentCloud::Common::AbstractModel
289
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
290
+ # @type ErrCode: String
291
+ # @param ErrMessage: 错误消息
292
+ # @type ErrMessage: String
293
+ # @param Result: 无
294
+ # 注意:此字段可能返回 null,表示取不到有效值。
295
+ # @type Result: String
296
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
297
+ # @type RequestId: String
298
+
299
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
300
+
301
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
302
+ @ErrCode = errcode
303
+ @ErrMessage = errmessage
304
+ @Result = result
305
+ @RequestId = requestid
306
+ end
307
+
308
+ def deserialize(params)
309
+ @ErrCode = params['ErrCode']
310
+ @ErrMessage = params['ErrMessage']
311
+ @Result = params['Result']
312
+ @RequestId = params['RequestId']
313
+ end
314
+ end
315
+
316
+ # AddFlexPhoneNo请求参数结构体
317
+ class AddFlexPhoneNoRequest < TencentCloud::Common::AbstractModel
318
+ # @param PhoneNo: 手机号
319
+ # @type PhoneNo: String
320
+ # @param PayeeId: 收款用户ID
321
+ # @type PayeeId: String
322
+ # @param Environment: 环境类型
323
+ # __release__:生产环境
324
+ # __sandbox__:沙箱环境
325
+ # __test__:测试环境
326
+ # 缺省默认为生产环境
327
+ # @type Environment: String
328
+
329
+ attr_accessor :PhoneNo, :PayeeId, :Environment
330
+
331
+ def initialize(phoneno=nil, payeeid=nil, environment=nil)
332
+ @PhoneNo = phoneno
333
+ @PayeeId = payeeid
334
+ @Environment = environment
335
+ end
336
+
337
+ def deserialize(params)
338
+ @PhoneNo = params['PhoneNo']
339
+ @PayeeId = params['PayeeId']
340
+ @Environment = params['Environment']
341
+ end
342
+ end
343
+
344
+ # AddFlexPhoneNo返回参数结构体
345
+ class AddFlexPhoneNoResponse < TencentCloud::Common::AbstractModel
346
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
347
+ # @type ErrCode: String
348
+ # @param ErrMessage: 错误消息
349
+ # @type ErrMessage: String
350
+ # @param Result: 无
351
+ # 注意:此字段可能返回 null,表示取不到有效值。
352
+ # @type Result: String
353
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
354
+ # @type RequestId: String
355
+
356
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
357
+
358
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
359
+ @ErrCode = errcode
360
+ @ErrMessage = errmessage
361
+ @Result = result
362
+ @RequestId = requestid
363
+ end
364
+
365
+ def deserialize(params)
366
+ @ErrCode = params['ErrCode']
367
+ @ErrMessage = params['ErrMessage']
368
+ @Result = params['Result']
369
+ @RequestId = params['RequestId']
370
+ end
371
+ end
372
+
253
373
  # AddMerchant请求参数结构体
254
374
  class AddMerchantRequest < TencentCloud::Common::AbstractModel
255
375
  # @param OpenId: 收单系统分配的开放ID
@@ -9788,6 +9908,26 @@ module TencentCloud
9788
9908
  end
9789
9909
  end
9790
9910
 
9911
+ # 对账单文件下载链接
9912
+ class FlexBillDownloadUrlResult < TencentCloud::Common::AbstractModel
9913
+ # @param Url: 对账单文件下载链接
9914
+ # @type Url: String
9915
+ # @param ExpireTime: 下载链接过期时间
9916
+ # @type ExpireTime: String
9917
+
9918
+ attr_accessor :Url, :ExpireTime
9919
+
9920
+ def initialize(url=nil, expiretime=nil)
9921
+ @Url = url
9922
+ @ExpireTime = expiretime
9923
+ end
9924
+
9925
+ def deserialize(params)
9926
+ @Url = params['Url']
9927
+ @ExpireTime = params['ExpireTime']
9928
+ end
9929
+ end
9930
+
9791
9931
  # 灵云V2-银行信息
9792
9932
  class FlexFundingAccountInfo < TencentCloud::Common::AbstractModel
9793
9933
  # @param FundingAccountNo: 资金账户号
@@ -11859,6 +11999,73 @@ module TencentCloud
11859
11999
  end
11860
12000
  end
11861
12001
 
12002
+ # 订单汇总列表
12003
+ class OrderSummaries < TencentCloud::Common::AbstractModel
12004
+ # @param List: 汇总列表
12005
+ # @type List: Array
12006
+ # @param Count: 总数
12007
+ # @type Count: Integer
12008
+
12009
+ attr_accessor :List, :Count
12010
+
12011
+ def initialize(list=nil, count=nil)
12012
+ @List = list
12013
+ @Count = count
12014
+ end
12015
+
12016
+ def deserialize(params)
12017
+ unless params['List'].nil?
12018
+ @List = []
12019
+ params['List'].each do |i|
12020
+ ordersummaryresult_tmp = OrderSummaryResult.new
12021
+ ordersummaryresult_tmp.deserialize(i)
12022
+ @List << ordersummaryresult_tmp
12023
+ end
12024
+ end
12025
+ @Count = params['Count']
12026
+ end
12027
+ end
12028
+
12029
+ # 订单汇总结果
12030
+ class OrderSummaryResult < TencentCloud::Common::AbstractModel
12031
+ # @param SummaryId: 汇总ID
12032
+ # @type SummaryId: String
12033
+ # @param PayeeId: 收款账户ID
12034
+ # @type PayeeId: String
12035
+ # @param Name: 收款账户名称
12036
+ # @type Name: String
12037
+ # @param IncomeType: 收入类型
12038
+ # @type IncomeType: String
12039
+ # @param SummaryAmount: 汇总金额
12040
+ # @type SummaryAmount: String
12041
+ # @param SummaryTime: 汇总日期
12042
+ # @type SummaryTime: String
12043
+ # @param SummaryCount: 汇总记录数量
12044
+ # @type SummaryCount: Integer
12045
+
12046
+ attr_accessor :SummaryId, :PayeeId, :Name, :IncomeType, :SummaryAmount, :SummaryTime, :SummaryCount
12047
+
12048
+ def initialize(summaryid=nil, payeeid=nil, name=nil, incometype=nil, summaryamount=nil, summarytime=nil, summarycount=nil)
12049
+ @SummaryId = summaryid
12050
+ @PayeeId = payeeid
12051
+ @Name = name
12052
+ @IncomeType = incometype
12053
+ @SummaryAmount = summaryamount
12054
+ @SummaryTime = summarytime
12055
+ @SummaryCount = summarycount
12056
+ end
12057
+
12058
+ def deserialize(params)
12059
+ @SummaryId = params['SummaryId']
12060
+ @PayeeId = params['PayeeId']
12061
+ @Name = params['Name']
12062
+ @IncomeType = params['IncomeType']
12063
+ @SummaryAmount = params['SummaryAmount']
12064
+ @SummaryTime = params['SummaryTime']
12065
+ @SummaryCount = params['SummaryCount']
12066
+ end
12067
+ end
12068
+
11862
12069
  # 公司信息
11863
12070
  class OrganizationInfo < TencentCloud::Common::AbstractModel
11864
12071
  # @param OrganizationName: 公司名称,个体工商户必输
@@ -15308,6 +15515,70 @@ module TencentCloud
15308
15515
  end
15309
15516
  end
15310
15517
 
15518
+ # QueryFlexBillDownloadUrl请求参数结构体
15519
+ class QueryFlexBillDownloadUrlRequest < TencentCloud::Common::AbstractModel
15520
+ # @param BillDate: 对账单日期
15521
+ # @type BillDate: String
15522
+ # @param BillType: 对账单类型:FREEZE, SETTLEMENT,PAYMENT
15523
+ # @type BillType: String
15524
+ # @param ServiceProviderId: 服务商ID,如不填则查询平台级别对账单文件
15525
+ # @type ServiceProviderId: String
15526
+ # @param Environment: 环境类型
15527
+ # __release__:生产环境
15528
+ # __sandbox__:沙箱环境
15529
+ # __test__:测试环境
15530
+ # 缺省默认为生产环境
15531
+ # @type Environment: String
15532
+
15533
+ attr_accessor :BillDate, :BillType, :ServiceProviderId, :Environment
15534
+
15535
+ def initialize(billdate=nil, billtype=nil, serviceproviderid=nil, environment=nil)
15536
+ @BillDate = billdate
15537
+ @BillType = billtype
15538
+ @ServiceProviderId = serviceproviderid
15539
+ @Environment = environment
15540
+ end
15541
+
15542
+ def deserialize(params)
15543
+ @BillDate = params['BillDate']
15544
+ @BillType = params['BillType']
15545
+ @ServiceProviderId = params['ServiceProviderId']
15546
+ @Environment = params['Environment']
15547
+ end
15548
+ end
15549
+
15550
+ # QueryFlexBillDownloadUrl返回参数结构体
15551
+ class QueryFlexBillDownloadUrlResponse < TencentCloud::Common::AbstractModel
15552
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
15553
+ # @type ErrCode: String
15554
+ # @param ErrMessage: 错误消息
15555
+ # @type ErrMessage: String
15556
+ # @param Result: 返回结果
15557
+ # 注意:此字段可能返回 null,表示取不到有效值。
15558
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.FlexBillDownloadUrlResult`
15559
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15560
+ # @type RequestId: String
15561
+
15562
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
15563
+
15564
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
15565
+ @ErrCode = errcode
15566
+ @ErrMessage = errmessage
15567
+ @Result = result
15568
+ @RequestId = requestid
15569
+ end
15570
+
15571
+ def deserialize(params)
15572
+ @ErrCode = params['ErrCode']
15573
+ @ErrMessage = params['ErrMessage']
15574
+ unless params['Result'].nil?
15575
+ @Result = FlexBillDownloadUrlResult.new
15576
+ @Result.deserialize(params['Result'])
15577
+ end
15578
+ @RequestId = params['RequestId']
15579
+ end
15580
+ end
15581
+
15311
15582
  # QueryFlexFreezeOrderList请求参数结构体
15312
15583
  class QueryFlexFreezeOrderListRequest < TencentCloud::Common::AbstractModel
15313
15584
  # @param PayeeId: 收款用户ID
@@ -15385,6 +15656,77 @@ module TencentCloud
15385
15656
  end
15386
15657
  end
15387
15658
 
15659
+ # QueryFlexOrderSummaryList请求参数结构体
15660
+ class QueryFlexOrderSummaryListRequest < TencentCloud::Common::AbstractModel
15661
+ # @param SummaryDate: 汇总日期:yyyy-MM-dd
15662
+ # @type SummaryDate: String
15663
+ # @param PageNumber: 分页
15664
+ # @type PageNumber: :class:`Tencentcloud::Cpdp.v20190820.models.Paging`
15665
+ # @param OrderType: 汇总订单类型:FREEZE, SETTLEMENT,PAYMENT
15666
+ # @type OrderType: String
15667
+ # @param PayeeId: 收款用户ID
15668
+ # @type PayeeId: String
15669
+ # @param Environment: 环境类型
15670
+ # __release__:生产环境
15671
+ # __sandbox__:沙箱环境
15672
+ # __test__:测试环境
15673
+ # 缺省默认为生产环境
15674
+ # @type Environment: String
15675
+
15676
+ attr_accessor :SummaryDate, :PageNumber, :OrderType, :PayeeId, :Environment
15677
+
15678
+ def initialize(summarydate=nil, pagenumber=nil, ordertype=nil, payeeid=nil, environment=nil)
15679
+ @SummaryDate = summarydate
15680
+ @PageNumber = pagenumber
15681
+ @OrderType = ordertype
15682
+ @PayeeId = payeeid
15683
+ @Environment = environment
15684
+ end
15685
+
15686
+ def deserialize(params)
15687
+ @SummaryDate = params['SummaryDate']
15688
+ unless params['PageNumber'].nil?
15689
+ @PageNumber = Paging.new
15690
+ @PageNumber.deserialize(params['PageNumber'])
15691
+ end
15692
+ @OrderType = params['OrderType']
15693
+ @PayeeId = params['PayeeId']
15694
+ @Environment = params['Environment']
15695
+ end
15696
+ end
15697
+
15698
+ # QueryFlexOrderSummaryList返回参数结构体
15699
+ class QueryFlexOrderSummaryListResponse < TencentCloud::Common::AbstractModel
15700
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
15701
+ # @type ErrCode: String
15702
+ # @param ErrMessage: 错误消息
15703
+ # @type ErrMessage: String
15704
+ # @param Result: 返回结果
15705
+ # 注意:此字段可能返回 null,表示取不到有效值。
15706
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.OrderSummaries`
15707
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15708
+ # @type RequestId: String
15709
+
15710
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
15711
+
15712
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
15713
+ @ErrCode = errcode
15714
+ @ErrMessage = errmessage
15715
+ @Result = result
15716
+ @RequestId = requestid
15717
+ end
15718
+
15719
+ def deserialize(params)
15720
+ @ErrCode = params['ErrCode']
15721
+ @ErrMessage = params['ErrMessage']
15722
+ unless params['Result'].nil?
15723
+ @Result = OrderSummaries.new
15724
+ @Result.deserialize(params['Result'])
15725
+ end
15726
+ @RequestId = params['RequestId']
15727
+ end
15728
+ end
15729
+
15388
15730
  # QueryFlexPayeeAccountBalance请求参数结构体
15389
15731
  class QueryFlexPayeeAccountBalanceRequest < TencentCloud::Common::AbstractModel
15390
15732
  # @param PayeeId: 收款用户ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cpdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.347
4
+ version: 1.0.348
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-03 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common