tencentcloud-sdk-cpdp 3.0.481 → 3.0.483

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: 4a2d515f5d2d77b451be5120cf2e0a560dff462a
4
- data.tar.gz: a924a54e5f366daa7ac3e26cbcc4a86172054526
3
+ metadata.gz: 3b3f45f08abe7c014d14ef4ce8dd8ef24062b0f4
4
+ data.tar.gz: 6c9abc5fce5bc16b796e7749404794fc6ff24a79
5
5
  SHA512:
6
- metadata.gz: 267905c9c47d04cc28df268b0f62a7d9b9a2d17c3086245a502d19e390f0fd66c768181a8821557b84564b24b7d66657b3f9d49c5cb0b946a25a98224bd66b75
7
- data.tar.gz: b608a8c009be9b8168cd7bb5026388e670cc3a0132d4435f7ddf874798930107ea082ba42eaf3d7a0c7fb6984c5fc5cbb08a8fe3b4fc68c822e43f1fb6a796d0
6
+ metadata.gz: 15d64b038ea4ae17dee70f9fc557a83b5b93d032e9782020d95c0a0bd3a1ac68dd090edc3e122771ee4cc0ff736eba10fdc82a2c9389f71dffe1a3b6d6231ab1
7
+ data.tar.gz: c6972d34f98a9a705b81ef97e41d738fff6f9a82d4939d00ef37fd570402040a38dd9c576881a940d5119b10622bba2363e757701b8827b86c284ad14fe35968
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.481
1
+ 3.0.483
@@ -53,6 +53,30 @@ 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 AddFlexFundingAccount.
59
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::AddFlexFundingAccountRequest`
60
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::AddFlexFundingAccountResponse`
61
+ def AddFlexFundingAccount(request)
62
+ body = send_request('AddFlexFundingAccount', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AddFlexFundingAccountResponse.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
+
56
80
  # 灵云V2-补充证件信息
57
81
 
58
82
  # @param request: Request instance for AddFlexIdInfo.
@@ -2151,6 +2175,30 @@ module TencentCloud
2151
2175
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2152
2176
  end
2153
2177
 
2178
+ # 灵云V2-修改收款用户资金账号信息
2179
+
2180
+ # @param request: Request instance for ModifyFlexFundingAccount.
2181
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::ModifyFlexFundingAccountRequest`
2182
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::ModifyFlexFundingAccountResponse`
2183
+ def ModifyFlexFundingAccount(request)
2184
+ body = send_request('ModifyFlexFundingAccount', request.serialize)
2185
+ response = JSON.parse(body)
2186
+ if response['Response'].key?('Error') == false
2187
+ model = ModifyFlexFundingAccountResponse.new
2188
+ model.deserialize(response['Response'])
2189
+ model
2190
+ else
2191
+ code = response['Response']['Error']['Code']
2192
+ message = response['Response']['Error']['Message']
2193
+ reqid = response['Response']['RequestId']
2194
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2195
+ end
2196
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2197
+ raise e
2198
+ rescue StandardError => e
2199
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2200
+ end
2201
+
2154
2202
  # 灵云V2-收款用户账户权益状态修改
2155
2203
 
2156
2204
  # @param request: Request instance for ModifyFlexPayeeAccountRightStatus.
@@ -3183,6 +3231,30 @@ module TencentCloud
3183
3231
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3184
3232
  end
3185
3233
 
3234
+ # 灵云V2-查询服务商账户余额
3235
+
3236
+ # @param request: Request instance for QueryFlexServiceProviderAccountBalance.
3237
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryFlexServiceProviderAccountBalanceRequest`
3238
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryFlexServiceProviderAccountBalanceResponse`
3239
+ def QueryFlexServiceProviderAccountBalance(request)
3240
+ body = send_request('QueryFlexServiceProviderAccountBalance', request.serialize)
3241
+ response = JSON.parse(body)
3242
+ if response['Response'].key?('Error') == false
3243
+ model = QueryFlexServiceProviderAccountBalanceResponse.new
3244
+ model.deserialize(response['Response'])
3245
+ model
3246
+ else
3247
+ code = response['Response']['Error']['Code']
3248
+ message = response['Response']['Error']['Message']
3249
+ reqid = response['Response']['RequestId']
3250
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3251
+ end
3252
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3253
+ raise e
3254
+ rescue StandardError => e
3255
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3256
+ end
3257
+
3186
3258
  # 灵云V2-查询结算订单列表
3187
3259
 
3188
3260
  # @param request: Request instance for QueryFlexSettlementOrderList.
@@ -250,6 +250,83 @@ module TencentCloud
250
250
  end
251
251
  end
252
252
 
253
+ # AddFlexFundingAccount请求参数结构体
254
+ class AddFlexFundingAccountRequest < TencentCloud::Common::AbstractModel
255
+ # @param FundingAccountType: 资金账户类型
256
+ # PINGAN_BANK:平安银行
257
+ # @type FundingAccountType: String
258
+ # @param FundingAccountName: 收款资金账户姓名
259
+ # @type FundingAccountName: String
260
+ # @param FundingAccountNo: 收款资金账户号
261
+ # @type FundingAccountNo: String
262
+ # @param PhoneNo: 收款资金账户手机号
263
+ # @type PhoneNo: String
264
+ # @param PayeeId: 收款用户ID
265
+ # @type PayeeId: String
266
+ # @param Environment: 环境类型
267
+ # __release__:生产环境
268
+ # __sandbox__:沙箱环境
269
+ # __test__:测试环境
270
+ # 缺省默认为生产环境
271
+ # @type Environment: String
272
+ # @param BankBranchName: 开户支行名
273
+ # @type BankBranchName: String
274
+
275
+ attr_accessor :FundingAccountType, :FundingAccountName, :FundingAccountNo, :PhoneNo, :PayeeId, :Environment, :BankBranchName
276
+
277
+ def initialize(fundingaccounttype=nil, fundingaccountname=nil, fundingaccountno=nil, phoneno=nil, payeeid=nil, environment=nil, bankbranchname=nil)
278
+ @FundingAccountType = fundingaccounttype
279
+ @FundingAccountName = fundingaccountname
280
+ @FundingAccountNo = fundingaccountno
281
+ @PhoneNo = phoneno
282
+ @PayeeId = payeeid
283
+ @Environment = environment
284
+ @BankBranchName = bankbranchname
285
+ end
286
+
287
+ def deserialize(params)
288
+ @FundingAccountType = params['FundingAccountType']
289
+ @FundingAccountName = params['FundingAccountName']
290
+ @FundingAccountNo = params['FundingAccountNo']
291
+ @PhoneNo = params['PhoneNo']
292
+ @PayeeId = params['PayeeId']
293
+ @Environment = params['Environment']
294
+ @BankBranchName = params['BankBranchName']
295
+ end
296
+ end
297
+
298
+ # AddFlexFundingAccount返回参数结构体
299
+ class AddFlexFundingAccountResponse < TencentCloud::Common::AbstractModel
300
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
301
+ # @type ErrCode: String
302
+ # @param ErrMessage: 错误消息
303
+ # @type ErrMessage: String
304
+ # @param Result: 无
305
+ # 注意:此字段可能返回 null,表示取不到有效值。
306
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.PayeeFundingAccountResult`
307
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
308
+ # @type RequestId: String
309
+
310
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
311
+
312
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
313
+ @ErrCode = errcode
314
+ @ErrMessage = errmessage
315
+ @Result = result
316
+ @RequestId = requestid
317
+ end
318
+
319
+ def deserialize(params)
320
+ @ErrCode = params['ErrCode']
321
+ @ErrMessage = params['ErrMessage']
322
+ unless params['Result'].nil?
323
+ @Result = PayeeFundingAccountResult.new
324
+ @Result.deserialize(params['Result'])
325
+ end
326
+ @RequestId = params['RequestId']
327
+ end
328
+ end
329
+
253
330
  # AddFlexIdInfo请求参数结构体
254
331
  class AddFlexIdInfoRequest < TencentCloud::Common::AbstractModel
255
332
  # @param IdType: 证件类型
@@ -11777,6 +11854,84 @@ module TencentCloud
11777
11854
  end
11778
11855
  end
11779
11856
 
11857
+ # ModifyFlexFundingAccount请求参数结构体
11858
+ class ModifyFlexFundingAccountRequest < TencentCloud::Common::AbstractModel
11859
+ # @param PayeeId: 收款用户ID
11860
+ # @type PayeeId: String
11861
+ # @param FundingAccountBindSerialNo: 收款用户资金账户ID
11862
+ # @type FundingAccountBindSerialNo: String
11863
+ # @param FundingAccountType: 资金账户类型
11864
+ # PINGAN_BANK:平安银行
11865
+ # @type FundingAccountType: String
11866
+ # @param PhoneNo: 收款资金账户手机号
11867
+ # @type PhoneNo: String
11868
+ # @param FundingAccountName: 收款资金账户姓名
11869
+ # @type FundingAccountName: String
11870
+ # @param FundingAccountNo: 收款资金账户号
11871
+ # @type FundingAccountNo: String
11872
+ # @param Environment: 环境类型
11873
+ # __release__:生产环境
11874
+ # __sandbox__:沙箱环境
11875
+ # __test__:测试环境
11876
+ # 缺省默认为生产环境
11877
+ # @type Environment: String
11878
+ # @param BankBranchName: 开户支行名
11879
+ # @type BankBranchName: String
11880
+
11881
+ attr_accessor :PayeeId, :FundingAccountBindSerialNo, :FundingAccountType, :PhoneNo, :FundingAccountName, :FundingAccountNo, :Environment, :BankBranchName
11882
+
11883
+ def initialize(payeeid=nil, fundingaccountbindserialno=nil, fundingaccounttype=nil, phoneno=nil, fundingaccountname=nil, fundingaccountno=nil, environment=nil, bankbranchname=nil)
11884
+ @PayeeId = payeeid
11885
+ @FundingAccountBindSerialNo = fundingaccountbindserialno
11886
+ @FundingAccountType = fundingaccounttype
11887
+ @PhoneNo = phoneno
11888
+ @FundingAccountName = fundingaccountname
11889
+ @FundingAccountNo = fundingaccountno
11890
+ @Environment = environment
11891
+ @BankBranchName = bankbranchname
11892
+ end
11893
+
11894
+ def deserialize(params)
11895
+ @PayeeId = params['PayeeId']
11896
+ @FundingAccountBindSerialNo = params['FundingAccountBindSerialNo']
11897
+ @FundingAccountType = params['FundingAccountType']
11898
+ @PhoneNo = params['PhoneNo']
11899
+ @FundingAccountName = params['FundingAccountName']
11900
+ @FundingAccountNo = params['FundingAccountNo']
11901
+ @Environment = params['Environment']
11902
+ @BankBranchName = params['BankBranchName']
11903
+ end
11904
+ end
11905
+
11906
+ # ModifyFlexFundingAccount返回参数结构体
11907
+ class ModifyFlexFundingAccountResponse < TencentCloud::Common::AbstractModel
11908
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
11909
+ # @type ErrCode: String
11910
+ # @param ErrMessage: 错误消息
11911
+ # @type ErrMessage: String
11912
+ # @param Result: 无
11913
+ # 注意:此字段可能返回 null,表示取不到有效值。
11914
+ # @type Result: String
11915
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11916
+ # @type RequestId: String
11917
+
11918
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
11919
+
11920
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
11921
+ @ErrCode = errcode
11922
+ @ErrMessage = errmessage
11923
+ @Result = result
11924
+ @RequestId = requestid
11925
+ end
11926
+
11927
+ def deserialize(params)
11928
+ @ErrCode = params['ErrCode']
11929
+ @ErrMessage = params['ErrMessage']
11930
+ @Result = params['Result']
11931
+ @RequestId = params['RequestId']
11932
+ end
11933
+ end
11934
+
11780
11935
  # ModifyFlexPayeeAccountRightStatus请求参数结构体
11781
11936
  class ModifyFlexPayeeAccountRightStatusRequest < TencentCloud::Common::AbstractModel
11782
11937
  # @param PayeeId: 收款用户ID
@@ -13821,6 +13976,22 @@ module TencentCloud
13821
13976
  end
13822
13977
  end
13823
13978
 
13979
+ # 收款用户资金账户信息
13980
+ class PayeeFundingAccountResult < TencentCloud::Common::AbstractModel
13981
+ # @param FundingAccountBindSerialNo: 资金账户ID
13982
+ # @type FundingAccountBindSerialNo: String
13983
+
13984
+ attr_accessor :FundingAccountBindSerialNo
13985
+
13986
+ def initialize(fundingaccountbindserialno=nil)
13987
+ @FundingAccountBindSerialNo = fundingaccountbindserialno
13988
+ end
13989
+
13990
+ def deserialize(params)
13991
+ @FundingAccountBindSerialNo = params['FundingAccountBindSerialNo']
13992
+ end
13993
+ end
13994
+
13824
13995
  # 收款用户信息结果
13825
13996
  class PayeeInfoResult < TencentCloud::Common::AbstractModel
13826
13997
  # @param PayeeId: 收款用户ID
@@ -17538,6 +17709,62 @@ module TencentCloud
17538
17709
  end
17539
17710
  end
17540
17711
 
17712
+ # QueryFlexServiceProviderAccountBalance请求参数结构体
17713
+ class QueryFlexServiceProviderAccountBalanceRequest < TencentCloud::Common::AbstractModel
17714
+ # @param ServiceProviderId: 服务商ID
17715
+ # @type ServiceProviderId: String
17716
+ # @param Environment: 环境类型
17717
+ # __release__:生产环境
17718
+ # __sandbox__:沙箱环境
17719
+ # __test__:测试环境
17720
+ # 缺省默认为生产环境
17721
+ # @type Environment: String
17722
+
17723
+ attr_accessor :ServiceProviderId, :Environment
17724
+
17725
+ def initialize(serviceproviderid=nil, environment=nil)
17726
+ @ServiceProviderId = serviceproviderid
17727
+ @Environment = environment
17728
+ end
17729
+
17730
+ def deserialize(params)
17731
+ @ServiceProviderId = params['ServiceProviderId']
17732
+ @Environment = params['Environment']
17733
+ end
17734
+ end
17735
+
17736
+ # QueryFlexServiceProviderAccountBalance返回参数结构体
17737
+ class QueryFlexServiceProviderAccountBalanceResponse < TencentCloud::Common::AbstractModel
17738
+ # @param ErrCode: 错误码。SUCCESS为成功,其他为失败
17739
+ # @type ErrCode: String
17740
+ # @param ErrMessage: 错误消息
17741
+ # @type ErrMessage: String
17742
+ # @param Result: 返回结果
17743
+ # 注意:此字段可能返回 null,表示取不到有效值。
17744
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.ServiceProviderAccountBalanceResult`
17745
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17746
+ # @type RequestId: String
17747
+
17748
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
17749
+
17750
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
17751
+ @ErrCode = errcode
17752
+ @ErrMessage = errmessage
17753
+ @Result = result
17754
+ @RequestId = requestid
17755
+ end
17756
+
17757
+ def deserialize(params)
17758
+ @ErrCode = params['ErrCode']
17759
+ @ErrMessage = params['ErrMessage']
17760
+ unless params['Result'].nil?
17761
+ @Result = ServiceProviderAccountBalanceResult.new
17762
+ @Result.deserialize(params['Result'])
17763
+ end
17764
+ @RequestId = params['RequestId']
17765
+ end
17766
+ end
17767
+
17541
17768
  # QueryFlexSettlementOrderList请求参数结构体
17542
17769
  class QueryFlexSettlementOrderListRequest < TencentCloud::Common::AbstractModel
17543
17770
  # @param PayeeId: 收款用户ID
@@ -25121,6 +25348,22 @@ module TencentCloud
25121
25348
  end
25122
25349
  end
25123
25350
 
25351
+ # 服务商账户余额返回信息
25352
+ class ServiceProviderAccountBalanceResult < TencentCloud::Common::AbstractModel
25353
+ # @param Balance: 服务商账户余额
25354
+ # @type Balance: String
25355
+
25356
+ attr_accessor :Balance
25357
+
25358
+ def initialize(balance=nil)
25359
+ @Balance = balance
25360
+ end
25361
+
25362
+ def deserialize(params)
25363
+ @Balance = params['Balance']
25364
+ end
25365
+ end
25366
+
25124
25367
  # 商户结算信息
25125
25368
  class SettleInfo < TencentCloud::Common::AbstractModel
25126
25369
  # @param SettleAccountType: 结算账户类型
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: 3.0.481
4
+ version: 3.0.483
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-12-27 00:00:00.000000000 Z
11
+ date: 2022-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common