tencentcloud-sdk-cpdp 1.0.270 → 1.0.271

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: 3edafa4e890d4f5e749e57d07db83774ac3604bb
4
- data.tar.gz: 696131a4b28dc0ca44d1c59101a17f0d96a4d336
3
+ metadata.gz: b6965415879b2fca5fe553066429ba40a18c2937
4
+ data.tar.gz: caf604dea9324aa1887b8420fc4fa1e3ff7f1158
5
5
  SHA512:
6
- metadata.gz: b150b572fceff7b8fafd01c883d96e211bfa24713320b5847e0acad82a8134dd2cb02e64975bf25e67df3e05858dc0eeba81b258bb1e96db3deb1b0226cd76db
7
- data.tar.gz: 0b637752c4ed0e3a47c1070dcaf945c726a2985525b411fccf90e0fe2b79613ddbb689abb0ef71e3aabd66a21e0433df2d00cff564f97641de1876cca74e5729
6
+ metadata.gz: c6faac2e6e98e9dd4eaaafde0f490ec316f1b999a1681bc9466fde523cfb0868b77ea68b0eb10967c7225ce92ed6e1bcc7b5f46128da1e1eef5f3af539cbad3f
7
+ data.tar.gz: e8e01b4052d4abd59d47200842abb1eef3953474b1019d54ffcdfa7a703fb8c1ffbacaebf43a57d0578ed15a2ea47b77ea05bbaede655c566ae94338583ce139
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.270
1
+ 1.0.271
@@ -2462,6 +2462,30 @@ module TencentCloud
2462
2462
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2463
2463
  end
2464
2464
 
2465
+ # 云企付-查询联行号
2466
+
2467
+ # @param request: Request instance for QueryOpenBankBankBranchList.
2468
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBankBranchListRequest`
2469
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBankBranchListResponse`
2470
+ def QueryOpenBankBankBranchList(request)
2471
+ body = send_request('QueryOpenBankBankBranchList', request.serialize)
2472
+ response = JSON.parse(body)
2473
+ if response['Response'].key?('Error') == false
2474
+ model = QueryOpenBankBankBranchListResponse.new
2475
+ model.deserialize(response['Response'])
2476
+ model
2477
+ else
2478
+ code = response['Response']['Error']['Code']
2479
+ message = response['Response']['Error']['Message']
2480
+ reqid = response['Response']['RequestId']
2481
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2482
+ end
2483
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2484
+ raise e
2485
+ rescue StandardError => e
2486
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2487
+ end
2488
+
2465
2489
  # 云企付-子商户银行卡绑定结果查询
2466
2490
 
2467
2491
  # @param request: Request instance for QueryOpenBankBindExternalSubMerchantBankAccount.
@@ -2582,6 +2606,30 @@ module TencentCloud
2582
2606
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2583
2607
  end
2584
2608
 
2609
+ # 云企付-查询支持银行列表
2610
+
2611
+ # @param request: Request instance for QueryOpenBankSupportBankList.
2612
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSupportBankListRequest`
2613
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSupportBankListResponse`
2614
+ def QueryOpenBankSupportBankList(request)
2615
+ body = send_request('QueryOpenBankSupportBankList', request.serialize)
2616
+ response = JSON.parse(body)
2617
+ if response['Response'].key?('Error') == false
2618
+ model = QueryOpenBankSupportBankListResponse.new
2619
+ model.deserialize(response['Response'])
2620
+ model
2621
+ else
2622
+ code = response['Response']['Error']['Code']
2623
+ message = response['Response']['Error']['Message']
2624
+ reqid = response['Response']['RequestId']
2625
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2626
+ end
2627
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2628
+ raise e
2629
+ rescue StandardError => e
2630
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2631
+ end
2632
+
2585
2633
  # 云企付-子商户银行卡解绑结果查询
2586
2634
 
2587
2635
  # @param request: Request instance for QueryOpenBankUnbindExternalSubMerchantBankAccount.
