tencentcloud-sdk-cpdp 1.0.271 → 1.0.272

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: b6965415879b2fca5fe553066429ba40a18c2937
4
- data.tar.gz: caf604dea9324aa1887b8420fc4fa1e3ff7f1158
3
+ metadata.gz: 4d51ba3a22b39f6fdc7ed92ac3f70e78556f6723
4
+ data.tar.gz: 3b7cebef58befe4732ac4abba619dec343e24e50
5
5
  SHA512:
6
- metadata.gz: c6faac2e6e98e9dd4eaaafde0f490ec316f1b999a1681bc9466fde523cfb0868b77ea68b0eb10967c7225ce92ed6e1bcc7b5f46128da1e1eef5f3af539cbad3f
7
- data.tar.gz: e8e01b4052d4abd59d47200842abb1eef3953474b1019d54ffcdfa7a703fb8c1ffbacaebf43a57d0578ed15a2ea47b77ea05bbaede655c566ae94338583ce139
6
+ metadata.gz: 53158cbf4d4813eee29506c8314ddab41179ba97dc87a9a61ba36b1e9e3ad623fa91d5dc6fd5375dc61afde76220b248671117bffb2bab0a9b13b01325e3ee34
7
+ data.tar.gz: 7113b2aabd7fab39a033f8147eab1684fe58f13eec20f81598e6dc964aabf9910ed1fe2e4da486f302b5dd086868298b5ccadac4dbf4e6475b0f6d7149c9dd28
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.271
1
+ 1.0.272
@@ -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 QueryOpenBankBankAccountBalance.
2468
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBankAccountBalanceRequest`
2469
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBankAccountBalanceResponse`
2470
+ def QueryOpenBankBankAccountBalance(request)
2471
+ body = send_request('QueryOpenBankBankAccountBalance', request.serialize)
2472
+ response = JSON.parse(body)
2473
+ if response['Response'].key?('Error') == false
2474
+ model = QueryOpenBankBankAccountBalanceResponse.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 QueryOpenBankBankBranchList.
@@ -2510,6 +2534,30 @@ module TencentCloud
2510
2534
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2511
2535
  end
2512
2536
 
2537
+ # 云企付-按日期批量查询回单下载地址
2538
+
2539
+ # @param request: Request instance for QueryOpenBankDailyReceiptDownloadUrl.
2540
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankDailyReceiptDownloadUrlRequest`
2541
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankDailyReceiptDownloadUrlResponse`
2542
+ def QueryOpenBankDailyReceiptDownloadUrl(request)
2543
+ body = send_request('QueryOpenBankDailyReceiptDownloadUrl', request.serialize)
2544
+ response = JSON.parse(body)
2545
+ if response['Response'].key?('Error') == false
2546
+ model = QueryOpenBankDailyReceiptDownloadUrlResponse.new
2547
+ model.deserialize(response['Response'])
2548
+ model
2549
+ else
2550
+ code = response['Response']['Error']['Code']
2551
+ message = response['Response']['Error']['Message']
2552
+ reqid = response['Response']['RequestId']
2553
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2554
+ end
2555
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2556
+ raise e
2557
+ rescue StandardError => e
2558
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2559
+ end
2560
+
2513
2561
  # 云企付-查询对账单下载地址
2514
2562
 
2515
2563
  # @param request: Request instance for QueryOpenBankDownLoadUrl.
@@ -12270,6 +12270,103 @@ module TencentCloud
12270
12270
  end
12271
12271
  end
12272
12272
 
