tencentcloud-sdk-cpdp 3.0.379 → 3.0.380
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 +0 -48
- data/lib/v20190820/models.rb +0 -264
- 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: baa96b29fc1b79e4548a9da2c77edecc1db9ac54
|
4
|
+
data.tar.gz: fcc134a12d6f0f97fd81480caaa06c9e465aac25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ccf5911a8509e1a1ef71303febbba6b6b4541c922e536aced95751ca851863395ef5027d29be634f248ee96ad1aaa58f32905a67985ed8e5d3a3af12bcf0f73
|
7
|
+
data.tar.gz: ff28b678c5186162173315ab559b56c9a74ebf34900d2aa4fc03bd888e3f889c58befbed5abb3ac41743c00f1255a8a9c8a8d598e7527af15a8d7c5a1989f6c1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.380
|
data/lib/v20190820/client.rb
CHANGED
@@ -1357,30 +1357,6 @@ module TencentCloud
|
|
1357
1357
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1358
1358
|
end
|
1359
1359
|
|
1360
|
-
# 银企直连-单笔支付接口
|
1361
|
-
|
1362
|
-
# @param request: Request instance for CreateSinglePay.
|
1363
|
-
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateSinglePayRequest`
|
1364
|
-
# @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateSinglePayResponse`
|
1365
|
-
def CreateSinglePay(request)
|
1366
|
-
body = send_request('CreateSinglePay', request.serialize)
|
1367
|
-
response = JSON.parse(body)
|
1368
|
-
if response['Response'].key?('Error') == false
|
1369
|
-
model = CreateSinglePayResponse.new
|
1370
|
-
model.deserialize(response['Response'])
|
1371
|
-
model
|
1372
|
-
else
|
1373
|
-
code = response['Response']['Error']['Code']
|
1374
|
-
message = response['Response']['Error']['Message']
|
1375
|
-
reqid = response['Response']['RequestId']
|
1376
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1377
|
-
end
|
1378
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1379
|
-
raise e
|
1380
|
-
rescue StandardError => e
|
1381
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1382
|
-
end
|
1383
|
-
|
1384
1360
|
# 灵云-单笔主播转账接口
|
1385
1361
|
|
1386
1362
|
# @param request: Request instance for CreateSinglePayment.
|
@@ -3976,30 +3952,6 @@ module TencentCloud
|
|
3976
3952
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3977
3953
|
end
|
3978
3954
|
|
3979
|
-
# 银企直连-单笔支付状态查询接口
|
3980
|
-
|
3981
|
-
# @param request: Request instance for QuerySinglePay.
|
3982
|
-
# @type request: :class:`Tencentcloud::cpdp::V20190820::QuerySinglePayRequest`
|
3983
|
-
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QuerySinglePayResponse`
|
3984
|
-
def QuerySinglePay(request)
|
3985
|
-
body = send_request('QuerySinglePay', request.serialize)
|
3986
|
-
response = JSON.parse(body)
|
3987
|
-
if response['Response'].key?('Error') == false
|
3988
|
-
model = QuerySinglePayResponse.new
|
3989
|
-
model.deserialize(response['Response'])
|
3990
|
-
model
|
3991
|
-
else
|
3992
|
-
code = response['Response']['Error']['Code']
|
3993
|
-
message = response['Response']['Error']['Message']
|
3994
|
-
reqid = response['Response']['RequestId']
|
3995
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3996
|
-
end
|
3997
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3998
|
-
raise e
|
3999
|
-
rescue StandardError => e
|
4000
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4001
|
-
end
|
4002
|
-
|
4003
3955
|
# 灵云-单笔转账结果查询
|
4004
3956
|
|
4005
3957
|
# @param request: Request instance for QuerySinglePaymentResult.
|
data/lib/v20190820/models.rb
CHANGED
@@ -8077,158 +8077,6 @@ module TencentCloud
|
|
8077
8077
|
end
|
8078
8078
|
end
|
8079
8079
|
|
8080
|
-
# CreateSinglePay请求参数结构体
|
8081
|
-
class CreateSinglePayRequest < TencentCloud::Common::AbstractModel
|
8082
|
-
# @param SerialNumber: 业务流水号,历史唯一
|
8083
|
-
# @type SerialNumber: String
|
8084
|
-
# @param PayAccountNumber: 付方账户号
|
8085
|
-
# @type PayAccountNumber: String
|
8086
|
-
# @param PayAccountName: 付方账户名称
|
8087
|
-
# @type PayAccountName: String
|
8088
|
-
# @param Amount: 金额
|
8089
|
-
# @type Amount: Integer
|
8090
|
-
# @param RecvAccountNumber: 收方账户号
|
8091
|
-
# @type RecvAccountNumber: String
|
8092
|
-
# @param RecvAccountName: 收方账户名称
|
8093
|
-
# @type RecvAccountName: String
|
8094
|
-
# @param PayBankCnaps: 付方账户CNAPS号
|
8095
|
-
# @type PayBankCnaps: String
|
8096
|
-
# @param PayBankType: 付方账户银行大类,PayBankCnaps为空时必传(见常见问题-银企直连银行类型)
|
8097
|
-
# @type PayBankType: String
|
8098
|
-
# @param PayBankProvince: 付方账户银行所在省,PayBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
|
8099
|
-
# @type PayBankProvince: String
|
8100
|
-
# @param PayBankCity: 付方账户银行所在地区,PayBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
|
8101
|
-
# @type PayBankCity: String
|
8102
|
-
# @param RecvBankCnaps: 收方账户CNAPS号
|
8103
|
-
# @type RecvBankCnaps: String
|
8104
|
-
# @param RecvBankType: 收方账户银行大类,RecvBankCnaps为空时必传(见常见问题-银企直连银行类型)
|
8105
|
-
# @type RecvBankType: String
|
8106
|
-
# @param RecvBankProvince: 收方账户银行所在省,RecvBankCnaps为空时必传(见常见问题-银企直连省份枚举信息)
|
8107
|
-
# @type RecvBankProvince: String
|
8108
|
-
# @param RecvBankCity: 收方账户银行所在地区,RecvBankCnaps为空时必传(见常见问题-银企直连城市枚举信息)
|
8109
|
-
# @type RecvBankCity: String
|
8110
|
-
# @param RecvCertType: 收款方证件类型(见常见问题-银企直连证件类型枚举信息)
|
8111
|
-
# @type RecvCertType: String
|
8112
|
-
# @param RecvCertNo: 收款方证件号码
|
8113
|
-
# @type RecvCertNo: String
|
8114
|
-
# @param Summary: 摘要信息
|
8115
|
-
# @type Summary: String
|
8116
|
-
# @param Profile: 接入环境。沙箱环境填sandbox
|
8117
|
-
# @type Profile: String
|
8118
|
-
|
8119
|
-
attr_accessor :SerialNumber, :PayAccountNumber, :PayAccountName, :Amount, :RecvAccountNumber, :RecvAccountName, :PayBankCnaps, :PayBankType, :PayBankProvince, :PayBankCity, :RecvBankCnaps, :RecvBankType, :RecvBankProvince, :RecvBankCity, :RecvCertType, :RecvCertNo, :Summary, :Profile
|
8120
|
-
|
8121
|
-
def initialize(serialnumber=nil, payaccountnumber=nil, payaccountname=nil, amount=nil, recvaccountnumber=nil, recvaccountname=nil, paybankcnaps=nil, paybanktype=nil, paybankprovince=nil, paybankcity=nil, recvbankcnaps=nil, recvbanktype=nil, recvbankprovince=nil, recvbankcity=nil, recvcerttype=nil, recvcertno=nil, summary=nil, profile=nil)
|
8122
|
-
@SerialNumber = serialnumber
|
8123
|
-
@PayAccountNumber = payaccountnumber
|
8124
|
-
@PayAccountName = payaccountname
|
8125
|
-
@Amount = amount
|
8126
|
-
@RecvAccountNumber = recvaccountnumber
|
8127
|
-
@RecvAccountName = recvaccountname
|
8128
|
-
@PayBankCnaps = paybankcnaps
|
8129
|
-
@PayBankType = paybanktype
|
8130
|
-
@PayBankProvince = paybankprovince
|
8131
|
-
@PayBankCity = paybankcity
|
8132
|
-
@RecvBankCnaps = recvbankcnaps
|
8133
|
-
@RecvBankType = recvbanktype
|
8134
|
-
@RecvBankProvince = recvbankprovince
|
8135
|
-
@RecvBankCity = recvbankcity
|
8136
|
-
@RecvCertType = recvcerttype
|
8137
|
-
@RecvCertNo = recvcertno
|
8138
|
-
@Summary = summary
|
8139
|
-
@Profile = profile
|
8140
|
-
end
|
8141
|
-
|
8142
|
-
def deserialize(params)
|
8143
|
-
@SerialNumber = params['SerialNumber']
|
8144
|
-
@PayAccountNumber = params['PayAccountNumber']
|
8145
|
-
@PayAccountName = params['PayAccountName']
|
8146
|
-
@Amount = params['Amount']
|
8147
|
-
@RecvAccountNumber = params['RecvAccountNumber']
|
8148
|
-
@RecvAccountName = params['RecvAccountName']
|
8149
|
-
@PayBankCnaps = params['PayBankCnaps']
|
8150
|
-
@PayBankType = params['PayBankType']
|
8151
|
-
@PayBankProvince = params['PayBankProvince']
|
8152
|
-
@PayBankCity = params['PayBankCity']
|
8153
|
-
@RecvBankCnaps = params['RecvBankCnaps']
|
8154
|
-
@RecvBankType = params['RecvBankType']
|
8155
|
-
@RecvBankProvince = params['RecvBankProvince']
|
8156
|
-
@RecvBankCity = params['RecvBankCity']
|
8157
|
-
@RecvCertType = params['RecvCertType']
|
8158
|
-
@RecvCertNo = params['RecvCertNo']
|
8159
|
-
@Summary = params['Summary']
|
8160
|
-
@Profile = params['Profile']
|
8161
|
-
end
|
8162
|
-
end
|
8163
|
-
|
8164
|
-
# CreateSinglePay返回参数结构体
|
8165
|
-
class CreateSinglePayResponse < TencentCloud::Common::AbstractModel
|
8166
|
-
# @param Result: 返回结果
|
8167
|
-
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateSinglePayResult`
|
8168
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8169
|
-
# @type RequestId: String
|
8170
|
-
|
8171
|
-
attr_accessor :Result, :RequestId
|
8172
|
-
|
8173
|
-
def initialize(result=nil, requestid=nil)
|
8174
|
-
@Result = result
|
8175
|
-
@RequestId = requestid
|
8176
|
-
end
|
8177
|
-
|
8178
|
-
def deserialize(params)
|
8179
|
-
unless params['Result'].nil?
|
8180
|
-
@Result = CreateSinglePayResult.new
|
8181
|
-
@Result.deserialize(params['Result'])
|
8182
|
-
end
|
8183
|
-
@RequestId = params['RequestId']
|
8184
|
-
end
|
8185
|
-
end
|
8186
|
-
|
8187
|
-
# 银企直连-单笔支付响应结果
|
8188
|
-
class CreateSinglePayResult < TencentCloud::Common::AbstractModel
|
8189
|
-
# @param HandleStatus: 受理状态(S:处理成功;F:处理失败)
|
8190
|
-
# @type HandleStatus: String
|
8191
|
-
# @param HandleMsg: 受理状态描述
|
8192
|
-
# @type HandleMsg: String
|
8193
|
-
# @param SerialNo: 业务流水号,历史唯一
|
8194
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8195
|
-
# @type SerialNo: String
|
8196
|
-
# @param BankSerialNo: 银行指令流水
|
8197
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8198
|
-
# @type BankSerialNo: String
|
8199
|
-
# @param PayStatus: 付款状态
|
8200
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8201
|
-
# @type PayStatus: String
|
8202
|
-
# @param BankRetCode: 银行原始返回码
|
8203
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8204
|
-
# @type BankRetCode: String
|
8205
|
-
# @param BankRetMsg: 银行原始返回
|
8206
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8207
|
-
# @type BankRetMsg: String
|
8208
|
-
|
8209
|
-
attr_accessor :HandleStatus, :HandleMsg, :SerialNo, :BankSerialNo, :PayStatus, :BankRetCode, :BankRetMsg
|
8210
|
-
|
8211
|
-
def initialize(handlestatus=nil, handlemsg=nil, serialno=nil, bankserialno=nil, paystatus=nil, bankretcode=nil, bankretmsg=nil)
|
8212
|
-
@HandleStatus = handlestatus
|
8213
|
-
@HandleMsg = handlemsg
|
8214
|
-
@SerialNo = serialno
|
8215
|
-
@BankSerialNo = bankserialno
|
8216
|
-
@PayStatus = paystatus
|
8217
|
-
@BankRetCode = bankretcode
|
8218
|
-
@BankRetMsg = bankretmsg
|
8219
|
-
end
|
8220
|
-
|
8221
|
-
def deserialize(params)
|
8222
|
-
@HandleStatus = params['HandleStatus']
|
8223
|
-
@HandleMsg = params['HandleMsg']
|
8224
|
-
@SerialNo = params['SerialNo']
|
8225
|
-
@BankSerialNo = params['BankSerialNo']
|
8226
|
-
@PayStatus = params['PayStatus']
|
8227
|
-
@BankRetCode = params['BankRetCode']
|
8228
|
-
@BankRetMsg = params['BankRetMsg']
|
8229
|
-
end
|
8230
|
-
end
|
8231
|
-
|
8232
8080
|
# CreateSinglePayment接口返回响应
|
8233
8081
|
class CreateSinglePaymentData < TencentCloud::Common::AbstractModel
|
8234
8082
|
# @param TradeSerialNo: 平台交易流水号,唯一
|
@@ -20678,118 +20526,6 @@ module TencentCloud
|
|
20678
20526
|
end
|
20679
20527
|
end
|
20680
20528
|
|
20681
|
-
# 银企直连-查询单笔支付状态条目
|
20682
|
-
class QuerySinglePayItem < TencentCloud::Common::AbstractModel
|
20683
|
-
# @param PayStatus: 付款状态(S:支付成功;P:支付处理中;F:支付失败)
|
20684
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20685
|
-
# @type PayStatus: String
|
20686
|
-
# @param PlatformMsg: 平台信息
|
20687
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20688
|
-
# @type PlatformMsg: String
|
20689
|
-
# @param BankRetCode: 银行原始返回码
|
20690
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20691
|
-
# @type BankRetCode: String
|
20692
|
-
# @param BankRetMsg: 银行原始返回
|
20693
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20694
|
-
# @type BankRetMsg: String
|
20695
|
-
|
20696
|
-
attr_accessor :PayStatus, :PlatformMsg, :BankRetCode, :BankRetMsg
|
20697
|
-
|
20698
|
-
def initialize(paystatus=nil, platformmsg=nil, bankretcode=nil, bankretmsg=nil)
|
20699
|
-
@PayStatus = paystatus
|
20700
|
-
@PlatformMsg = platformmsg
|
20701
|
-
@BankRetCode = bankretcode
|
20702
|
-
@BankRetMsg = bankretmsg
|
20703
|
-
end
|
20704
|
-
|
20705
|
-
def deserialize(params)
|
20706
|
-
@PayStatus = params['PayStatus']
|
20707
|
-
@PlatformMsg = params['PlatformMsg']
|
20708
|
-
@BankRetCode = params['BankRetCode']
|
20709
|
-
@BankRetMsg = params['BankRetMsg']
|
20710
|
-
end
|
20711
|
-
end
|
20712
|
-
|
20713
|
-
# QuerySinglePay请求参数结构体
|
20714
|
-
class QuerySinglePayRequest < TencentCloud::Common::AbstractModel
|
20715
|
-
# @param SerialNumber: 业务流水号
|
20716
|
-
# @type SerialNumber: String
|
20717
|
-
# @param Profile: 接入环境。沙箱环境填sandbox
|
20718
|
-
# @type Profile: String
|
20719
|
-
|
20720
|
-
attr_accessor :SerialNumber, :Profile
|
20721
|
-
|
20722
|
-
def initialize(serialnumber=nil, profile=nil)
|
20723
|
-
@SerialNumber = serialnumber
|
20724
|
-
@Profile = profile
|
20725
|
-
end
|
20726
|
-
|
20727
|
-
def deserialize(params)
|
20728
|
-
@SerialNumber = params['SerialNumber']
|
20729
|
-
@Profile = params['Profile']
|
20730
|
-
end
|
20731
|
-
end
|
20732
|
-
|
20733
|
-
# QuerySinglePay返回参数结构体
|
20734
|
-
class QuerySinglePayResponse < TencentCloud::Common::AbstractModel
|
20735
|
-
# @param Result: 返回结果
|
20736
|
-
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QuerySinglePayResult`
|
20737
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
20738
|
-
# @type RequestId: String
|
20739
|
-
|
20740
|
-
attr_accessor :Result, :RequestId
|
20741
|
-
|
20742
|
-
def initialize(result=nil, requestid=nil)
|
20743
|
-
@Result = result
|
20744
|
-
@RequestId = requestid
|
20745
|
-
end
|
20746
|
-
|
20747
|
-
def deserialize(params)
|
20748
|
-
unless params['Result'].nil?
|
20749
|
-
@Result = QuerySinglePayResult.new
|
20750
|
-
@Result.deserialize(params['Result'])
|
20751
|
-
end
|
20752
|
-
@RequestId = params['RequestId']
|
20753
|
-
end
|
20754
|
-
end
|
20755
|
-
|
20756
|
-
# 银企直连-查询单笔支付状态结果
|
20757
|
-
class QuerySinglePayResult < TencentCloud::Common::AbstractModel
|
20758
|
-
# @param HandleStatus: 受理状态(S:处理成功;F:处理失败)
|
20759
|
-
# @type HandleStatus: String
|
20760
|
-
# @param HandleMsg: 受理状态描述
|
20761
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20762
|
-
# @type HandleMsg: String
|
20763
|
-
# @param SerialNo: 业务流水号
|
20764
|
-
# @type SerialNo: String
|
20765
|
-
# @param Items: 支付明细
|
20766
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
20767
|
-
# @type Items: Array
|
20768
|
-
|
20769
|
-
attr_accessor :HandleStatus, :HandleMsg, :SerialNo, :Items
|
20770
|
-
|
20771
|
-
def initialize(handlestatus=nil, handlemsg=nil, serialno=nil, items=nil)
|
20772
|
-
@HandleStatus = handlestatus
|
20773
|
-
@HandleMsg = handlemsg
|
20774
|
-
@SerialNo = serialno
|
20775
|
-
@Items = items
|
20776
|
-
end
|
20777
|
-
|
20778
|
-
def deserialize(params)
|
20779
|
-
@HandleStatus = params['HandleStatus']
|
20780
|
-
@HandleMsg = params['HandleMsg']
|
20781
|
-
@SerialNo = params['SerialNo']
|
20782
|
-
unless params['Items'].nil?
|
20783
|
-
@Items = []
|
20784
|
-
params['Items'].each do |i|
|
20785
|
-
querysinglepayitem_tmp = QuerySinglePayItem.new
|
20786
|
-
querysinglepayitem_tmp.deserialize(i)
|
20787
|
-
@Items << querysinglepayitem_tmp
|
20788
|
-
end
|
20789
|
-
end
|
20790
|
-
end
|
20791
|
-
end
|
20792
|
-
|
20793
20529
|
# QuerySinglePaymentResult接口返回响应
|
20794
20530
|
class QuerySinglePaymentResultData < TencentCloud::Common::AbstractModel
|
20795
20531
|
# @param TradeSerialNo: 平台交易流水号,唯一
|
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.
|
4
|
+
version: 3.0.380
|
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-08-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|