@@ -1738,6 +1738,34 @@ module TencentCloud
1738
1738
  end
1739
1739
  end
1740
1740
 
1741
+ # 支行信息
1742
+ class BankBranchInfo < TencentCloud::Common::AbstractModel
1743
+ # @param BankName: 银行名称。
1744
+ # @type BankName: String
1745
+ # @param BankAbbreviation: 银行简称。
1746
+ # @type BankAbbreviation: String
1747
+ # @param BankBranchName: 支行名。
1748
+ # @type BankBranchName: String
1749
+ # @param BankBranchId: 联行号。
1750
+ # @type BankBranchId: String
1751
+
1752
+ attr_accessor :BankName, :BankAbbreviation, :BankBranchName, :BankBranchId
1753
+
1754
+ def initialize(bankname=nil, bankabbreviation=nil, bankbranchname=nil, bankbranchid=nil)
1755
+ @BankName = bankname
1756
+ @BankAbbreviation = bankabbreviation
1757
+ @BankBranchName = bankbranchname
1758
+ @BankBranchId = bankbranchid
1759
+ end
1760
+
1761
+ def deserialize(params)
1762
+ @BankName = params['BankName']
1763
+ @BankAbbreviation = params['BankAbbreviation']
1764
+ @BankBranchName = params['BankBranchName']
1765
+ @BankBranchId = params['BankBranchId']
1766
+ end
1767
+ end
1768
+
1741
1769
  # 绑卡列表
1742
1770
  class BankCardItem < TencentCloud::Common::AbstractModel
1743
1771
  # @param EiconBankBranchId: 超级网银行号
@@ -8205,15 +8233,19 @@ module TencentCloud
8205
8233
  # @type BankBranchName: String
8206
8234
  # @param BankBranchId: 联行号。渠道为TENPAY,付款方式为OPENBANK_PAYMENT时必选
8207
8235
  # @type BankBranchId: String
8236
+ # @param BindSerialNo: 收款方绑卡序列号。
8237
+ # 当渠道为TENPAY,付款方式为EBANK_PAYMENT时,上送收款方入驻云企付平台时,下发的绑卡序列号。
8238
+ # @type BindSerialNo: String
8208
8239
 
8209
- attr_accessor :PayeeId, :PayeeName, :BankAccountNumber, :BankBranchName, :BankBranchId
8240
+ attr_accessor :PayeeId, :PayeeName, :BankAccountNumber, :BankBranchName, :BankBranchId, :BindSerialNo
8210
8241
 
8211
- def initialize(payeeid=nil, payeename=nil, bankaccountnumber=nil, bankbranchname=nil, bankbranchid=nil)
8242
+ def initialize(payeeid=nil, payeename=nil, bankaccountnumber=nil, bankbranchname=nil, bankbranchid=nil, bindserialno=nil)
8212
8243
  @PayeeId = payeeid
8213
8244
  @PayeeName = payeename
8214
8245
  @BankAccountNumber = bankaccountnumber
8215
8246
  @BankBranchName = bankbranchname
8216
8247
  @BankBranchId = bankbranchid
8248
+ @BindSerialNo = bindserialno
8217
8249
  end
8218
8250
 
8219
8251
  def deserialize(params)
@@ -8222,6 +8254,7 @@ module TencentCloud
8222
8254
  @BankAccountNumber = params['BankAccountNumber']
8223
8255
  @BankBranchName = params['BankBranchName']
8224
8256
  @BankBranchId = params['BankBranchId']
8257
+ @BindSerialNo = params['BindSerialNo']
8225
8258
  end
8226
8259
  end
8227
8260
 
@@ -12237,6 +12270,119 @@ module TencentCloud
12237
12270
  end
12238
12271
  end
12239
12272
 
