tencentcloud-sdk-cpdp 1.0.260 → 1.0.261

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: 7a8c2424a07b536d411fdf6b8302fbf787d38693
4
- data.tar.gz: 36ea6524d88165d5ec6ab07aa23cf74001e6d2d7
3
+ metadata.gz: c229bb62e4d1864e264ea5f5d6527fd0e1b4be80
4
+ data.tar.gz: a0e0294447b75100c94d42febb34759ca66adc93
5
5
  SHA512:
6
- metadata.gz: 7ff2310543e348ce3e65b5677bff80e0f7bd712ec2cd2751617b9f4351497486c005840645ee9f4cea20ef66672a151c03e26fe6e2ced85d86c1bfe1864e64e1
7
- data.tar.gz: 0b0af381b6f14ef47867626d1354cc564a6aa1719c55e64d1df94074bfcc00ce47f770897cbf3623b35913f1eefda24b3d56b1dca1be3a7b6d2775d90d4ab19b
6
+ metadata.gz: 5bcbe598548c07c736be35c05137b5903e98505cbd31ada449b823331380055e79578c39d167793594906bd3efbf5c39d81d31a89eb4165a9c7dfff055207ae9
7
+ data.tar.gz: 1729733afdb3bb09bd277f6451179ef34886d8204732eb0523a334379deef57ed4e9211327a26a88f6fc9dfbc4a1e10b1631236804e34326ccc046ebd6292fa4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.260
1
+ 1.0.261
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 云企付-子商户银行卡绑定
297
+
298
+ # @param request: Request instance for BindOpenBankExternalSubMerchantBankAccount.
299
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::BindOpenBankExternalSubMerchantBankAccountRequest`
300
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::BindOpenBankExternalSubMerchantBankAccountResponse`
301
+ def BindOpenBankExternalSubMerchantBankAccount(request)
302
+ body = send_request('BindOpenBankExternalSubMerchantBankAccount', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = BindOpenBankExternalSubMerchantBankAccountResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。
297
321
 
298
322
  # @param request: Request instance for BindRelateAccReUnionPay.
@@ -420,6 +444,30 @@ module TencentCloud
420
444
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
421
445
  end
422
446
 
447
+ # 云企付-关闭订单
448
+
449
+ # @param request: Request instance for CloseOpenBankPaymentOrder.
450
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CloseOpenBankPaymentOrderRequest`
451
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CloseOpenBankPaymentOrderResponse`
452
+ def CloseOpenBankPaymentOrder(request)
453
+ body = send_request('CloseOpenBankPaymentOrder', request.serialize)
454
+ response = JSON.parse(body)
455
+ if response['Response'].key?('Error') == false
456
+ model = CloseOpenBankPaymentOrderResponse.new
457
+ model.deserialize(response['Response'])
458
+ model
459
+ else
460
+ code = response['Response']['Error']['Code']
461
+ message = response['Response']['Error']['Message']
462
+ reqid = response['Response']['RequestId']
463
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
464
+ end
465
+ rescue TencentCloud::Common::TencentCloudSDKException => e
466
+ raise e
467
+ rescue StandardError => e
468
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
469
+ end
470
+
423
471
  # 通过此接口关闭此前已创建的订单,关闭后,用户将无法继续付款。仅能关闭创建后未支付的订单
424
472
 
425
473
  # @param request: Request instance for CloseOrder.
@@ -709,6 +757,78 @@ module TencentCloud
709
757
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
710
758
  end
711
759
 
760
+ # 云企付-子商户进件
761
+
762
+ # @param request: Request instance for CreateOpenBankExternalSubMerchantRegistration.
763
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankExternalSubMerchantRegistrationRequest`
764
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankExternalSubMerchantRegistrationResponse`
765
+ def CreateOpenBankExternalSubMerchantRegistration(request)
766
+ body = send_request('CreateOpenBankExternalSubMerchantRegistration', request.serialize)
767
+ response = JSON.parse(body)
768
+ if response['Response'].key?('Error') == false
769
+ model = CreateOpenBankExternalSubMerchantRegistrationResponse.new
770
+ model.deserialize(response['Response'])
771
+ model
772
+ else
773
+ code = response['Response']['Error']['Code']
774
+ message = response['Response']['Error']['Message']
775
+ reqid = response['Response']['RequestId']
776
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
777
+ end
778
+ rescue TencentCloud::Common::TencentCloudSDKException => e
779
+ raise e
780
+ rescue StandardError => e
781
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
782
+ end
783
+
784
+ # 云企付-创建商户
785
+
786
+ # @param request: Request instance for CreateOpenBankMerchant.
787
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankMerchantRequest`
788
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankMerchantResponse`
789
+ def CreateOpenBankMerchant(request)
790
+ body = send_request('CreateOpenBankMerchant', request.serialize)
791
+ response = JSON.parse(body)
792
+ if response['Response'].key?('Error') == false
793
+ model = CreateOpenBankMerchantResponse.new
794
+ model.deserialize(response['Response'])
795
+ model
796
+ else
797
+ code = response['Response']['Error']['Code']
798
+ message = response['Response']['Error']['Message']
799
+ reqid = response['Response']['RequestId']
800
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
801
+ end
802
+ rescue TencentCloud::Common::TencentCloudSDKException => e
803
+ raise e
804
+ rescue StandardError => e
805
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
806
+ end
807
+
808
+ # 云企付-创建支付订单
809
+
810
+ # @param request: Request instance for CreateOpenBankPaymentOrder.
811
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankPaymentOrderRequest`
812
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankPaymentOrderResponse`
813
+ def CreateOpenBankPaymentOrder(request)
814
+ body = send_request('CreateOpenBankPaymentOrder', request.serialize)
815
+ response = JSON.parse(body)
816
+ if response['Response'].key?('Error') == false
817
+ model = CreateOpenBankPaymentOrderResponse.new
818
+ model.deserialize(response['Response'])
819
+ model
820
+ else
821
+ code = response['Response']['Error']['Code']
822
+ message = response['Response']['Error']['Message']
823
+ reqid = response['Response']['RequestId']
824
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
825
+ end
826
+ rescue TencentCloud::Common::TencentCloudSDKException => e
827
+ raise e
828
+ rescue StandardError => e
829
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
830
+ end
831
+
712
832
  # 云鉴-消费订单发起的接口
713
833
 
714
834
  # @param request: Request instance for CreateOrder.
@@ -2246,6 +2366,150 @@ module TencentCloud
2246
2366
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2247
2367
  end
2248
2368
 
2369
+ # 云企付-子商户银行卡绑定结果查询
2370
+
2371
+ # @param request: Request instance for QueryOpenBankBindExternalSubMerchantBankAccount.
2372
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBindExternalSubMerchantBankAccountRequest`
2373
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBindExternalSubMerchantBankAccountResponse`
2374
+ def QueryOpenBankBindExternalSubMerchantBankAccount(request)
2375
+ body = send_request('QueryOpenBankBindExternalSubMerchantBankAccount', request.serialize)
2376
+ response = JSON.parse(body)
2377
+ if response['Response'].key?('Error') == false
2378
+ model = QueryOpenBankBindExternalSubMerchantBankAccountResponse.new
2379
+ model.deserialize(response['Response'])
2380
+ model
2381
+ else
2382
+ code = response['Response']['Error']['Code']
2383
+ message = response['Response']['Error']['Message']
2384
+ reqid = response['Response']['RequestId']
2385
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2386
+ end
2387
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2388
+ raise e
2389
+ rescue StandardError => e
2390
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2391
+ end
2392
+
2393
+ # 云企付-查询对账单下载地址
2394
+
2395
+ # @param request: Request instance for QueryOpenBankDownLoadUrl.
2396
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankDownLoadUrlRequest`
2397
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankDownLoadUrlResponse`
2398
+ def QueryOpenBankDownLoadUrl(request)
2399
+ body = send_request('QueryOpenBankDownLoadUrl', request.serialize)
2400
+ response = JSON.parse(body)
2401
+ if response['Response'].key?('Error') == false
2402
+ model = QueryOpenBankDownLoadUrlResponse.new
2403
+ model.deserialize(response['Response'])
2404
+ model
2405
+ else
2406
+ code = response['Response']['Error']['Code']
2407
+ message = response['Response']['Error']['Message']
2408
+ reqid = response['Response']['RequestId']
2409
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2410
+ end
2411
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2412
+ raise e
2413
+ rescue StandardError => e
2414
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2415
+ end
2416
+
2417
+ # 云企付-子商户银行卡列表查询
2418
+
2419
+ # @param request: Request instance for QueryOpenBankExternalSubMerchantBankAccount.
2420
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankExternalSubMerchantBankAccountRequest`
2421
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankExternalSubMerchantBankAccountResponse`
2422
+ def QueryOpenBankExternalSubMerchantBankAccount(request)
2423
+ body = send_request('QueryOpenBankExternalSubMerchantBankAccount', request.serialize)
2424
+ response = JSON.parse(body)
2425
+ if response['Response'].key?('Error') == false
2426
+ model = QueryOpenBankExternalSubMerchantBankAccountResponse.new
2427
+ model.deserialize(response['Response'])
2428
+ model
2429
+ else
2430
+ code = response['Response']['Error']['Code']
2431
+ message = response['Response']['Error']['Message']
2432
+ reqid = response['Response']['RequestId']
2433
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2434
+ end
2435
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2436
+ raise e
2437
+ rescue StandardError => e
2438
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2439
+ end
2440
+
2441
+ # 云企付-子商户进件结果查询
2442
+
2443
+ # @param request: Request instance for QueryOpenBankExternalSubMerchantRegistration.
2444
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankExternalSubMerchantRegistrationRequest`
2445
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankExternalSubMerchantRegistrationResponse`
2446
+ def QueryOpenBankExternalSubMerchantRegistration(request)
2447
+ body = send_request('QueryOpenBankExternalSubMerchantRegistration', request.serialize)
2448
+ response = JSON.parse(body)
2449
+ if response['Response'].key?('Error') == false
2450
+ model = QueryOpenBankExternalSubMerchantRegistrationResponse.new
2451
+ model.deserialize(response['Response'])
2452
+ model
2453
+ else
2454
+ code = response['Response']['Error']['Code']
2455
+ message = response['Response']['Error']['Message']
2456
+ reqid = response['Response']['RequestId']
2457
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2458
+ end
2459
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2460
+ raise e
2461
+ rescue StandardError => e
2462
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2463
+ end
2464
+
2465
+ # 云企付-查询订单支付结果
2466
+
2467
+ # @param request: Request instance for QueryOpenBankPaymentOrder.
2468
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankPaymentOrderRequest`
2469
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankPaymentOrderResponse`
2470
+ def QueryOpenBankPaymentOrder(request)
2471
+ body = send_request('QueryOpenBankPaymentOrder', request.serialize)
2472
+ response = JSON.parse(body)
2473
+ if response['Response'].key?('Error') == false
2474
+ model = QueryOpenBankPaymentOrderResponse.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
+
2489
+ # 云企付-子商户银行卡解绑结果查询
2490
+
2491
+ # @param request: Request instance for QueryOpenBankUnbindExternalSubMerchantBankAccount.
2492
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankUnbindExternalSubMerchantBankAccountRequest`
2493
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankUnbindExternalSubMerchantBankAccountResponse`
2494
+ def QueryOpenBankUnbindExternalSubMerchantBankAccount(request)
2495
+ body = send_request('QueryOpenBankUnbindExternalSubMerchantBankAccount', request.serialize)
2496
+ response = JSON.parse(body)
2497
+ if response['Response'].key?('Error') == false
2498
+ model = QueryOpenBankUnbindExternalSubMerchantBankAccountResponse.new
2499
+ model.deserialize(response['Response'])
2500
+ model
2501
+ else
2502
+ code = response['Response']['Error']['Code']
2503
+ message = response['Response']['Error']['Message']
2504
+ reqid = response['Response']['RequestId']
2505
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2506
+ end
2507
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2508
+ raise e
2509
+ rescue StandardError => e
2510
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2511
+ end
2512
+
2249
2513
  # 根据订单号,或者用户Id,查询支付订单状态
2250
2514
 
2251
2515
  # @param request: Request instance for QueryOrder.
@@ -3014,6 +3278,30 @@ module TencentCloud
3014
3278
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3015
3279
  end
3016
3280
 
3281
+ # 云企付-子商户银行卡解绑
3282
+
3283
+ # @param request: Request instance for UnbindOpenBankExternalSubMerchantBankAccount.
3284
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::UnbindOpenBankExternalSubMerchantBankAccountRequest`
3285
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::UnbindOpenBankExternalSubMerchantBankAccountResponse`
3286
+ def UnbindOpenBankExternalSubMerchantBankAccount(request)
3287
+ body = send_request('UnbindOpenBankExternalSubMerchantBankAccount', request.serialize)
3288
+ response = JSON.parse(body)
3289
+ if response['Response'].key?('Error') == false
3290
+ model = UnbindOpenBankExternalSubMerchantBankAccountResponse.new
3291
+ model.deserialize(response['Response'])
3292
+ model
3293
+ else
3294
+ code = response['Response']['Error']['Code']
3295
+ message = response['Response']['Error']['Message']
3296
+ reqid = response['Response']['RequestId']
3297
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3298
+ end
3299
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3300
+ raise e
3301
+ rescue StandardError => e
3302
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3303
+ end
3304
+
3017
3305
  # 会员解绑提现账户。此接口可以支持会员解除名下的绑定账户关系。
3018
3306
 
3019
3307
  # @param request: Request instance for UnbindRelateAcct.