12273
+ # QueryOpenBankBankAccountBalance请求参数结构体
12274
+ class QueryOpenBankBankAccountBalanceRequest < TencentCloud::Common::AbstractModel
12275
+ # @param ChannelMerchantId: 云企付渠道商户号。外部接入平台入驻云企付平台后下发。
12276
+ # @type ChannelMerchantId: String
12277
+ # @param ChannelSubMerchantId: 云企付渠道子商户号。入驻在渠道商户下的子商户ID,如付款方的商户ID,对应创建支付订单中接口参数中的PayerInfo中的payerId。
12278
+ # @type ChannelSubMerchantId: String
12279
+ # @param ChannelName: 渠道名称。
12280
+ # __TENPAY__: 商企付
12281
+ # __WECHAT__: 微信支付
12282
+ # __ALIPAY__: 支付宝
12283
+ # @type ChannelName: String
12284
+ # @param PaymentMethod: 支付方式,如
12285
+ # __EBANK_PAYMENT__:ebank付款
12286
+ # __OPENBANK_PAYMENT__: openbank付款
12287
+ # @type PaymentMethod: String
12288
+ # @param BindSerialNo: 绑卡序列号,银行账户唯一ID,区分多卡或多账户的场景
12289
+ # @type BindSerialNo: String
12290
+ # @param Environment: 环境类型
12291
+ # release:生产环境
12292
+ # sandbox:沙箱环境
12293
+ # 缺省默认为生产环境
12294
+ # @type Environment: String
12295
+
12296
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :BindSerialNo, :Environment
12297
+
12298
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, bindserialno=nil, environment=nil)
12299
+ @ChannelMerchantId = channelmerchantid
12300
+ @ChannelSubMerchantId = channelsubmerchantid
12301
+ @ChannelName = channelname
12302
+ @PaymentMethod = paymentmethod
12303
+ @BindSerialNo = bindserialno
12304
+ @Environment = environment
12305
+ end
12306
+
12307
+ def deserialize(params)
12308
+ @ChannelMerchantId = params['ChannelMerchantId']
12309
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
12310
+ @ChannelName = params['ChannelName']
12311
+ @PaymentMethod = params['PaymentMethod']
12312
+ @BindSerialNo = params['BindSerialNo']
12313
+ @Environment = params['Environment']
12314
+ end
12315
+ end
12316
+
12317
+ # QueryOpenBankBankAccountBalance返回参数结构体
12318
+ class QueryOpenBankBankAccountBalanceResponse < TencentCloud::Common::AbstractModel
12319
+ # @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
12320
+ # @type ErrCode: String
12321
+ # @param ErrMessage: 业务系统返回消息。
12322
+ # 注意:此字段可能返回 null,表示取不到有效值。
12323
+ # @type ErrMessage: String
12324
+ # @param Result: 账户余额查询响应对象。
12325
+ # 注意:此字段可能返回 null,表示取不到有效值。
12326
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankBankAccountBalanceResult`
12327
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12328
+ # @type RequestId: String
12329
+
12330
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
12331
+
12332
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
12333
+ @ErrCode = errcode
12334
+ @ErrMessage = errmessage
12335
+ @Result = result
12336
+ @RequestId = requestid
12337
+ end
12338
+
12339
+ def deserialize(params)
12340
+ @ErrCode = params['ErrCode']
12341
+ @ErrMessage = params['ErrMessage']
12342
+ unless params['Result'].nil?
12343
+ @Result = QueryOpenBankBankAccountBalanceResult.new
12344
+ @Result.deserialize(params['Result'])
12345
+ end
12346
+ @RequestId = params['RequestId']
12347
+ end
12348
+ end
12349
+
12350
+ # 云企付-查询账户余额
12351
+ class QueryOpenBankBankAccountBalanceResult < TencentCloud::Common::AbstractModel
12352
+ # @param TotalBalance: 总余额,单位分
12353
+ # @type TotalBalance: String
12354
+ # @param YesterdayBalance: 昨日余额,单位分
12355
+ # @type YesterdayBalance: String
12356
+
12357
+ attr_accessor :TotalBalance, :YesterdayBalance
12358
+
12359
+ def initialize(totalbalance=nil, yesterdaybalance=nil)
12360
+ @TotalBalance = totalbalance
12361
+ @YesterdayBalance = yesterdaybalance
12362
+ end
12363
+
12364
+ def deserialize(params)
12365
+ @TotalBalance = params['TotalBalance']
12366
+ @YesterdayBalance = params['YesterdayBalance']
12367
+ end
12368
+ end
12369
+
12273
12370
  # QueryOpenBankBankBranchList请求参数结构体
12274
12371
  class QueryOpenBankBankBranchListRequest < TencentCloud::Common::AbstractModel
12275
12372
  # @param ChannelMerchantId: 渠道商户ID。
@@ -12490,6 +12587,113 @@ module TencentCloud
12490
12587
  end
12491
12588
  end
12492
12589
 
12590
+ # QueryOpenBankDailyReceiptDownloadUrl请求参数结构体
12591
+ class QueryOpenBankDailyReceiptDownloadUrlRequest < TencentCloud::Common::AbstractModel
12592
+ # @param ChannelMerchantId: 云企付渠道商户号。外部接入平台入驻云企付平台后下发。
12593
+ # @type ChannelMerchantId: String
12594
+ # @param ChannelSubMerchantId: 云企付渠道子商户号。入驻在渠道商户下的子商户ID,如付款方的商户ID,对应创建支付订单中接口参数中的PayerInfo中的payerId。
12595
+ # @type ChannelSubMerchantId: String
12596
+ # @param ChannelName: 渠道名称。
12597
+ # __TENPAY__: 商企付
12598
+ # __WECHAT__: 微信支付
12599
+ # __ALIPAY__: 支付宝
12600
+ # @type ChannelName: String
12601
+ # @param PaymentMethod: 付款方式。如
12602
+ # __EBANK_PAYMENT__:ebank付款
12603
+ # __OPENBANK_PAYMENT__: openbank付款
12604
+ # @type PaymentMethod: String
12605
+ # @param BindSerialNo: 绑卡序列号,银行卡唯一标记,资金账户ID,用于区分商户绑定多卡或多账户场景
12606
+ # @type BindSerialNo: String
12607
+ # @param QueryDate: 查询日期,D日查询D-1日的回单文件
12608
+ # @type QueryDate: String
12609
+ # @param Environment: 环境类型
12610
+ # release:生产环境
12611
+ # sandbox:沙箱环境
12612
+ # 缺省默认为生产环境
12613
+ # @type Environment: String
12614
+
12615
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :ChannelName, :PaymentMethod, :BindSerialNo, :QueryDate, :Environment
12616
+
12617
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, channelname=nil, paymentmethod=nil, bindserialno=nil, querydate=nil, environment=nil)
12618
+ @ChannelMerchantId = channelmerchantid
12619
+ @ChannelSubMerchantId = channelsubmerchantid
12620
+ @ChannelName = channelname
12621
+ @PaymentMethod = paymentmethod
12622
+ @BindSerialNo = bindserialno
12623
+ @QueryDate = querydate
12624
+ @Environment = environment
12625
+ end
12626
+
12627
+ def deserialize(params)
12628
+ @ChannelMerchantId = params['ChannelMerchantId']
12629
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
12630
+ @ChannelName = params['ChannelName']
12631
+ @PaymentMethod = params['PaymentMethod']
12632
+ @BindSerialNo = params['BindSerialNo']
12633
+ @QueryDate = params['QueryDate']
12634
+ @Environment = params['Environment']
12635
+ end
12636
+ end
12637
+
12638
+ # QueryOpenBankDailyReceiptDownloadUrl返回参数结构体
12639
+ class QueryOpenBankDailyReceiptDownloadUrlResponse < TencentCloud::Common::AbstractModel
12640
+ # @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
12641
+ # @type ErrCode: String
12642
+ # @param ErrMessage: 业务系统返回消息。
12643
+ # 注意:此字段可能返回 null,表示取不到有效值。
12644
+ # @type ErrMessage: String
12645
+ # @param Result: 按日期查询回单下载地址响应对象。
12646
+ # 注意:此字段可能返回 null,表示取不到有效值。
12647
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankDailyReceiptDownloadUrlResult`
12648
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12649
+ # @type RequestId: String
12650
+
12651
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
12652
+
12653
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
12654
+ @ErrCode = errcode
12655
+ @ErrMessage = errmessage
12656
+ @Result = result
12657
+ @RequestId = requestid
12658
+ end
12659
+
12660
+ def deserialize(params)
12661
+ @ErrCode = params['ErrCode']
12662
+ @ErrMessage = params['ErrMessage']
12663
+ unless params['Result'].nil?
12664
+ @Result = QueryOpenBankDailyReceiptDownloadUrlResult.new
12665
+ @Result.deserialize(params['Result'])
12666
+ end
12667
+ @RequestId = params['RequestId']
12668
+ end
12669
+ end
12670
+
12671
+ # 云企付-按日期查询回单下载地址
12672
+ class QueryOpenBankDailyReceiptDownloadUrlResult < TencentCloud::Common::AbstractModel
12673
+ # @param DownloadUrl: 回单文件下载链接
12674
+ # @type DownloadUrl: String
12675
+ # @param ExpireTime: 过期时间
12676
+ # @type ExpireTime: String
12677
+ # @param ReceiptStatus: 回单状态
12678
+ # PENDING: 处理中
12679
+ # READY: 可以下载
12680
+ # @type ReceiptStatus: String
12681
+
12682
+ attr_accessor :DownloadUrl, :ExpireTime, :ReceiptStatus
12683
+
12684
+ def initialize(downloadurl=nil, expiretime=nil, receiptstatus=nil)
12685
+ @DownloadUrl = downloadurl
12686
+ @ExpireTime = expiretime
12687
+ @ReceiptStatus = receiptstatus
12688
+ end
12689
+
12690
+ def deserialize(params)
12691
+ @DownloadUrl = params['DownloadUrl']
12692
+ @ExpireTime = params['ExpireTime']
12693
+ @ReceiptStatus = params['ReceiptStatus']
12694
+ end
12695
+ end
12696
+
12493
12697
  # QueryOpenBankDownLoadUrl请求参数结构体
12494
12698
  class QueryOpenBankDownLoadUrlRequest < TencentCloud::Common::AbstractModel
12495
12699
  # @param ChannelMerchantId: 渠道商户号,外部接入平台方入驻云企付平台后下发。
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.271
4
+ version: 1.0.272
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-07 00:00:00.000000000 Z
11
+ date: 2022-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common