tencentcloud-sdk-cpdp 1.0.349 → 1.0.352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190820/client.rb +73 -1
- data/lib/v20190820/models.rb +382 -20
- 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: a7eb270da3eb3d131518c45c1e00565a24d21c7b
|
4
|
+
data.tar.gz: e6656a778e3db33c80b6e3e57943d1074bc20675
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 335e3adc2a85e769e37099181068ee77fa861a9b6acc071872d77b1d4437bd5915c05faf97f0329689ed4aee5cb0fecddf8afdd0f005d85959ac231eade2c303
|
7
|
+
data.tar.gz: cf00d9b785e8079f2c48d819d3f4029575c94c64fdf42d646a9dd768c4e5bb1d23e96b81c7310703c8873df47fbbd76541cd33e98939c12dae054e8a01b052b9
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.352
|
data/lib/v20190820/client.rb
CHANGED
@@ -1069,7 +1069,7 @@ module TencentCloud
|
|
1069
1069
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1070
1070
|
end
|
1071
1071
|
|
1072
|
-
#
|
1072
|
+
# 云企付-创建支付订单。支持B2B网关支付,B2C转账下单。
|
1073
1073
|
|
1074
1074
|
# @param request: Request instance for CreateOpenBankPaymentOrder.
|
1075
1075
|
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankPaymentOrderRequest`
|
@@ -1165,6 +1165,30 @@ module TencentCloud
|
|
1165
1165
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1166
1166
|
end
|
1167
1167
|
|
1168
|
+
# 云企付-创建核销申请,适用于针对支付订单维度的确认收货,解冻等业务场景。目前支持的渠道有TENPAY下的EBANK_PAYMENT付款方式创建支付订单时,选择担保支付下单的订单进行解冻。
|
1169
|
+
|
1170
|
+
# @param request: Request instance for CreateOpenBankVerificationOrder.
|
1171
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankVerificationOrderRequest`
|
1172
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::CreateOpenBankVerificationOrderResponse`
|
1173
|
+
def CreateOpenBankVerificationOrder(request)
|
1174
|
+
body = send_request('CreateOpenBankVerificationOrder', request.serialize)
|
1175
|
+
response = JSON.parse(body)
|
1176
|
+
if response['Response'].key?('Error') == false
|
1177
|
+
model = CreateOpenBankVerificationOrderResponse.new
|
1178
|
+
model.deserialize(response['Response'])
|
1179
|
+
model
|
1180
|
+
else
|
1181
|
+
code = response['Response']['Error']['Code']
|
1182
|
+
message = response['Response']['Error']['Message']
|
1183
|
+
reqid = response['Response']['RequestId']
|
1184
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1185
|
+
end
|
1186
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1187
|
+
raise e
|
1188
|
+
rescue StandardError => e
|
1189
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1190
|
+
end
|
1191
|
+
|
1168
1192
|
# 云鉴-消费订单发起的接口
|
1169
1193
|
|
1170
1194
|
# @param request: Request instance for CreateOrder.
|
@@ -3736,6 +3760,30 @@ module TencentCloud
|
|
3736
3760
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3737
3761
|
end
|
3738
3762
|
|
3763
|
+
# 云企付-查询核销订单状态,客户可以使用该接口来查询核销申请的订单状态。目前仅支持TENPAY渠道EBANK_PAYMENT付款方式的担保支付订单查询。
|
3764
|
+
|
3765
|
+
# @param request: Request instance for QueryOpenBankVerificationOrder.
|
3766
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankVerificationOrderRequest`
|
3767
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankVerificationOrderResponse`
|
3768
|
+
def QueryOpenBankVerificationOrder(request)
|
3769
|
+
body = send_request('QueryOpenBankVerificationOrder', request.serialize)
|
3770
|
+
response = JSON.parse(body)
|
3771
|
+
if response['Response'].key?('Error') == false
|
3772
|
+
model = QueryOpenBankVerificationOrderResponse.new
|
3773
|
+
model.deserialize(response['Response'])
|
3774
|
+
model
|
3775
|
+
else
|
3776
|
+
code = response['Response']['Error']['Code']
|
3777
|
+
message = response['Response']['Error']['Message']
|
3778
|
+
reqid = response['Response']['RequestId']
|
3779
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3780
|
+
end
|
3781
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3782
|
+
raise e
|
3783
|
+
rescue StandardError => e
|
3784
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3785
|
+
end
|
3786
|
+
|
3739
3787
|
# 根据订单号,或者用户Id,查询支付订单状态
|
3740
3788
|
|
3741
3789
|
# @param request: Request instance for QueryOrder.
|
@@ -4840,6 +4888,30 @@ module TencentCloud
|
|
4840
4888
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4841
4889
|
end
|
4842
4890
|
|
4891
|
+
# 云企付-子商户银行卡打款验证,在接入TENPAY渠道EBANK_PAYMENT付款时,若客户期望接入担保支付,需在接入前先完成,收款商户绑定的银行卡进行打款验证。验证成功后,才可以调用CreateOpenBankPaymentOrder接口进行担保支付下单。
|
4892
|
+
|
4893
|
+
# @param request: Request instance for VerifyOpenBankAccount.
|
4894
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::VerifyOpenBankAccountRequest`
|
4895
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::VerifyOpenBankAccountResponse`
|
4896
|
+
def VerifyOpenBankAccount(request)
|
4897
|
+
body = send_request('VerifyOpenBankAccount', request.serialize)
|
4898
|
+
response = JSON.parse(body)
|
4899
|
+
if response['Response'].key?('Error') == false
|
4900
|
+
model = VerifyOpenBankAccountResponse.new
|
4901
|
+
model.deserialize(response['Response'])
|
4902
|
+
model
|
4903
|
+
else
|
4904
|
+
code = response['Response']['Error']['Code']
|
4905
|
+
message = response['Response']['Error']['Message']
|
4906
|
+
reqid = response['Response']['RequestId']
|
4907
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4908
|
+
end
|
4909
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4910
|
+
raise e
|
4911
|
+
rescue StandardError => e
|
4912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4913
|
+
end
|
4914
|
+
|
4843
4915
|
# 云支付-查询合同明细接口
|
4844
4916
|
|
4845
4917
|
# @param request: Request instance for ViewContract.
|
data/lib/v20190820/models.rb
CHANGED
@@ -6762,13 +6762,15 @@ module TencentCloud
|
|
6762
6762
|
# __TENPAY__: 商企付
|
6763
6763
|
# __WECHAT__: 微信支付
|
6764
6764
|
# __ALIPAY__: 支付宝
|
6765
|
-
#
|
6765
|
+
# __HUIFU__: 汇付斗拱
|
6766
6766
|
# @type ChannelName: String
|
6767
6767
|
# @param PaymentMethod: 付款方式。详见附录-云企付枚举类说明-PaymentMethod。
|
6768
6768
|
# __EBANK_PAYMENT__:B2B EBank付款
|
6769
6769
|
# __OPENBANK_PAYMENT__:B2C openbank付款
|
6770
6770
|
# __SAFT_ISV__:支付宝安心发
|
6771
6771
|
# __TRANS_TO_CHANGE__: 微信支付转账到零钱v2
|
6772
|
+
# __TRANS_TO_CHANGE_V3__: 微信支付转账到零钱v3
|
6773
|
+
# __ONLINEBANK__: 汇付网银
|
6772
6774
|
# @type PaymentMethod: String
|
6773
6775
|
# @param PaymentMode: 付款模式。默认直接支付,如
|
6774
6776
|
# __DIRECT__:直接支付
|
@@ -7338,6 +7340,127 @@ module TencentCloud
|
|
7338
7340
|
end
|
7339
7341
|
end
|
7340
7342
|
|
7343
|
+
# CreateOpenBankVerificationOrder请求参数结构体
|
7344
|
+
class CreateOpenBankVerificationOrderRequest < TencentCloud::Common::AbstractModel
|
7345
|
+
# @param ChannelMerchantId: 云企付渠道商户号。外部接入平台入驻云企付平台后下发。
|
7346
|
+
# @type ChannelMerchantId: String
|
7347
|
+
# @param OutVerificationId: 外部核销申请订单号
|
7348
|
+
# @type OutVerificationId: String
|
7349
|
+
# @param VerificationAmount: 核销金额,单位分
|
7350
|
+
# @type VerificationAmount: Integer
|
7351
|
+
# @param OutOrderId: 外部支付订单号。调用创建支付订单时,下单支付时的外部订单号。与ChannelOrderId不能同时为空。
|
7352
|
+
# @type OutOrderId: String
|
7353
|
+
# @param ChannelOrderId: 云企付渠道订单号。调用创建支付订单时,下单支付时的云企付渠道订单号。与OutOrderId不能同时为空。
|
7354
|
+
# @type ChannelOrderId: String
|
7355
|
+
# @param NotifyUrl: 核销成功回调地址。若不上送,则不回调通知。
|
7356
|
+
# @type NotifyUrl: String
|
7357
|
+
# @param Remark: 备注。
|
7358
|
+
# @type Remark: String
|
7359
|
+
# @param ExternalVerificationData: 第三方支付渠道需要额外上送字段。详情见附录描述。
|
7360
|
+
# @type ExternalVerificationData: String
|
7361
|
+
# @param Environment: 环境类型。
|
7362
|
+
# __release__:生产环境
|
7363
|
+
# __sandbox__:沙箱环境
|
7364
|
+
# _不填默认为生产环境_
|
7365
|
+
# @type Environment: String
|
7366
|
+
|
7367
|
+
attr_accessor :ChannelMerchantId, :OutVerificationId, :VerificationAmount, :OutOrderId, :ChannelOrderId, :NotifyUrl, :Remark, :ExternalVerificationData, :Environment
|
7368
|
+
|
7369
|
+
def initialize(channelmerchantid=nil, outverificationid=nil, verificationamount=nil, outorderid=nil, channelorderid=nil, notifyurl=nil, remark=nil, externalverificationdata=nil, environment=nil)
|
7370
|
+
@ChannelMerchantId = channelmerchantid
|
7371
|
+
@OutVerificationId = outverificationid
|
7372
|
+
@VerificationAmount = verificationamount
|
7373
|
+
@OutOrderId = outorderid
|
7374
|
+
@ChannelOrderId = channelorderid
|
7375
|
+
@NotifyUrl = notifyurl
|
7376
|
+
@Remark = remark
|
7377
|
+
@ExternalVerificationData = externalverificationdata
|
7378
|
+
@Environment = environment
|
7379
|
+
end
|
7380
|
+
|
7381
|
+
def deserialize(params)
|
7382
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
7383
|
+
@OutVerificationId = params['OutVerificationId']
|
7384
|
+
@VerificationAmount = params['VerificationAmount']
|
7385
|
+
@OutOrderId = params['OutOrderId']
|
7386
|
+
@ChannelOrderId = params['ChannelOrderId']
|
7387
|
+
@NotifyUrl = params['NotifyUrl']
|
7388
|
+
@Remark = params['Remark']
|
7389
|
+
@ExternalVerificationData = params['ExternalVerificationData']
|
7390
|
+
@Environment = params['Environment']
|
7391
|
+
end
|
7392
|
+
end
|
7393
|
+
|
7394
|
+
# CreateOpenBankVerificationOrder返回参数结构体
|
7395
|
+
class CreateOpenBankVerificationOrderResponse < TencentCloud::Common::AbstractModel
|
7396
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
7397
|
+
# @type ErrCode: String
|
7398
|
+
# @param ErrMessage: 业务系统返回消息。
|
7399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7400
|
+
# @type ErrMessage: String
|
7401
|
+
# @param Result: 核销申请响应对象。
|
7402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7403
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.CreateOpenBankVerificationResult`
|
7404
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7405
|
+
# @type RequestId: String
|
7406
|
+
|
7407
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
7408
|
+
|
7409
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
7410
|
+
@ErrCode = errcode
|
7411
|
+
@ErrMessage = errmessage
|
7412
|
+
@Result = result
|
7413
|
+
@RequestId = requestid
|
7414
|
+
end
|
7415
|
+
|
7416
|
+
def deserialize(params)
|
7417
|
+
@ErrCode = params['ErrCode']
|
7418
|
+
@ErrMessage = params['ErrMessage']
|
7419
|
+
unless params['Result'].nil?
|
7420
|
+
@Result = CreateOpenBankVerificationResult.new
|
7421
|
+
@Result.deserialize(params['Result'])
|
7422
|
+
end
|
7423
|
+
@RequestId = params['RequestId']
|
7424
|
+
end
|
7425
|
+
end
|
7426
|
+
|
7427
|
+
# 云企付-核销确认收货申请响应结果
|
7428
|
+
class CreateOpenBankVerificationResult < TencentCloud::Common::AbstractModel
|
7429
|
+
# @param ChannelVerificationId: 云企付渠道核销订单号
|
7430
|
+
# @type ChannelVerificationId: String
|
7431
|
+
# @param ThirdVerificationId: 第三方支付渠道核销订单号
|
7432
|
+
# @type ThirdVerificationId: String
|
7433
|
+
# @param VerificationStatus: 核销状态
|
7434
|
+
# INIT("INIT","初始化"),
|
7435
|
+
# SUCCESS("SUCCESS","核销成功"),
|
7436
|
+
# FAILED("FAILED","核销失败"),
|
7437
|
+
# PROCESSING("PROCESSING","核销中");
|
7438
|
+
# @type VerificationStatus: String
|
7439
|
+
# @param VerificationAmount: 核销金额,单位分
|
7440
|
+
# @type VerificationAmount: Integer
|
7441
|
+
# @param ThirdVerificationReturnInfo: 渠道附加返回信息,一般情况可以不关注
|
7442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7443
|
+
# @type ThirdVerificationReturnInfo: String
|
7444
|
+
|
7445
|
+
attr_accessor :ChannelVerificationId, :ThirdVerificationId, :VerificationStatus, :VerificationAmount, :ThirdVerificationReturnInfo
|
7446
|
+
|
7447
|
+
def initialize(channelverificationid=nil, thirdverificationid=nil, verificationstatus=nil, verificationamount=nil, thirdverificationreturninfo=nil)
|
7448
|
+
@ChannelVerificationId = channelverificationid
|
7449
|
+
@ThirdVerificationId = thirdverificationid
|
7450
|
+
@VerificationStatus = verificationstatus
|
7451
|
+
@VerificationAmount = verificationamount
|
7452
|
+
@ThirdVerificationReturnInfo = thirdverificationreturninfo
|
7453
|
+
end
|
7454
|
+
|
7455
|
+
def deserialize(params)
|
7456
|
+
@ChannelVerificationId = params['ChannelVerificationId']
|
7457
|
+
@ThirdVerificationId = params['ThirdVerificationId']
|
7458
|
+
@VerificationStatus = params['VerificationStatus']
|
7459
|
+
@VerificationAmount = params['VerificationAmount']
|
7460
|
+
@ThirdVerificationReturnInfo = params['ThirdVerificationReturnInfo']
|
7461
|
+
end
|
7462
|
+
end
|
7463
|
+
|
7341
7464
|
# CreateOrder请求参数结构体
|
7342
7465
|
class CreateOrderRequest < TencentCloud::Common::AbstractModel
|
7343
7466
|
# @param ChannelCode: 渠道编号。ZSB2B:招商银行B2B。
|
@@ -9936,19 +10059,23 @@ module TencentCloud
|
|
9936
10059
|
# @type FundingAccountType: String
|
9937
10060
|
# @param FundingAccountBindSerialNo: 资金账户绑定序列号
|
9938
10061
|
# @type FundingAccountBindSerialNo: String
|
10062
|
+
# @param FundingAccountName: 资金账户名称
|
10063
|
+
# @type FundingAccountName: String
|
9939
10064
|
|
9940
|
-
attr_accessor :FundingAccountNo, :FundingAccountType, :FundingAccountBindSerialNo
|
10065
|
+
attr_accessor :FundingAccountNo, :FundingAccountType, :FundingAccountBindSerialNo, :FundingAccountName
|
9941
10066
|
|
9942
|
-
def initialize(fundingaccountno=nil, fundingaccounttype=nil, fundingaccountbindserialno=nil)
|
10067
|
+
def initialize(fundingaccountno=nil, fundingaccounttype=nil, fundingaccountbindserialno=nil, fundingaccountname=nil)
|
9943
10068
|
@FundingAccountNo = fundingaccountno
|
9944
10069
|
@FundingAccountType = fundingaccounttype
|
9945
10070
|
@FundingAccountBindSerialNo = fundingaccountbindserialno
|
10071
|
+
@FundingAccountName = fundingaccountname
|
9946
10072
|
end
|
9947
10073
|
|
9948
10074
|
def deserialize(params)
|
9949
10075
|
@FundingAccountNo = params['FundingAccountNo']
|
9950
10076
|
@FundingAccountType = params['FundingAccountType']
|
9951
10077
|
@FundingAccountBindSerialNo = params['FundingAccountBindSerialNo']
|
10078
|
+
@FundingAccountName = params['FundingAccountName']
|
9952
10079
|
end
|
9953
10080
|
end
|
9954
10081
|
|
@@ -10080,10 +10207,14 @@ module TencentCloud
|
|
10080
10207
|
# @param Remark: 冻结备注
|
10081
10208
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10082
10209
|
# @type Remark: String
|
10210
|
+
# @param PayeeId: 收款用户ID
|
10211
|
+
# @type PayeeId: String
|
10212
|
+
# @param OutUserId: 外部用户ID
|
10213
|
+
# @type OutUserId: String
|
10083
10214
|
|
10084
|
-
attr_accessor :AmountBeforeTax, :IncomeType, :OutOrderId, :OrderId, :OperationType, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark
|
10215
|
+
attr_accessor :AmountBeforeTax, :IncomeType, :OutOrderId, :OrderId, :OperationType, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId
|
10085
10216
|
|
10086
|
-
def initialize(amountbeforetax=nil, incometype=nil, outorderid=nil, orderid=nil, operationtype=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil)
|
10217
|
+
def initialize(amountbeforetax=nil, incometype=nil, outorderid=nil, orderid=nil, operationtype=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil)
|
10087
10218
|
@AmountBeforeTax = amountbeforetax
|
10088
10219
|
@IncomeType = incometype
|
10089
10220
|
@OutOrderId = outorderid
|
@@ -10094,6 +10225,8 @@ module TencentCloud
|
|
10094
10225
|
@Status = status
|
10095
10226
|
@StatusDesc = statusdesc
|
10096
10227
|
@Remark = remark
|
10228
|
+
@PayeeId = payeeid
|
10229
|
+
@OutUserId = outuserid
|
10097
10230
|
end
|
10098
10231
|
|
10099
10232
|
def deserialize(params)
|
@@ -10107,6 +10240,8 @@ module TencentCloud
|
|
10107
10240
|
@Status = params['Status']
|
10108
10241
|
@StatusDesc = params['StatusDesc']
|
10109
10242
|
@Remark = params['Remark']
|
10243
|
+
@PayeeId = params['PayeeId']
|
10244
|
+
@OutUserId = params['OutUserId']
|
10110
10245
|
end
|
10111
10246
|
end
|
10112
10247
|
|
@@ -12042,10 +12177,12 @@ module TencentCloud
|
|
12042
12177
|
# @type SummaryTime: String
|
12043
12178
|
# @param SummaryCount: 汇总记录数量
|
12044
12179
|
# @type SummaryCount: Integer
|
12180
|
+
# @param OutUserId: 外部用户ID
|
12181
|
+
# @type OutUserId: String
|
12045
12182
|
|
12046
|
-
attr_accessor :SummaryId, :PayeeId, :Name, :IncomeType, :SummaryAmount, :SummaryTime, :SummaryCount
|
12183
|
+
attr_accessor :SummaryId, :PayeeId, :Name, :IncomeType, :SummaryAmount, :SummaryTime, :SummaryCount, :OutUserId
|
12047
12184
|
|
12048
|
-
def initialize(summaryid=nil, payeeid=nil, name=nil, incometype=nil, summaryamount=nil, summarytime=nil, summarycount=nil)
|
12185
|
+
def initialize(summaryid=nil, payeeid=nil, name=nil, incometype=nil, summaryamount=nil, summarytime=nil, summarycount=nil, outuserid=nil)
|
12049
12186
|
@SummaryId = summaryid
|
12050
12187
|
@PayeeId = payeeid
|
12051
12188
|
@Name = name
|
@@ -12053,6 +12190,7 @@ module TencentCloud
|
|
12053
12190
|
@SummaryAmount = summaryamount
|
12054
12191
|
@SummaryTime = summarytime
|
12055
12192
|
@SummaryCount = summarycount
|
12193
|
+
@OutUserId = outuserid
|
12056
12194
|
end
|
12057
12195
|
|
12058
12196
|
def deserialize(params)
|
@@ -12063,6 +12201,7 @@ module TencentCloud
|
|
12063
12201
|
@SummaryAmount = params['SummaryAmount']
|
12064
12202
|
@SummaryTime = params['SummaryTime']
|
12065
12203
|
@SummaryCount = params['SummaryCount']
|
12204
|
+
@OutUserId = params['OutUserId']
|
12066
12205
|
end
|
12067
12206
|
end
|
12068
12207
|
|
@@ -12801,10 +12940,12 @@ module TencentCloud
|
|
12801
12940
|
# @type Remark: String
|
12802
12941
|
# @param PayeeId: 收款用户ID
|
12803
12942
|
# @type PayeeId: String
|
12943
|
+
# @param OutUserId: 外部用户ID
|
12944
|
+
# @type OutUserId: String
|
12804
12945
|
|
12805
|
-
attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId
|
12946
|
+
attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId
|
12806
12947
|
|
12807
|
-
def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil)
|
12948
|
+
def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil)
|
12808
12949
|
@IncomeType = incometype
|
12809
12950
|
@AmountBeforeTax = amountbeforetax
|
12810
12951
|
@AmountAfterTax = amountaftertax
|
@@ -12817,6 +12958,7 @@ module TencentCloud
|
|
12817
12958
|
@StatusDesc = statusdesc
|
12818
12959
|
@Remark = remark
|
12819
12960
|
@PayeeId = payeeid
|
12961
|
+
@OutUserId = outuserid
|
12820
12962
|
end
|
12821
12963
|
|
12822
12964
|
def deserialize(params)
|
@@ -12832,6 +12974,7 @@ module TencentCloud
|
|
12832
12974
|
@StatusDesc = params['StatusDesc']
|
12833
12975
|
@Remark = params['Remark']
|
12834
12976
|
@PayeeId = params['PayeeId']
|
12977
|
+
@OutUserId = params['OutUserId']
|
12835
12978
|
end
|
12836
12979
|
end
|
12837
12980
|
|
@@ -15985,14 +16128,14 @@ module TencentCloud
|
|
15985
16128
|
|
15986
16129
|
# QueryFlexPaymentOrderList请求参数结构体
|
15987
16130
|
class QueryFlexPaymentOrderListRequest < TencentCloud::Common::AbstractModel
|
15988
|
-
# @param PayeeId: 收款用户ID
|
15989
|
-
# @type PayeeId: String
|
15990
16131
|
# @param StartTime: 开始时间,格式"yyyy-MM-dd hh:mm:ss"
|
15991
16132
|
# @type StartTime: String
|
15992
16133
|
# @param EndTime: 结束时间,格式"yyyy-MM-dd hh:mm:ss"
|
15993
16134
|
# @type EndTime: String
|
15994
16135
|
# @param PageNumber: 分页
|
15995
16136
|
# @type PageNumber: :class:`Tencentcloud::Cpdp.v20190820.models.Paging`
|
16137
|
+
# @param PayeeId: 收款用户ID
|
16138
|
+
# @type PayeeId: String
|
15996
16139
|
# @param Environment: 环境类型
|
15997
16140
|
# __release__:生产环境
|
15998
16141
|
# __sandbox__:沙箱环境
|
@@ -16000,24 +16143,24 @@ module TencentCloud
|
|
16000
16143
|
# 缺省默认为生产环境
|
16001
16144
|
# @type Environment: String
|
16002
16145
|
|
16003
|
-
attr_accessor :
|
16146
|
+
attr_accessor :StartTime, :EndTime, :PageNumber, :PayeeId, :Environment
|
16004
16147
|
|
16005
|
-
def initialize(
|
16006
|
-
@PayeeId = payeeid
|
16148
|
+
def initialize(starttime=nil, endtime=nil, pagenumber=nil, payeeid=nil, environment=nil)
|
16007
16149
|
@StartTime = starttime
|
16008
16150
|
@EndTime = endtime
|
16009
16151
|
@PageNumber = pagenumber
|
16152
|
+
@PayeeId = payeeid
|
16010
16153
|
@Environment = environment
|
16011
16154
|
end
|
16012
16155
|
|
16013
16156
|
def deserialize(params)
|
16014
|
-
@PayeeId = params['PayeeId']
|
16015
16157
|
@StartTime = params['StartTime']
|
16016
16158
|
@EndTime = params['EndTime']
|
16017
16159
|
unless params['PageNumber'].nil?
|
16018
16160
|
@PageNumber = Paging.new
|
16019
16161
|
@PageNumber.deserialize(params['PageNumber'])
|
16020
16162
|
end
|
16163
|
+
@PayeeId = params['PayeeId']
|
16021
16164
|
@Environment = params['Environment']
|
16022
16165
|
end
|
16023
16166
|
end
|
@@ -19272,6 +19415,112 @@ module TencentCloud
|
|
19272
19415
|
end
|
19273
19416
|
end
|
19274
19417
|
|
19418
|
+
# QueryOpenBankVerificationOrder请求参数结构体
|
19419
|
+
class QueryOpenBankVerificationOrderRequest < TencentCloud::Common::AbstractModel
|
19420
|
+
# @param ChannelMerchantId: 云企付渠道商户号。外部接入平台入驻云企付平台后下发。
|
19421
|
+
# @type ChannelMerchantId: String
|
19422
|
+
# @param ChannelVerificationId: 云企付渠道核销订单号。与OutVerificationId不能同时为空。
|
19423
|
+
# @type ChannelVerificationId: String
|
19424
|
+
# @param OutVerificationId: 外部核销申请订单号。与ChannelVerificationId不能同时为空。
|
19425
|
+
# @type OutVerificationId: String
|
19426
|
+
# @param Environment: 环境类型。
|
19427
|
+
# __release__:生产环境
|
19428
|
+
# __sandbox__:沙箱环境
|
19429
|
+
# _不填默认为生产环境_
|
19430
|
+
# @type Environment: String
|
19431
|
+
|
19432
|
+
attr_accessor :ChannelMerchantId, :ChannelVerificationId, :OutVerificationId, :Environment
|
19433
|
+
|
19434
|
+
def initialize(channelmerchantid=nil, channelverificationid=nil, outverificationid=nil, environment=nil)
|
19435
|
+
@ChannelMerchantId = channelmerchantid
|
19436
|
+
@ChannelVerificationId = channelverificationid
|
19437
|
+
@OutVerificationId = outverificationid
|
19438
|
+
@Environment = environment
|
19439
|
+
end
|
19440
|
+
|
19441
|
+
def deserialize(params)
|
19442
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
19443
|
+
@ChannelVerificationId = params['ChannelVerificationId']
|
19444
|
+
@OutVerificationId = params['OutVerificationId']
|
19445
|
+
@Environment = params['Environment']
|
19446
|
+
end
|
19447
|
+
end
|
19448
|
+
|
19449
|
+
# QueryOpenBankVerificationOrder返回参数结构体
|
19450
|
+
class QueryOpenBankVerificationOrderResponse < TencentCloud::Common::AbstractModel
|
19451
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
19452
|
+
# @type ErrCode: String
|
19453
|
+
# @param ErrMessage: 业务系统返回消息。
|
19454
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19455
|
+
# @type ErrMessage: String
|
19456
|
+
# @param Result: 核销查询响应对象。
|
19457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19458
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankVerificationResult`
|
19459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
19460
|
+
# @type RequestId: String
|
19461
|
+
|
19462
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
19463
|
+
|
19464
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
19465
|
+
@ErrCode = errcode
|
19466
|
+
@ErrMessage = errmessage
|
19467
|
+
@Result = result
|
19468
|
+
@RequestId = requestid
|
19469
|
+
end
|
19470
|
+
|
19471
|
+
def deserialize(params)
|
19472
|
+
@ErrCode = params['ErrCode']
|
19473
|
+
@ErrMessage = params['ErrMessage']
|
19474
|
+
unless params['Result'].nil?
|
19475
|
+
@Result = QueryOpenBankVerificationResult.new
|
19476
|
+
@Result.deserialize(params['Result'])
|
19477
|
+
end
|
19478
|
+
@RequestId = params['RequestId']
|
19479
|
+
end
|
19480
|
+
end
|
19481
|
+
|
19482
|
+
# 云企付-查询核销申请结果
|
19483
|
+
class QueryOpenBankVerificationResult < TencentCloud::Common::AbstractModel
|
19484
|
+
# @param ChannelVerificationId: 云企付渠道核销订单号
|
19485
|
+
# @type ChannelVerificationId: String
|
19486
|
+
# @param ThirdVerificationId: 第三方支付渠道核销订单号
|
19487
|
+
# @type ThirdVerificationId: String
|
19488
|
+
# @param VerificationAmount: 核销金额,单位分
|
19489
|
+
# @type VerificationAmount: Integer
|
19490
|
+
# @param VerificationStatus: 核销状态
|
19491
|
+
# INIT("INIT","初始化"),
|
19492
|
+
# SUCCESS("SUCCESS","核销成功"),
|
19493
|
+
# FAILED("FAILED","核销失败"),
|
19494
|
+
# PROCESSING("PROCESSING","核销中");
|
19495
|
+
# @type VerificationStatus: String
|
19496
|
+
# @param FailReason: 失败原因,若核销失败,附上原因。
|
19497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19498
|
+
# @type FailReason: String
|
19499
|
+
# @param ThirdVerificationReturnData: 渠道附加返回信息,一般情况可以不关注
|
19500
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19501
|
+
# @type ThirdVerificationReturnData: String
|
19502
|
+
|
19503
|
+
attr_accessor :ChannelVerificationId, :ThirdVerificationId, :VerificationAmount, :VerificationStatus, :FailReason, :ThirdVerificationReturnData
|
19504
|
+
|
19505
|
+
def initialize(channelverificationid=nil, thirdverificationid=nil, verificationamount=nil, verificationstatus=nil, failreason=nil, thirdverificationreturndata=nil)
|
19506
|
+
@ChannelVerificationId = channelverificationid
|
19507
|
+
@ThirdVerificationId = thirdverificationid
|
19508
|
+
@VerificationAmount = verificationamount
|
19509
|
+
@VerificationStatus = verificationstatus
|
19510
|
+
@FailReason = failreason
|
19511
|
+
@ThirdVerificationReturnData = thirdverificationreturndata
|
19512
|
+
end
|
19513
|
+
|
19514
|
+
def deserialize(params)
|
19515
|
+
@ChannelVerificationId = params['ChannelVerificationId']
|
19516
|
+
@ThirdVerificationId = params['ThirdVerificationId']
|
19517
|
+
@VerificationAmount = params['VerificationAmount']
|
19518
|
+
@VerificationStatus = params['VerificationStatus']
|
19519
|
+
@FailReason = params['FailReason']
|
19520
|
+
@ThirdVerificationReturnData = params['ThirdVerificationReturnData']
|
19521
|
+
end
|
19522
|
+
end
|
19523
|
+
|
19275
19524
|
# 查询订单接口的出参,订单列表
|
19276
19525
|
class QueryOrderOutOrderList < TencentCloud::Common::AbstractModel
|
19277
19526
|
# @param MidasAppId: 聚鑫分配的支付主MidasAppId
|
@@ -21948,15 +22197,16 @@ module TencentCloud
|
|
21948
22197
|
# @type OutRefundId: String
|
21949
22198
|
# @param RefundAmount: 退款金额。单位分。
|
21950
22199
|
# @type RefundAmount: Integer
|
21951
|
-
# @param ChannelMerchantId:
|
22200
|
+
# @param ChannelMerchantId: 渠道商户号。外部平台接入云企付平台下发。必填。
|
21952
22201
|
# @type ChannelMerchantId: String
|
21953
|
-
# @param OutOrderId:
|
22202
|
+
# @param OutOrderId: 外部商户订单号,与云企付渠道订单号二者不能同时为空。
|
21954
22203
|
# @type OutOrderId: String
|
21955
|
-
# @param ChannelOrderId:
|
22204
|
+
# @param ChannelOrderId: 云企付渠道订单号,与外部订单号二者不能同时为空。
|
21956
22205
|
# @type ChannelOrderId: String
|
21957
22206
|
# @param NotifyUrl: 退款通知地址。
|
21958
22207
|
# @type NotifyUrl: String
|
21959
22208
|
# @param RefundReason: 退款原因。
|
22209
|
+
# 当EBANK_PAYMENT担保支付订单退款时,此字段必传。
|
21960
22210
|
# @type RefundReason: String
|
21961
22211
|
# @param ExternalRefundData: 第三方渠道退款附加信息。详见附录-复杂类型。
|
21962
22212
|
# 若未作特殊说明,则无需传入。
|
@@ -23340,10 +23590,16 @@ module TencentCloud
|
|
23340
23590
|
# @param Remark: 备注
|
23341
23591
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
23342
23592
|
# @type Remark: String
|
23593
|
+
# @param PayeeId: 收款用户ID
|
23594
|
+
# @type PayeeId: String
|
23595
|
+
# @param OutUserId: 外部用户ID
|
23596
|
+
# @type OutUserId: String
|
23597
|
+
# @param OperationType: 操作类型
|
23598
|
+
# @type OperationType: String
|
23343
23599
|
|
23344
|
-
attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark
|
23600
|
+
attr_accessor :IncomeType, :AmountBeforeTax, :AmountAfterTax, :Tax, :OutOrderId, :OrderId, :InitiateTime, :FinishTime, :Status, :StatusDesc, :Remark, :PayeeId, :OutUserId, :OperationType
|
23345
23601
|
|
23346
|
-
def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil)
|
23602
|
+
def initialize(incometype=nil, amountbeforetax=nil, amountaftertax=nil, tax=nil, outorderid=nil, orderid=nil, initiatetime=nil, finishtime=nil, status=nil, statusdesc=nil, remark=nil, payeeid=nil, outuserid=nil, operationtype=nil)
|
23347
23603
|
@IncomeType = incometype
|
23348
23604
|
@AmountBeforeTax = amountbeforetax
|
23349
23605
|
@AmountAfterTax = amountaftertax
|
@@ -23355,6 +23611,9 @@ module TencentCloud
|
|
23355
23611
|
@Status = status
|
23356
23612
|
@StatusDesc = statusdesc
|
23357
23613
|
@Remark = remark
|
23614
|
+
@PayeeId = payeeid
|
23615
|
+
@OutUserId = outuserid
|
23616
|
+
@OperationType = operationtype
|
23358
23617
|
end
|
23359
23618
|
|
23360
23619
|
def deserialize(params)
|
@@ -23369,6 +23628,9 @@ module TencentCloud
|
|
23369
23628
|
@Status = params['Status']
|
23370
23629
|
@StatusDesc = params['StatusDesc']
|
23371
23630
|
@Remark = params['Remark']
|
23631
|
+
@PayeeId = params['PayeeId']
|
23632
|
+
@OutUserId = params['OutUserId']
|
23633
|
+
@OperationType = params['OperationType']
|
23372
23634
|
end
|
23373
23635
|
end
|
23374
23636
|
|
@@ -25369,6 +25631,106 @@ module TencentCloud
|
|
25369
25631
|
end
|
25370
25632
|
end
|
25371
25633
|
|
25634
|
+
# VerifyOpenBankAccount请求参数结构体
|
25635
|
+
class VerifyOpenBankAccountRequest < TencentCloud::Common::AbstractModel
|
25636
|
+
# @param ChannelMerchantId: 渠道商户号。外部接入平台入驻云企付平台下发
|
25637
|
+
# @type ChannelMerchantId: String
|
25638
|
+
# @param ChannelName: 渠道名称。详见附录-云企付枚举类说明-ChannelName。
|
25639
|
+
# __TENPAY__: 商企付
|
25640
|
+
# @type ChannelName: String
|
25641
|
+
# @param PayeeInfo: 收款方信息。
|
25642
|
+
# @type PayeeInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankPayeeInfo`
|
25643
|
+
# @param NotifyUrl: 通知地址,如www.test.com。
|
25644
|
+
# @type NotifyUrl: String
|
25645
|
+
# @param Environment: 环境类型。
|
25646
|
+
# __release__:生产环境
|
25647
|
+
# __sandbox__:沙箱环境
|
25648
|
+
# _不填默认为生产环境_
|
25649
|
+
# @type Environment: String
|
25650
|
+
|
25651
|
+
attr_accessor :ChannelMerchantId, :ChannelName, :PayeeInfo, :NotifyUrl, :Environment
|
25652
|
+
|
25653
|
+
def initialize(channelmerchantid=nil, channelname=nil, payeeinfo=nil, notifyurl=nil, environment=nil)
|
25654
|
+
@ChannelMerchantId = channelmerchantid
|
25655
|
+
@ChannelName = channelname
|
25656
|
+
@PayeeInfo = payeeinfo
|
25657
|
+
@NotifyUrl = notifyurl
|
25658
|
+
@Environment = environment
|
25659
|
+
end
|
25660
|
+
|
25661
|
+
def deserialize(params)
|
25662
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
25663
|
+
@ChannelName = params['ChannelName']
|
25664
|
+
unless params['PayeeInfo'].nil?
|
25665
|
+
@PayeeInfo = OpenBankPayeeInfo.new
|
25666
|
+
@PayeeInfo.deserialize(params['PayeeInfo'])
|
25667
|
+
end
|
25668
|
+
@NotifyUrl = params['NotifyUrl']
|
25669
|
+
@Environment = params['Environment']
|
25670
|
+
end
|
25671
|
+
end
|
25672
|
+
|
25673
|
+
# VerifyOpenBankAccount返回参数结构体
|
25674
|
+
class VerifyOpenBankAccountResponse < TencentCloud::Common::AbstractModel
|
25675
|
+
# @param ErrCode: 业务系统返回码,SUCCESS表示成功,其他表示失败。
|
25676
|
+
# @type ErrCode: String
|
25677
|
+
# @param ErrMessage: 业务系统返回消息。
|
25678
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25679
|
+
# @type ErrMessage: String
|
25680
|
+
# @param Result: 打款验证结果。前端使用url字段,根据指引完成打款验证动作
|
25681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
25682
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.VerifyOpenBankAccountResult`
|
25683
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
25684
|
+
# @type RequestId: String
|
25685
|
+
|
25686
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
25687
|
+
|
25688
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
25689
|
+
@ErrCode = errcode
|
25690
|
+
@ErrMessage = errmessage
|
25691
|
+
@Result = result
|
25692
|
+
@RequestId = requestid
|
25693
|
+
end
|
25694
|
+
|
25695
|
+
def deserialize(params)
|
25696
|
+
@ErrCode = params['ErrCode']
|
25697
|
+
@ErrMessage = params['ErrMessage']
|
25698
|
+
unless params['Result'].nil?
|
25699
|
+
@Result = VerifyOpenBankAccountResult.new
|
25700
|
+
@Result.deserialize(params['Result'])
|
25701
|
+
end
|
25702
|
+
@RequestId = params['RequestId']
|
25703
|
+
end
|
25704
|
+
end
|
25705
|
+
|
25706
|
+
# 打款验证响应结果结构体
|
25707
|
+
class VerifyOpenBankAccountResult < TencentCloud::Common::AbstractModel
|
25708
|
+
# @param VerifyState: 打款验证状态。
|
25709
|
+
# INIT("打款中"),
|
25710
|
+
# PENDING("打款成功待验证"),
|
25711
|
+
# VERIFIED("验证成功"),
|
25712
|
+
# FAILED("打款失败"),
|
25713
|
+
# VERIFY_FAILED("验证失败")
|
25714
|
+
# @type VerifyState: String
|
25715
|
+
# @param RedirectInfo: 重定向参数,用于客户端跳转,收款商户未完成打款验证时返回该参数
|
25716
|
+
# @type RedirectInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankRedirectInfo`
|
25717
|
+
|
25718
|
+
attr_accessor :VerifyState, :RedirectInfo
|
25719
|
+
|
25720
|
+
def initialize(verifystate=nil, redirectinfo=nil)
|
25721
|
+
@VerifyState = verifystate
|
25722
|
+
@RedirectInfo = redirectinfo
|
25723
|
+
end
|
25724
|
+
|
25725
|
+
def deserialize(params)
|
25726
|
+
@VerifyState = params['VerifyState']
|
25727
|
+
unless params['RedirectInfo'].nil?
|
25728
|
+
@RedirectInfo = OpenBankRedirectInfo.new
|
25729
|
+
@RedirectInfo.deserialize(params['RedirectInfo'])
|
25730
|
+
end
|
25731
|
+
end
|
25732
|
+
end
|
25733
|
+
|
25372
25734
|
# ViewContract请求参数结构体
|
25373
25735
|
class ViewContractRequest < TencentCloud::Common::AbstractModel
|
25374
25736
|
# @param OpenId: 收单系统分配的开放ID
|
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.
|
4
|
+
version: 1.0.352
|
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-07-
|
11
|
+
date: 2022-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|