12273
+ # QueryOpenBankBankBranchList请求参数结构体
12274
+ class QueryOpenBankBankBranchListRequest < TencentCloud::Common::AbstractModel
12275
+ # @param ChannelMerchantId: 渠道商户ID。
12276
+ # @type ChannelMerchantId: String
12277
+ # @param ChannelName: 渠道名称。
12278
+ # __TENPAY__: 商企付
12279
+ # __WECHAT__: 微信支付
12280
+ # __ALIPAY__: 支付宝
12281
+ # @type ChannelName: String
12282
+ # @param PaymentMethod: 支付方式。
12283
+ # __EBANK_PAYMENT__:ebank付款
12284
+ # __OPENBANK_PAYMENT__: openbank付款
12285
+ # @type PaymentMethod: String
12286
+ # @param BankBranchName: 支行名称。
12287
+ # @type BankBranchName: String
12288
+ # @param BankAbbreviation: 银行简称。
12289
+ # @type BankAbbreviation: String
12290
+ # @param PageNumber: 页码。Index和Count必须大于等于1。
12291
+ # @type PageNumber: :class:`Tencentcloud::Cpdp.v20190820.models.Paging`
12292
+ # @param Environment: 环境类型。
12293
+ # __release__:生产环境
12294
+ # __sandbox__:沙箱环境
12295
+ # _不填默认为生产环境_
12296
+ # @type Environment: String
12297
+
12298
+ attr_accessor :ChannelMerchantId, :ChannelName, :PaymentMethod, :BankBranchName, :BankAbbreviation, :PageNumber, :Environment
12299
+
12300
+ def initialize(channelmerchantid=nil, channelname=nil, paymentmethod=nil, bankbranchname=nil, bankabbreviation=nil, pagenumber=nil, environment=nil)
12301
+ @ChannelMerchantId = channelmerchantid
12302
+ @ChannelName = channelname
12303
+ @PaymentMethod = paymentmethod
12304
+ @BankBranchName = bankbranchname
12305
+ @BankAbbreviation = bankabbreviation
12306
+ @PageNumber = pagenumber
12307
+ @Environment = environment
12308
+ end
12309
+
12310
+ def deserialize(params)
12311
+ @ChannelMerchantId = params['ChannelMerchantId']
12312
+ @ChannelName = params['ChannelName']
12313
+ @PaymentMethod = params['PaymentMethod']
12314
+ @BankBranchName = params['BankBranchName']
12315
+ @BankAbbreviation = params['BankAbbreviation']
12316
+ unless params['PageNumber'].nil?
12317
+ @PageNumber = Paging.new
12318
+ @PageNumber.deserialize(params['PageNumber'])
12319
+ end
12320
+ @Environment = params['Environment']
12321
+ end
12322
+ end
12323
+
12324
+ # QueryOpenBankBankBranchList返回参数结构体
12325
+ class QueryOpenBankBankBranchListResponse < TencentCloud::Common::AbstractModel
12326
+ # @param ErrCode: 错误码。
12327
+ # __SUCCESS__: 成功
12328
+ # __其他__: 见附录-错误码表
12329
+ # @type ErrCode: String
12330
+ # @param ErrMessage: 错误消息。
12331
+ # 注意:此字段可能返回 null,表示取不到有效值。
12332
+ # @type ErrMessage: String
12333
+ # @param Result: 返回结果。
12334
+ # 注意:此字段可能返回 null,表示取不到有效值。
12335
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankBankBranchListResult`
12336
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12337
+ # @type RequestId: String
12338
+
12339
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
12340
+
12341
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
12342
+ @ErrCode = errcode
12343
+ @ErrMessage = errmessage
12344
+ @Result = result
12345
+ @RequestId = requestid
12346
+ end
12347
+
12348
+ def deserialize(params)
12349
+ @ErrCode = params['ErrCode']
12350
+ @ErrMessage = params['ErrMessage']
12351
+ unless params['Result'].nil?
12352
+ @Result = QueryOpenBankBankBranchListResult.new
12353
+ @Result.deserialize(params['Result'])
12354
+ end
12355
+ @RequestId = params['RequestId']
12356
+ end
12357
+ end
12358
+
12359
+ # 查询联行号返回结果
12360
+ class QueryOpenBankBankBranchListResult < TencentCloud::Common::AbstractModel
12361
+ # @param BankBranchList: 支行列表。
12362
+ # @type BankBranchList: Array
12363
+ # @param Count: 列表总数。
12364
+ # @type Count: Integer
12365
+
12366
+ attr_accessor :BankBranchList, :Count
12367
+
12368
+ def initialize(bankbranchlist=nil, count=nil)
12369
+ @BankBranchList = bankbranchlist
12370
+ @Count = count
12371
+ end
12372
+
12373
+ def deserialize(params)
12374
+ unless params['BankBranchList'].nil?
12375
+ @BankBranchList = []
12376
+ params['BankBranchList'].each do |i|
12377
+ bankbranchinfo_tmp = BankBranchInfo.new
12378
+ bankbranchinfo_tmp.deserialize(i)
12379
+ @BankBranchList << bankbranchinfo_tmp
12380
+ end
12381
+ end
12382
+ @Count = params['Count']
12383
+ end
12384
+ end
12385
+
12240
12386
  # QueryOpenBankBindExternalSubMerchantBankAccount请求参数结构体
12241
12387
  class QueryOpenBankBindExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
12242
12388
  # @param ChannelSubMerchantId: 渠道子商户ID。
@@ -12833,6 +12979,100 @@ module TencentCloud
12833
12979
  end
12834
12980
  end
12835
12981
 
12982
+ # QueryOpenBankSupportBankList请求参数结构体
12983
+ class QueryOpenBankSupportBankListRequest < TencentCloud::Common::AbstractModel
12984
+ # @param ChannelMerchantId: 渠道商户ID。
12985
+ # @type ChannelMerchantId: String
12986
+ # @param ChannelName: 渠道名称。
12987
+ # __TENPAY__: 商企付
12988
+ # __WECHAT__: 微信支付
12989
+ # __ALIPAY__: 支付宝
12990
+ # @type ChannelName: String
12991
+ # @param PaymentMethod: 支付方式。
12992
+ # __EBANK_PAYMENT__:ebank付款
12993
+ # __OPENBANK_PAYMENT__: openbank付款
12994
+ # @type PaymentMethod: String
12995
+ # @param Environment: 环境类型。
12996
+ # __release__:生产环境
12997
+ # __sandbox__:沙箱环境
12998
+ # _不填默认为生产环境_
12999
+ # @type Environment: String
13000
+
13001
+ attr_accessor :ChannelMerchantId, :ChannelName, :PaymentMethod, :Environment
13002
+
13003
+ def initialize(channelmerchantid=nil, channelname=nil, paymentmethod=nil, environment=nil)
13004
+ @ChannelMerchantId = channelmerchantid
13005
+ @ChannelName = channelname
13006
+ @PaymentMethod = paymentmethod
13007
+ @Environment = environment
13008
+ end
13009
+
13010
+ def deserialize(params)
13011
+ @ChannelMerchantId = params['ChannelMerchantId']
13012
+ @ChannelName = params['ChannelName']
13013
+ @PaymentMethod = params['PaymentMethod']
13014
+ @Environment = params['Environment']
13015
+ end
13016
+ end
13017
+
13018
+ # QueryOpenBankSupportBankList返回参数结构体
13019
+ class QueryOpenBankSupportBankListResponse < TencentCloud::Common::AbstractModel
13020
+ # @param ErrCode: 错误码。
13021
+ # __SUCCESS__: 成功
13022
+ # __其他__: 见附录-错误码表
13023
+ # @type ErrCode: String
13024
+ # @param ErrMessage: 错误消息。
13025
+ # 注意:此字段可能返回 null,表示取不到有效值。
13026
+ # @type ErrMessage: String
13027
+ # @param Result: 返回结果。
13028
+ # 注意:此字段可能返回 null,表示取不到有效值。
13029
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankSupportBankListResult`
13030
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13031
+ # @type RequestId: String
13032
+
13033
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
13034
+
13035
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
13036
+ @ErrCode = errcode
13037
+ @ErrMessage = errmessage
13038
+ @Result = result
13039
+ @RequestId = requestid
13040
+ end
13041
+
13042
+ def deserialize(params)
13043
+ @ErrCode = params['ErrCode']
13044
+ @ErrMessage = params['ErrMessage']
13045
+ unless params['Result'].nil?
13046
+ @Result = QueryOpenBankSupportBankListResult.new
13047
+ @Result.deserialize(params['Result'])
13048
+ end
13049
+ @RequestId = params['RequestId']
13050
+ end
13051
+ end
13052
+
13053
+ # 查询支持的银行列表返回结果
13054
+ class QueryOpenBankSupportBankListResult < TencentCloud::Common::AbstractModel
13055
+ # @param SupportBankList: 支持的银行列表
13056
+ # @type SupportBankList: Array
13057
+
13058
+ attr_accessor :SupportBankList
13059
+
13060
+ def initialize(supportbanklist=nil)
13061
+ @SupportBankList = supportbanklist
13062
+ end
13063
+
13064
+ def deserialize(params)
13065
+ unless params['SupportBankList'].nil?
13066
+ @SupportBankList = []
13067
+ params['SupportBankList'].each do |i|
13068
+ supportbankinfo_tmp = SupportBankInfo.new
13069
+ supportbankinfo_tmp.deserialize(i)
13070
+ @SupportBankList << supportbankinfo_tmp
13071
+ end
13072
+ end
13073
+ end
13074
+ end
13075
+
12836
13076
  # QueryOpenBankUnbindExternalSubMerchantBankAccount请求参数结构体
