tencentcloud-sdk-cpdp 1.0.342 → 1.0.343
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190820/client.rb +216 -0
- data/lib/v20190820/models.rb +1856 -167
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce7e81d847757c544121b3bbc789637c2d17567d
|
4
|
+
data.tar.gz: cda2db88875e58297ad3fa3115523ac32a98b4e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77c4f92c3d1c1dd4155386a366a7de64974e132fa12fd5c2a744e700cc2aacced09422c8c81c1fcbf7316b1961fb0053b64ae4da9d4f9727b79a4e58c3dc469a
|
7
|
+
data.tar.gz: 597b1938aa55b4ac5ac9d79311c3e33d18a06fbfd14eb0b83a4008bb2d31ceec069888586fc7a21efbf582a33fa4592e9850bd6f88a41d990de8a1e0b3723f74
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.343
|
data/lib/v20190820/client.rb
CHANGED
@@ -925,6 +925,30 @@ module TencentCloud
|
|
925
925
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
926
926
|
end
|
927
927
|
|
928
|
+
# 云企付-子商户进件V2
|
929
|
+
|
930
|
+
# @param request: Request instance for CreateOpenBankAggregatedSubMerchantRegistration.
|
931
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankAggregatedSubMerchantRegistrationRequest`
|
932
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankAggregatedSubMerchantRegistrationResponse`
|
933
|
+
def CreateOpenBankAggregatedSubMerchantRegistration(request)
|
934
|
+
body = send_request('CreateOpenBankAggregatedSubMerchantRegistration', request.serialize)
|
935
|
+
response = JSON.parse(body)
|
936
|
+
if response['Response'].key?('Error') == false
|
937
|
+
model = CreateOpenBankAggregatedSubMerchantRegistrationResponse.new
|
938
|
+
model.deserialize(response['Response'])
|
939
|
+
model
|
940
|
+
else
|
941
|
+
code = response['Response']['Error']['Code']
|
942
|
+
message = response['Response']['Error']['Message']
|
943
|
+
reqid = response['Response']['RequestId']
|
944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
945
|
+
end
|
946
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
947
|
+
raise e
|
948
|
+
rescue StandardError => e
|
949
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
950
|
+
end
|
951
|
+
|
928
952
|
# 第三方子商户电子记账本创建接口
|
929
953
|
|
930
954
|
# @param request: Request instance for CreateOpenBankExternalSubMerchantAccountBook.
|
@@ -1045,6 +1069,54 @@ module TencentCloud
|
|
1045
1069
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1046
1070
|
end
|
1047
1071
|
|
1072
|
+
# 云企付-子商户费率配置
|
1073
|
+
|
1074
|
+
# @param request: Request instance for CreateOpenBankSubMerchantRateConfigure.
|
1075
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankSubMerchantRateConfigureRequest`
|
1076
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankSubMerchantRateConfigureResponse`
|
1077
|
+
def CreateOpenBankSubMerchantRateConfigure(request)
|
1078
|
+
body = send_request('CreateOpenBankSubMerchantRateConfigure', request.serialize)
|
1079
|
+
response = JSON.parse(body)
|
1080
|
+
if response['Response'].key?('Error') == false
|
1081
|
+
model = CreateOpenBankSubMerchantRateConfigureResponse.new
|
1082
|
+
model.deserialize(response['Response'])
|
1083
|
+
model
|
1084
|
+
else
|
1085
|
+
code = response['Response']['Error']['Code']
|
1086
|
+
message = response['Response']['Error']['Message']
|
1087
|
+
reqid = response['Response']['RequestId']
|
1088
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1089
|
+
end
|
1090
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1091
|
+
raise e
|
1092
|
+
rescue StandardError => e
|
1093
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# 云企付-聚合下单
|
1097
|
+
|
1098
|
+
# @param request: Request instance for CreateOpenBankUnifiedOrder.
|
1099
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankUnifiedOrderRequest`
|
1100
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankUnifiedOrderResponse`
|
1101
|
+
def CreateOpenBankUnifiedOrder(request)
|
1102
|
+
body = send_request('CreateOpenBankUnifiedOrder', request.serialize)
|
1103
|
+
response = JSON.parse(body)
|
1104
|
+
if response['Response'].key?('Error') == false
|
1105
|
+
model = CreateOpenBankUnifiedOrderResponse.new
|
1106
|
+
model.deserialize(response['Response'])
|
1107
|
+
model
|
1108
|
+
else
|
1109
|
+
code = response['Response']['Error']['Code']
|
1110
|
+
message = response['Response']['Error']['Message']
|
1111
|
+
reqid = response['Response']['RequestId']
|
1112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1113
|
+
end
|
1114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1115
|
+
raise e
|
1116
|
+
rescue StandardError => e
|
1117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1118
|
+
end
|
1119
|
+
|
1048
1120
|
# 云鉴-消费订单发起的接口
|
1049
1121
|
|
1050
1122
|
# @param request: Request instance for CreateOrder.
|
@@ -3232,6 +3304,30 @@ module TencentCloud
|
|
3232
3304
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3233
3305
|
end
|
3234
3306
|
|
3307
|
+
# 云企付-分页查询对账单数据
|
3308
|
+
|
3309
|
+
# @param request: Request instance for QueryOpenBankBillDataPage.
|
3310
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBillDataPageRequest`
|
3311
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankBillDataPageResponse`
|
3312
|
+
def QueryOpenBankBillDataPage(request)
|
3313
|
+
body = send_request('QueryOpenBankBillDataPage', request.serialize)
|
3314
|
+
response = JSON.parse(body)
|
3315
|
+
if response['Response'].key?('Error') == false
|
3316
|
+
model = QueryOpenBankBillDataPageResponse.new
|
3317
|
+
model.deserialize(response['Response'])
|
3318
|
+
model
|
3319
|
+
else
|
3320
|
+
code = response['Response']['Error']['Code']
|
3321
|
+
message = response['Response']['Error']['Message']
|
3322
|
+
reqid = response['Response']['RequestId']
|
3323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3324
|
+
end
|
3325
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3326
|
+
raise e
|
3327
|
+
rescue StandardError => e
|
3328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3329
|
+
end
|
3330
|
+
|
3235
3331
|
# 云企付-子商户银行卡绑定结果查询
|
3236
3332
|
|
3237
3333
|
# @param request: Request instance for QueryOpenBankBindExternalSubMerchantBankAccount.
|
@@ -3424,6 +3520,78 @@ module TencentCloud
|
|
3424
3520
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3425
3521
|
end
|
3426
3522
|
|
3523
|
+
# 云企付-退款结果查询
|
3524
|
+
|
3525
|
+
# @param request: Request instance for QueryOpenBankRefundOrder.
|
3526
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankRefundOrderRequest`
|
3527
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankRefundOrderResponse`
|
3528
|
+
def QueryOpenBankRefundOrder(request)
|
3529
|
+
body = send_request('QueryOpenBankRefundOrder', request.serialize)
|
3530
|
+
response = JSON.parse(body)
|
3531
|
+
if response['Response'].key?('Error') == false
|
3532
|
+
model = QueryOpenBankRefundOrderResponse.new
|
3533
|
+
model.deserialize(response['Response'])
|
3534
|
+
model
|
3535
|
+
else
|
3536
|
+
code = response['Response']['Error']['Code']
|
3537
|
+
message = response['Response']['Error']['Message']
|
3538
|
+
reqid = response['Response']['RequestId']
|
3539
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3540
|
+
end
|
3541
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3542
|
+
raise e
|
3543
|
+
rescue StandardError => e
|
3544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3545
|
+
end
|
3546
|
+
|
3547
|
+
# 云企付-子商户资质文件查询
|
3548
|
+
|
3549
|
+
# @param request: Request instance for QueryOpenBankSubMerchantCredential.
|
3550
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantCredentialRequest`
|
3551
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantCredentialResponse`
|
3552
|
+
def QueryOpenBankSubMerchantCredential(request)
|
3553
|
+
body = send_request('QueryOpenBankSubMerchantCredential', request.serialize)
|
3554
|
+
response = JSON.parse(body)
|
3555
|
+
if response['Response'].key?('Error') == false
|
3556
|
+
model = QueryOpenBankSubMerchantCredentialResponse.new
|
3557
|
+
model.deserialize(response['Response'])
|
3558
|
+
model
|
3559
|
+
else
|
3560
|
+
code = response['Response']['Error']['Code']
|
3561
|
+
message = response['Response']['Error']['Message']
|
3562
|
+
reqid = response['Response']['RequestId']
|
3563
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3564
|
+
end
|
3565
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3566
|
+
raise e
|
3567
|
+
rescue StandardError => e
|
3568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
# 云企付-子商户费率配置结果查询
|
3572
|
+
|
3573
|
+
# @param request: Request instance for QueryOpenBankSubMerchantRateConfigure.
|
3574
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantRateConfigureRequest`
|
3575
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantRateConfigureResponse`
|
3576
|
+
def QueryOpenBankSubMerchantRateConfigure(request)
|
3577
|
+
body = send_request('QueryOpenBankSubMerchantRateConfigure', request.serialize)
|
3578
|
+
response = JSON.parse(body)
|
3579
|
+
if response['Response'].key?('Error') == false
|
3580
|
+
model = QueryOpenBankSubMerchantRateConfigureResponse.new
|
3581
|
+
model.deserialize(response['Response'])
|
3582
|
+
model
|
3583
|
+
else
|
3584
|
+
code = response['Response']['Error']['Code']
|
3585
|
+
message = response['Response']['Error']['Message']
|
3586
|
+
reqid = response['Response']['RequestId']
|
3587
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3588
|
+
end
|
3589
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3590
|
+
raise e
|
3591
|
+
rescue StandardError => e
|
3592
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3593
|
+
end
|
3594
|
+
|
3427
3595
|
# 云企付-查询支持银行列表
|
3428
3596
|
|
3429
3597
|
# @param request: Request instance for QueryOpenBankSupportBankList.
|
@@ -3976,6 +4144,30 @@ module TencentCloud
|
|
3976
4144
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3977
4145
|
end
|
3978
4146
|
|
4147
|
+
# 云企付-退款申请
|
4148
|
+
|
4149
|
+
# @param request: Request instance for RefundOpenBankOrder.
|
4150
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::RefundOpenBankOrderRequest`
|
4151
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::RefundOpenBankOrderResponse`
|
4152
|
+
def RefundOpenBankOrder(request)
|
4153
|
+
body = send_request('RefundOpenBankOrder', request.serialize)
|
4154
|
+
response = JSON.parse(body)
|
4155
|
+
if response['Response'].key?('Error') == false
|
4156
|
+
model = RefundOpenBankOrderResponse.new
|
4157
|
+
model.deserialize(response['Response'])
|
4158
|
+
model
|
4159
|
+
else
|
4160
|
+
code = response['Response']['Error']['Code']
|
4161
|
+
message = response['Response']['Error']['Message']
|
4162
|
+
reqid = response['Response']['RequestId']
|
4163
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4164
|
+
end
|
4165
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4166
|
+
raise e
|
4167
|
+
rescue StandardError => e
|
4168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4169
|
+
end
|
4170
|
+
|
3979
4171
|
# 云鉴-消费订单退款的接口
|
3980
4172
|
|
3981
4173
|
# @param request: Request instance for RefundOrder.
|
@@ -4456,6 +4648,30 @@ module TencentCloud
|
|
4456
4648
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4457
4649
|
end
|
4458
4650
|
|
4651
|
+
# 云企付-子商户资质文件上传
|
4652
|
+
|
4653
|
+
# @param request: Request instance for UploadOpenBankSubMerchantCredential.
|
4654
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::UploadOpenBankSubMerchantCredentialRequest`
|
4655
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::UploadOpenBankSubMerchantCredentialResponse`
|
4656
|
+
def UploadOpenBankSubMerchantCredential(request)
|
4657
|
+
body = send_request('UploadOpenBankSubMerchantCredential', request.serialize)
|
4658
|
+
response = JSON.parse(body)
|
4659
|
+
if response['Response'].key?('Error') == false
|
4660
|
+
model = UploadOpenBankSubMerchantCredentialResponse.new
|
4661
|
+
model.deserialize(response['Response'])
|
4662
|
+
model
|
4663
|
+
else
|
4664
|
+
code = response['Response']['Error']['Code']
|
4665
|
+
message = response['Response']['Error']['Message']
|
4666
|
+
reqid = response['Response']['RequestId']
|
4667
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4668
|
+
end
|
4669
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4670
|
+
raise e
|
4671
|
+
rescue StandardError => e
|
4672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4673
|
+
end
|
4674
|
+
|
4459
4675
|
# 云支付-上传机构文件接口
|
4460
4676
|
|
4461
4677
|
# @param request: Request instance for UploadOrgFile.
|