12837
13077
  class QueryOpenBankUnbindExternalSubMerchantBankAccountRequest < TencentCloud::Common::AbstractModel
12838
13078
  # @param ChannelSubMerchantId: 渠道子商户ID。
@@ -16729,6 +16969,38 @@ module TencentCloud
16729
16969
  end
16730
16970
  end
16731
16971
 
16972
+ # 支持的银行信息
16973
+ class SupportBankInfo < TencentCloud::Common::AbstractModel
16974
+ # @param BankCode: 银行简称。
16975
+ # @type BankCode: String
16976
+ # @param BankName: 银行名称。
16977
+ # @type BankName: String
16978
+ # @param MaintainStatus: 状态。
16979
+ # __MAINTAINING__: 维护中
16980
+ # __WORKING__: 正常工作
16981
+ # 注意:此字段可能返回 null,表示取不到有效值。
16982
+ # @type MaintainStatus: String
16983
+ # @param BankNotice: 银行渠道维护公告。
16984
+ # 注意:此字段可能返回 null,表示取不到有效值。
16985
+ # @type BankNotice: String
16986
+
16987
+ attr_accessor :BankCode, :BankName, :MaintainStatus, :BankNotice
16988
+
16989
+ def initialize(bankcode=nil, bankname=nil, maintainstatus=nil, banknotice=nil)
16990
+ @BankCode = bankcode
16991
+ @BankName = bankname
16992
+ @MaintainStatus = maintainstatus
16993
+ @BankNotice = banknotice
16994
+ end
16995
+
16996
+ def deserialize(params)
16997
+ @BankCode = params['BankCode']
16998
+ @BankName = params['BankName']
16999
+ @MaintainStatus = params['MaintainStatus']
17000
+ @BankNotice = params['BankNotice']
17001
+ end
17002
+ end
17003
+
16732
17004
  # SyncContractData请求参数结构体
16733
17005
  class SyncContractDataRequest < TencentCloud::Common::AbstractModel
16734
17006
  # @param MidasAppId: 聚鑫分配的支付主MidasAppId
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.270
4
+ version: 1.0.271
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-03-04 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common