tencentcloud-sdk-cpdp 3.0.397 → 3.0.402
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 +96 -0
- data/lib/v20190820/models.rb +483 -8
- 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: ad7579239a10b4678742f5fd7ea9b870d4288255
|
4
|
+
data.tar.gz: f7705814430e1c1da4cfb76c0510d1139edba521
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b06b0f031ec57a3ec5590661be722fdf46198e785de59a1a25f570b3bdb151b84c946c29291a7e9091f94f455ddcb6a1f232150d358732dc8d1f05d805f9244d
|
7
|
+
data.tar.gz: 7b54f9b84bf311ebad6522a9448d631e7fd093bf1e1f27335d0677aa3842e272827549919ae46d0afcf350f5d0c630e6789f0c57cba5cb9de2aa4c3ef6b56ce1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.402
|
data/lib/v20190820/client.rb
CHANGED
@@ -245,6 +245,54 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 云企付结算申请接口
|
249
|
+
|
250
|
+
# @param request: Request instance for ApplyOpenBankSettleOrder.
|
251
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::ApplyOpenBankSettleOrderRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::ApplyOpenBankSettleOrderResponse`
|
253
|
+
def ApplyOpenBankSettleOrder(request)
|
254
|
+
body = send_request('ApplyOpenBankSettleOrder', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = ApplyOpenBankSettleOrderResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
272
|
+
# 子商户在线签约
|
273
|
+
|
274
|
+
# @param request: Request instance for ApplyOpenBankSubMerchantSignOnline.
|
275
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::ApplyOpenBankSubMerchantSignOnlineRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::ApplyOpenBankSubMerchantSignOnlineResponse`
|
277
|
+
def ApplyOpenBankSubMerchantSignOnline(request)
|
278
|
+
body = send_request('ApplyOpenBankSubMerchantSignOnline', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = ApplyOpenBankSubMerchantSignOnlineResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
248
296
|
# 跨境-汇出指令申请。通过该接口可将对接方账户中的人民币余额汇兑成外币,再汇出至指定银行账户。
|
249
297
|
|
250
298
|
# @param request: Request instance for ApplyOutwardOrder.
|
@@ -3640,6 +3688,30 @@ module TencentCloud
|
|
3640
3688
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3641
3689
|
end
|
3642
3690
|
|
3691
|
+
# 云企付结算单查询结果
|
3692
|
+
|
3693
|
+
# @param request: Request instance for QueryOpenBankSettleOrder.
|
3694
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSettleOrderRequest`
|
3695
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSettleOrderResponse`
|
3696
|
+
def QueryOpenBankSettleOrder(request)
|
3697
|
+
body = send_request('QueryOpenBankSettleOrder', request.serialize)
|
3698
|
+
response = JSON.parse(body)
|
3699
|
+
if response['Response'].key?('Error') == false
|
3700
|
+
model = QueryOpenBankSettleOrderResponse.new
|
3701
|
+
model.deserialize(response['Response'])
|
3702
|
+
model
|
3703
|
+
else
|
3704
|
+
code = response['Response']['Error']['Code']
|
3705
|
+
message = response['Response']['Error']['Message']
|
3706
|
+
reqid = response['Response']['RequestId']
|
3707
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3708
|
+
end
|
3709
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3710
|
+
raise e
|
3711
|
+
rescue StandardError => e
|
3712
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3713
|
+
end
|
3714
|
+
|
3643
3715
|
# 云企付-子商户资质文件查询
|
3644
3716
|
|
3645
3717
|
# @param request: Request instance for QueryOpenBankSubMerchantCredential.
|
@@ -3688,6 +3760,30 @@ module TencentCloud
|
|
3688
3760
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3689
3761
|
end
|
3690
3762
|
|
3763
|
+
# 子商户在线签约查询
|
3764
|
+
|
3765
|
+
# @param request: Request instance for QueryOpenBankSubMerchantSignOnline.
|
3766
|
+
# @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantSignOnlineRequest`
|
3767
|
+
# @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankSubMerchantSignOnlineResponse`
|
3768
|
+
def QueryOpenBankSubMerchantSignOnline(request)
|
3769
|
+
body = send_request('QueryOpenBankSubMerchantSignOnline', request.serialize)
|
3770
|
+
response = JSON.parse(body)
|
3771
|
+
if response['Response'].key?('Error') == false
|
3772
|
+
model = QueryOpenBankSubMerchantSignOnlineResponse.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
|
+
|
3691
3787
|
# 云企付-查询支持银行列表
|
3692
3788
|
|
3693
3789
|
# @param request: Request instance for QueryOpenBankSupportBankList.
|
data/lib/v20190820/models.rb
CHANGED
@@ -266,14 +266,17 @@ module TencentCloud
|
|
266
266
|
# __test__:测试环境
|
267
267
|
# 缺省默认为生产环境
|
268
268
|
# @type Environment: String
|
269
|
+
# @param Name: 姓名
|
270
|
+
# @type Name: String
|
269
271
|
|
270
|
-
attr_accessor :IdType, :IdNo, :PayeeId, :Environment
|
272
|
+
attr_accessor :IdType, :IdNo, :PayeeId, :Environment, :Name
|
271
273
|
|
272
|
-
def initialize(idtype=nil, idno=nil, payeeid=nil, environment=nil)
|
274
|
+
def initialize(idtype=nil, idno=nil, payeeid=nil, environment=nil, name=nil)
|
273
275
|
@IdType = idtype
|
274
276
|
@IdNo = idno
|
275
277
|
@PayeeId = payeeid
|
276
278
|
@Environment = environment
|
279
|
+
@Name = name
|
277
280
|
end
|
278
281
|
|
279
282
|
def deserialize(params)
|
@@ -281,6 +284,7 @@ module TencentCloud
|
|
281
284
|
@IdNo = params['IdNo']
|
282
285
|
@PayeeId = params['PayeeId']
|
283
286
|
@Environment = params['Environment']
|
287
|
+
@Name = params['Name']
|
284
288
|
end
|
285
289
|
end
|
286
290
|
|
@@ -1471,6 +1475,202 @@ module TencentCloud
|
|
1471
1475
|
end
|
1472
1476
|
end
|
1473
1477
|
|
1478
|
+
# ApplyOpenBankSettleOrder请求参数结构体
|
1479
|
+
class ApplyOpenBankSettleOrderRequest < TencentCloud::Common::AbstractModel
|
1480
|
+
# @param ChannelMerchantId: 渠道商户号
|
1481
|
+
# @type ChannelMerchantId: String
|
1482
|
+
# @param OutSettleId: 外部结算流水号
|
1483
|
+
# @type OutSettleId: String
|
1484
|
+
# @param SettleAmount: 结算金额
|
1485
|
+
# @type SettleAmount: Integer
|
1486
|
+
# @param ChannelName: 渠道名称。详见附录-枚举类型-ChannelName。
|
1487
|
+
# @type ChannelName: String
|
1488
|
+
# @param ChannelSubMerchantId: 渠道子商户号
|
1489
|
+
# @type ChannelSubMerchantId: String
|
1490
|
+
# @param SettleDetail: 结算备注
|
1491
|
+
# @type SettleDetail: String
|
1492
|
+
# @param NotifyUrl: 结算成功回调地址
|
1493
|
+
# @type NotifyUrl: String
|
1494
|
+
|
1495
|
+
attr_accessor :ChannelMerchantId, :OutSettleId, :SettleAmount, :ChannelName, :ChannelSubMerchantId, :SettleDetail, :NotifyUrl
|
1496
|
+
|
1497
|
+
def initialize(channelmerchantid=nil, outsettleid=nil, settleamount=nil, channelname=nil, channelsubmerchantid=nil, settledetail=nil, notifyurl=nil)
|
1498
|
+
@ChannelMerchantId = channelmerchantid
|
1499
|
+
@OutSettleId = outsettleid
|
1500
|
+
@SettleAmount = settleamount
|
1501
|
+
@ChannelName = channelname
|
1502
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
1503
|
+
@SettleDetail = settledetail
|
1504
|
+
@NotifyUrl = notifyurl
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
def deserialize(params)
|
1508
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
1509
|
+
@OutSettleId = params['OutSettleId']
|
1510
|
+
@SettleAmount = params['SettleAmount']
|
1511
|
+
@ChannelName = params['ChannelName']
|
1512
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
1513
|
+
@SettleDetail = params['SettleDetail']
|
1514
|
+
@NotifyUrl = params['NotifyUrl']
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# ApplyOpenBankSettleOrder返回参数结构体
|
1519
|
+
class ApplyOpenBankSettleOrderResponse < TencentCloud::Common::AbstractModel
|
1520
|
+
# @param ErrCode: 错误码。
|
1521
|
+
# @type ErrCode: String
|
1522
|
+
# @param ErrMessage: 错误信息。
|
1523
|
+
# @type ErrMessage: String
|
1524
|
+
# @param Result: 返回结果
|
1525
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1526
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.ApplyOpenBankSettleOrderResult`
|
1527
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1528
|
+
# @type RequestId: String
|
1529
|
+
|
1530
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
1531
|
+
|
1532
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
1533
|
+
@ErrCode = errcode
|
1534
|
+
@ErrMessage = errmessage
|
1535
|
+
@Result = result
|
1536
|
+
@RequestId = requestid
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
def deserialize(params)
|
1540
|
+
@ErrCode = params['ErrCode']
|
1541
|
+
@ErrMessage = params['ErrMessage']
|
1542
|
+
unless params['Result'].nil?
|
1543
|
+
@Result = ApplyOpenBankSettleOrderResult.new
|
1544
|
+
@Result.deserialize(params['Result'])
|
1545
|
+
end
|
1546
|
+
@RequestId = params['RequestId']
|
1547
|
+
end
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
# 云企付结算申请结果
|
1551
|
+
class ApplyOpenBankSettleOrderResult < TencentCloud::Common::AbstractModel
|
1552
|
+
# @param OutSettleId: 外部结算流水号
|
1553
|
+
# @type OutSettleId: String
|
1554
|
+
# @param ChannelSettleId: 渠道结算流水号
|
1555
|
+
# @type ChannelSettleId: String
|
1556
|
+
# @param SettleStatus: 退款状态。
|
1557
|
+
# SUCCESS:结算成功;
|
1558
|
+
# FAILED:结算失败;
|
1559
|
+
# PROCESSING:结算中;
|
1560
|
+
# INIT:初始化;
|
1561
|
+
# ACCEPT_FAILED:受理失败,底层银行返回订单不存在
|
1562
|
+
# ACCEPTED:受理成功
|
1563
|
+
# _UNKNOWN:默认未知
|
1564
|
+
# @type SettleStatus: String
|
1565
|
+
|
1566
|
+
attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus
|
1567
|
+
|
1568
|
+
def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil)
|
1569
|
+
@OutSettleId = outsettleid
|
1570
|
+
@ChannelSettleId = channelsettleid
|
1571
|
+
@SettleStatus = settlestatus
|
1572
|
+
end
|
1573
|
+
|
1574
|
+
def deserialize(params)
|
1575
|
+
@OutSettleId = params['OutSettleId']
|
1576
|
+
@ChannelSettleId = params['ChannelSettleId']
|
1577
|
+
@SettleStatus = params['SettleStatus']
|
1578
|
+
end
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# ApplyOpenBankSubMerchantSignOnline请求参数结构体
|
1582
|
+
class ApplyOpenBankSubMerchantSignOnlineRequest < TencentCloud::Common::AbstractModel
|
1583
|
+
# @param ChannelMerchantId: 渠道商户号。外部平台接入云企付平台下发。必填。
|
1584
|
+
# @type ChannelMerchantId: String
|
1585
|
+
# @param ChannelName: 渠道名称。详见附录-枚举类型-ChannelName。
|
1586
|
+
# @type ChannelName: String
|
1587
|
+
# @param OutSubMerchantId: 外部子商户ID。
|
1588
|
+
# @type OutSubMerchantId: String
|
1589
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
1590
|
+
# @type ChannelSubMerchantId: String
|
1591
|
+
# @param NotifyUrl: 签约成功回调地址。
|
1592
|
+
# @type NotifyUrl: String
|
1593
|
+
|
1594
|
+
attr_accessor :ChannelMerchantId, :ChannelName, :OutSubMerchantId, :ChannelSubMerchantId, :NotifyUrl
|
1595
|
+
|
1596
|
+
def initialize(channelmerchantid=nil, channelname=nil, outsubmerchantid=nil, channelsubmerchantid=nil, notifyurl=nil)
|
1597
|
+
@ChannelMerchantId = channelmerchantid
|
1598
|
+
@ChannelName = channelname
|
1599
|
+
@OutSubMerchantId = outsubmerchantid
|
1600
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
1601
|
+
@NotifyUrl = notifyurl
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
def deserialize(params)
|
1605
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
1606
|
+
@ChannelName = params['ChannelName']
|
1607
|
+
@OutSubMerchantId = params['OutSubMerchantId']
|
1608
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
1609
|
+
@NotifyUrl = params['NotifyUrl']
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1613
|
+
# ApplyOpenBankSubMerchantSignOnline返回参数结构体
|
1614
|
+
class ApplyOpenBankSubMerchantSignOnlineResponse < TencentCloud::Common::AbstractModel
|
1615
|
+
# @param ErrCode: 错误码。
|
1616
|
+
# @type ErrCode: String
|
1617
|
+
# @param ErrMessage: 错误信息。
|
1618
|
+
# @type ErrMessage: String
|
1619
|
+
# @param Result: 返回结果
|
1620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1621
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.ApplyOpenBankSubMerchantSignOnlineResult`
|
1622
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1623
|
+
# @type RequestId: String
|
1624
|
+
|
1625
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
1626
|
+
|
1627
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
1628
|
+
@ErrCode = errcode
|
1629
|
+
@ErrMessage = errmessage
|
1630
|
+
@Result = result
|
1631
|
+
@RequestId = requestid
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def deserialize(params)
|
1635
|
+
@ErrCode = params['ErrCode']
|
1636
|
+
@ErrMessage = params['ErrMessage']
|
1637
|
+
unless params['Result'].nil?
|
1638
|
+
@Result = ApplyOpenBankSubMerchantSignOnlineResult.new
|
1639
|
+
@Result.deserialize(params['Result'])
|
1640
|
+
end
|
1641
|
+
@RequestId = params['RequestId']
|
1642
|
+
end
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
# 子商户在线签约返回结果
|
1646
|
+
class ApplyOpenBankSubMerchantSignOnlineResult < TencentCloud::Common::AbstractModel
|
1647
|
+
# @param SignStatus: 处理状态
|
1648
|
+
# SUCCESS:签约成功
|
1649
|
+
# FAILED:签约失败
|
1650
|
+
# PROCESSING“签约中
|
1651
|
+
# @type SignStatus: String
|
1652
|
+
# @param SignMessage: 上传返回描述,例如失败原因等
|
1653
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1654
|
+
# @type SignMessage: String
|
1655
|
+
# @param ExternalReturnData: 第三方渠道返回信息,见渠道特殊说明
|
1656
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1657
|
+
# @type ExternalReturnData: String
|
1658
|
+
|
1659
|
+
attr_accessor :SignStatus, :SignMessage, :ExternalReturnData
|
1660
|
+
|
1661
|
+
def initialize(signstatus=nil, signmessage=nil, externalreturndata=nil)
|
1662
|
+
@SignStatus = signstatus
|
1663
|
+
@SignMessage = signmessage
|
1664
|
+
@ExternalReturnData = externalreturndata
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
def deserialize(params)
|
1668
|
+
@SignStatus = params['SignStatus']
|
1669
|
+
@SignMessage = params['SignMessage']
|
1670
|
+
@ExternalReturnData = params['ExternalReturnData']
|
1671
|
+
end
|
1672
|
+
end
|
1673
|
+
|
1474
1674
|
# 汇出指令申请数据
|
1475
1675
|
class ApplyOutwardOrderData < TencentCloud::Common::AbstractModel
|
1476
1676
|
# @param MerchantId: 商户号
|
@@ -11624,6 +11824,42 @@ module TencentCloud
|
|
11624
11824
|
end
|
11625
11825
|
end
|
11626
11826
|
|
11827
|
+
# 分账信息结果
|
11828
|
+
class OpenBankProfitShareRespInfo < TencentCloud::Common::AbstractModel
|
11829
|
+
# @param RecvId: 接收方企业ID
|
11830
|
+
# @type RecvId: String
|
11831
|
+
# @param ProfitShareFee: 分润金额(分)
|
11832
|
+
# @type ProfitShareFee: Integer
|
11833
|
+
# @param RealProfitShareFee: 实际分账金额
|
11834
|
+
# @type RealProfitShareFee: Integer
|
11835
|
+
# @param ProfitShareStatus: 分账状态
|
11836
|
+
# @type ProfitShareStatus: String
|
11837
|
+
# @param ProfitFinishTime: 分账完成时间
|
11838
|
+
# @type ProfitFinishTime: String
|
11839
|
+
# @param ProfitShareType: 分账类型
|
11840
|
+
# @type ProfitShareType: Integer
|
11841
|
+
|
11842
|
+
attr_accessor :RecvId, :ProfitShareFee, :RealProfitShareFee, :ProfitShareStatus, :ProfitFinishTime, :ProfitShareType
|
11843
|
+
|
11844
|
+
def initialize(recvid=nil, profitsharefee=nil, realprofitsharefee=nil, profitsharestatus=nil, profitfinishtime=nil, profitsharetype=nil)
|
11845
|
+
@RecvId = recvid
|
11846
|
+
@ProfitShareFee = profitsharefee
|
11847
|
+
@RealProfitShareFee = realprofitsharefee
|
11848
|
+
@ProfitShareStatus = profitsharestatus
|
11849
|
+
@ProfitFinishTime = profitfinishtime
|
11850
|
+
@ProfitShareType = profitsharetype
|
11851
|
+
end
|
11852
|
+
|
11853
|
+
def deserialize(params)
|
11854
|
+
@RecvId = params['RecvId']
|
11855
|
+
@ProfitShareFee = params['ProfitShareFee']
|
11856
|
+
@RealProfitShareFee = params['RealProfitShareFee']
|
11857
|
+
@ProfitShareStatus = params['ProfitShareStatus']
|
11858
|
+
@ProfitFinishTime = params['ProfitFinishTime']
|
11859
|
+
@ProfitShareType = params['ProfitShareType']
|
11860
|
+
end
|
11861
|
+
end
|
11862
|
+
|
11627
11863
|
# 云企付-退款查询结果
|
11628
11864
|
class OpenBankQueryRefundOrderResult < TencentCloud::Common::AbstractModel
|
11629
11865
|
# @param OutRefundId: 外部商户退款单号
|
@@ -11659,10 +11895,13 @@ module TencentCloud
|
|
11659
11895
|
# @param RefundMessage: 退款返回描述,比如失败原因等。
|
11660
11896
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11661
11897
|
# @type RefundMessage: String
|
11898
|
+
# @param ProfitShareRespInfoList: 分账信息
|
11899
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11900
|
+
# @type ProfitShareRespInfoList: Array
|
11662
11901
|
|
11663
|
-
attr_accessor :OutRefundId, :ChannelRefundId, :RefundReason, :RefundAmount, :RealRefundAmount, :TotalAmount, :TimeFinish, :RefundStatus, :RefundInfo, :FeeAmount, :RefundMessage
|
11902
|
+
attr_accessor :OutRefundId, :ChannelRefundId, :RefundReason, :RefundAmount, :RealRefundAmount, :TotalAmount, :TimeFinish, :RefundStatus, :RefundInfo, :FeeAmount, :RefundMessage, :ProfitShareRespInfoList
|
11664
11903
|
|
11665
|
-
def initialize(outrefundid=nil, channelrefundid=nil, refundreason=nil, refundamount=nil, realrefundamount=nil, totalamount=nil, timefinish=nil, refundstatus=nil, refundinfo=nil, feeamount=nil, refundmessage=nil)
|
11904
|
+
def initialize(outrefundid=nil, channelrefundid=nil, refundreason=nil, refundamount=nil, realrefundamount=nil, totalamount=nil, timefinish=nil, refundstatus=nil, refundinfo=nil, feeamount=nil, refundmessage=nil, profitsharerespinfolist=nil)
|
11666
11905
|
@OutRefundId = outrefundid
|
11667
11906
|
@ChannelRefundId = channelrefundid
|
11668
11907
|
@RefundReason = refundreason
|
@@ -11674,6 +11913,7 @@ module TencentCloud
|
|
11674
11913
|
@RefundInfo = refundinfo
|
11675
11914
|
@FeeAmount = feeamount
|
11676
11915
|
@RefundMessage = refundmessage
|
11916
|
+
@ProfitShareRespInfoList = profitsharerespinfolist
|
11677
11917
|
end
|
11678
11918
|
|
11679
11919
|
def deserialize(params)
|
@@ -11688,6 +11928,14 @@ module TencentCloud
|
|
11688
11928
|
@RefundInfo = params['RefundInfo']
|
11689
11929
|
@FeeAmount = params['FeeAmount']
|
11690
11930
|
@RefundMessage = params['RefundMessage']
|
11931
|
+
unless params['ProfitShareRespInfoList'].nil?
|
11932
|
+
@ProfitShareRespInfoList = []
|
11933
|
+
params['ProfitShareRespInfoList'].each do |i|
|
11934
|
+
openbankprofitsharerespinfo_tmp = OpenBankProfitShareRespInfo.new
|
11935
|
+
openbankprofitsharerespinfo_tmp.deserialize(i)
|
11936
|
+
@ProfitShareRespInfoList << openbankprofitsharerespinfo_tmp
|
11937
|
+
end
|
11938
|
+
end
|
11691
11939
|
end
|
11692
11940
|
end
|
11693
11941
|
|
@@ -18824,10 +19072,13 @@ module TencentCloud
|
|
18824
19072
|
# @param FeeRate: 手续费费率
|
18825
19073
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18826
19074
|
# @type FeeRate: Integer
|
19075
|
+
# @param ProfitShareRespInfoList: 分账信息
|
19076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19077
|
+
# @type ProfitShareRespInfoList: Array
|
18827
19078
|
|
18828
|
-
attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :ThirdPayOrderId, :OrderStatus, :ChannelName, :PaymentMethod, :TotalAmount, :PayAmount, :FailReason, :Attachment, :RedirectInfo, :ExternalReturnData, :BankApprovalGuideInfo, :FeeAmount, :FeeRate
|
19079
|
+
attr_accessor :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :ThirdPayOrderId, :OrderStatus, :ChannelName, :PaymentMethod, :TotalAmount, :PayAmount, :FailReason, :Attachment, :RedirectInfo, :ExternalReturnData, :BankApprovalGuideInfo, :FeeAmount, :FeeRate, :ProfitShareRespInfoList
|
18829
19080
|
|
18830
|
-
def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, thirdpayorderid=nil, orderstatus=nil, channelname=nil, paymentmethod=nil, totalamount=nil, payamount=nil, failreason=nil, attachment=nil, redirectinfo=nil, externalreturndata=nil, bankapprovalguideinfo=nil, feeamount=nil, feerate=nil)
|
19081
|
+
def initialize(channelmerchantid=nil, outorderid=nil, channelorderid=nil, thirdpayorderid=nil, orderstatus=nil, channelname=nil, paymentmethod=nil, totalamount=nil, payamount=nil, failreason=nil, attachment=nil, redirectinfo=nil, externalreturndata=nil, bankapprovalguideinfo=nil, feeamount=nil, feerate=nil, profitsharerespinfolist=nil)
|
18831
19082
|
@ChannelMerchantId = channelmerchantid
|
18832
19083
|
@OutOrderId = outorderid
|
18833
19084
|
@ChannelOrderId = channelorderid
|
@@ -18844,6 +19095,7 @@ module TencentCloud
|
|
18844
19095
|
@BankApprovalGuideInfo = bankapprovalguideinfo
|
18845
19096
|
@FeeAmount = feeamount
|
18846
19097
|
@FeeRate = feerate
|
19098
|
+
@ProfitShareRespInfoList = profitsharerespinfolist
|
18847
19099
|
end
|
18848
19100
|
|
18849
19101
|
def deserialize(params)
|
@@ -18869,6 +19121,14 @@ module TencentCloud
|
|
18869
19121
|
end
|
18870
19122
|
@FeeAmount = params['FeeAmount']
|
18871
19123
|
@FeeRate = params['FeeRate']
|
19124
|
+
unless params['ProfitShareRespInfoList'].nil?
|
19125
|
+
@ProfitShareRespInfoList = []
|
19126
|
+
params['ProfitShareRespInfoList'].each do |i|
|
19127
|
+
openbankprofitsharerespinfo_tmp = OpenBankProfitShareRespInfo.new
|
19128
|
+
openbankprofitsharerespinfo_tmp.deserialize(i)
|
19129
|
+
@ProfitShareRespInfoList << openbankprofitsharerespinfo_tmp
|
19130
|
+
end
|
19131
|
+
end
|
18872
19132
|
end
|
18873
19133
|
end
|
18874
19134
|
|
@@ -18936,6 +19196,126 @@ module TencentCloud
|
|
18936
19196
|
end
|
18937
19197
|
end
|
18938
19198
|
|
19199
|
+
# QueryOpenBankSettleOrder请求参数结构体
|
19200
|
+
class QueryOpenBankSettleOrderRequest < TencentCloud::Common::AbstractModel
|
19201
|
+
# @param ChannelMerchantId: 渠道商户号
|
19202
|
+
# @type ChannelMerchantId: String
|
19203
|
+
# @param ChannelSubMerchantId: 渠道子商户号
|
19204
|
+
# @type ChannelSubMerchantId: String
|
19205
|
+
# @param OutSettleId: 外部结算流水号,与渠道结算流水号二选一
|
19206
|
+
# @type OutSettleId: String
|
19207
|
+
# @param ChannelSettleId: 渠道结算流水号,与外部结算流水号二选一
|
19208
|
+
# @type ChannelSettleId: String
|
19209
|
+
|
19210
|
+
attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :OutSettleId, :ChannelSettleId
|
19211
|
+
|
19212
|
+
def initialize(channelmerchantid=nil, channelsubmerchantid=nil, outsettleid=nil, channelsettleid=nil)
|
19213
|
+
@ChannelMerchantId = channelmerchantid
|
19214
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
19215
|
+
@OutSettleId = outsettleid
|
19216
|
+
@ChannelSettleId = channelsettleid
|
19217
|
+
end
|
19218
|
+
|
19219
|
+
def deserialize(params)
|
19220
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
19221
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
19222
|
+
@OutSettleId = params['OutSettleId']
|
19223
|
+
@ChannelSettleId = params['ChannelSettleId']
|
19224
|
+
end
|
19225
|
+
end
|
19226
|
+
|
19227
|
+
# QueryOpenBankSettleOrder返回参数结构体
|
19228
|
+
class QueryOpenBankSettleOrderResponse < TencentCloud::Common::AbstractModel
|
19229
|
+
# @param ErrCode: 错误码
|
19230
|
+
# @type ErrCode: String
|
19231
|
+
# @param ErrMessage: 错误消息
|
19232
|
+
# @type ErrMessage: String
|
19233
|
+
# @param Result: 返回结果
|
19234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19235
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankSettleOrderResult`
|
19236
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
19237
|
+
# @type RequestId: String
|
19238
|
+
|
19239
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
19240
|
+
|
19241
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
19242
|
+
@ErrCode = errcode
|
19243
|
+
@ErrMessage = errmessage
|
19244
|
+
@Result = result
|
19245
|
+
@RequestId = requestid
|
19246
|
+
end
|
19247
|
+
|
19248
|
+
def deserialize(params)
|
19249
|
+
@ErrCode = params['ErrCode']
|
19250
|
+
@ErrMessage = params['ErrMessage']
|
19251
|
+
unless params['Result'].nil?
|
19252
|
+
@Result = QueryOpenBankSettleOrderResult.new
|
19253
|
+
@Result.deserialize(params['Result'])
|
19254
|
+
end
|
19255
|
+
@RequestId = params['RequestId']
|
19256
|
+
end
|
19257
|
+
end
|
19258
|
+
|
19259
|
+
# 云企付结算查询结果
|
19260
|
+
class QueryOpenBankSettleOrderResult < TencentCloud::Common::AbstractModel
|
19261
|
+
# @param OutSettleId: 外部结算流水号
|
19262
|
+
# @type OutSettleId: String
|
19263
|
+
# @param ChannelSettleId: 渠道结算流水号
|
19264
|
+
# @type ChannelSettleId: String
|
19265
|
+
# @param SettleStatus: 退款状态。
|
19266
|
+
# SUCCESS:结算成功;
|
19267
|
+
# FAILED:结算失败;
|
19268
|
+
# PROCESSING:结算中;
|
19269
|
+
# INIT:初始化;
|
19270
|
+
# ACCEPT_FAILED:受理失败,底层银行返回订单不存在
|
19271
|
+
# ACCEPTED:受理成功
|
19272
|
+
# _UNKNOWN:默认未知
|
19273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19274
|
+
# @type SettleStatus: String
|
19275
|
+
# @param SettleAmount: 结算金额
|
19276
|
+
# @type SettleAmount: Integer
|
19277
|
+
# @param SettleDate: 结算日期,格式YYYYMMdd
|
19278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19279
|
+
# @type SettleDate: String
|
19280
|
+
# @param SettleType: 结算类型(T1/D1)
|
19281
|
+
# @type SettleType: String
|
19282
|
+
# @param FailReason: 失败原因
|
19283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19284
|
+
# @type FailReason: String
|
19285
|
+
# @param TimeFinish: 完成时间,格式yyyy-MM-dd HH:mm:ss
|
19286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19287
|
+
# @type TimeFinish: String
|
19288
|
+
# @param SettleFee: 结算手续费
|
19289
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19290
|
+
# @type SettleFee: String
|
19291
|
+
|
19292
|
+
attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus, :SettleAmount, :SettleDate, :SettleType, :FailReason, :TimeFinish, :SettleFee
|
19293
|
+
|
19294
|
+
def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil, settleamount=nil, settledate=nil, settletype=nil, failreason=nil, timefinish=nil, settlefee=nil)
|
19295
|
+
@OutSettleId = outsettleid
|
19296
|
+
@ChannelSettleId = channelsettleid
|
19297
|
+
@SettleStatus = settlestatus
|
19298
|
+
@SettleAmount = settleamount
|
19299
|
+
@SettleDate = settledate
|
19300
|
+
@SettleType = settletype
|
19301
|
+
@FailReason = failreason
|
19302
|
+
@TimeFinish = timefinish
|
19303
|
+
@SettleFee = settlefee
|
19304
|
+
end
|
19305
|
+
|
19306
|
+
def deserialize(params)
|
19307
|
+
@OutSettleId = params['OutSettleId']
|
19308
|
+
@ChannelSettleId = params['ChannelSettleId']
|
19309
|
+
@SettleStatus = params['SettleStatus']
|
19310
|
+
@SettleAmount = params['SettleAmount']
|
19311
|
+
@SettleDate = params['SettleDate']
|
19312
|
+
@SettleType = params['SettleType']
|
19313
|
+
@FailReason = params['FailReason']
|
19314
|
+
@TimeFinish = params['TimeFinish']
|
19315
|
+
@SettleFee = params['SettleFee']
|
19316
|
+
end
|
19317
|
+
end
|
19318
|
+
|
18939
19319
|
# QueryOpenBankSubMerchantCredential请求参数结构体
|
18940
19320
|
class QueryOpenBankSubMerchantCredentialRequest < TencentCloud::Common::AbstractModel
|
18941
19321
|
# @param ChannelMerchantId: 渠道商户ID。
|
@@ -19141,6 +19521,90 @@ module TencentCloud
|
|
19141
19521
|
end
|
19142
19522
|
end
|
19143
19523
|
|
19524
|
+
# QueryOpenBankSubMerchantSignOnline请求参数结构体
|
19525
|
+
class QueryOpenBankSubMerchantSignOnlineRequest < TencentCloud::Common::AbstractModel
|
19526
|
+
# @param ChannelMerchantId: 渠道商户号。外部平台接入云企付平台下发。必填。
|
19527
|
+
# @type ChannelMerchantId: String
|
19528
|
+
# @param ChannelName: 渠道名称。详见附录-枚举类型-ChannelName。
|
19529
|
+
# @type ChannelName: String
|
19530
|
+
# @param OutSubMerchantId: 外部子商户ID。
|
19531
|
+
# @type OutSubMerchantId: String
|
19532
|
+
# @param ChannelSubMerchantId: 渠道子商户ID。
|
19533
|
+
# @type ChannelSubMerchantId: String
|
19534
|
+
|
19535
|
+
attr_accessor :ChannelMerchantId, :ChannelName, :OutSubMerchantId, :ChannelSubMerchantId
|
19536
|
+
|
19537
|
+
def initialize(channelmerchantid=nil, channelname=nil, outsubmerchantid=nil, channelsubmerchantid=nil)
|
19538
|
+
@ChannelMerchantId = channelmerchantid
|
19539
|
+
@ChannelName = channelname
|
19540
|
+
@OutSubMerchantId = outsubmerchantid
|
19541
|
+
@ChannelSubMerchantId = channelsubmerchantid
|
19542
|
+
end
|
19543
|
+
|
19544
|
+
def deserialize(params)
|
19545
|
+
@ChannelMerchantId = params['ChannelMerchantId']
|
19546
|
+
@ChannelName = params['ChannelName']
|
19547
|
+
@OutSubMerchantId = params['OutSubMerchantId']
|
19548
|
+
@ChannelSubMerchantId = params['ChannelSubMerchantId']
|
19549
|
+
end
|
19550
|
+
end
|
19551
|
+
|
19552
|
+
# QueryOpenBankSubMerchantSignOnline返回参数结构体
|
19553
|
+
class QueryOpenBankSubMerchantSignOnlineResponse < TencentCloud::Common::AbstractModel
|
19554
|
+
# @param ErrCode: 错误码。
|
19555
|
+
# @type ErrCode: String
|
19556
|
+
# @param ErrMessage: 错误信息。
|
19557
|
+
# @type ErrMessage: String
|
19558
|
+
# @param Result: 返回结果
|
19559
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19560
|
+
# @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankSubMerchantSignOnlineResult`
|
19561
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
19562
|
+
# @type RequestId: String
|
19563
|
+
|
19564
|
+
attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
|
19565
|
+
|
19566
|
+
def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
|
19567
|
+
@ErrCode = errcode
|
19568
|
+
@ErrMessage = errmessage
|
19569
|
+
@Result = result
|
19570
|
+
@RequestId = requestid
|
19571
|
+
end
|
19572
|
+
|
19573
|
+
def deserialize(params)
|
19574
|
+
@ErrCode = params['ErrCode']
|
19575
|
+
@ErrMessage = params['ErrMessage']
|
19576
|
+
unless params['Result'].nil?
|
19577
|
+
@Result = QueryOpenBankSubMerchantSignOnlineResult.new
|
19578
|
+
@Result.deserialize(params['Result'])
|
19579
|
+
end
|
19580
|
+
@RequestId = params['RequestId']
|
19581
|
+
end
|
19582
|
+
end
|
19583
|
+
|
19584
|
+
# 子商户查询签约返回结果
|
19585
|
+
class QueryOpenBankSubMerchantSignOnlineResult < TencentCloud::Common::AbstractModel
|
19586
|
+
# @param SignStatus: 处理状态
|
19587
|
+
# SUCCESS:签约成功
|
19588
|
+
# FAILED:签约失败
|
19589
|
+
# PROCESSING“签约中
|
19590
|
+
# @type SignStatus: String
|
19591
|
+
# @param SignMessage: 上传返回描述,例如失败原因等
|
19592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19593
|
+
# @type SignMessage: String
|
19594
|
+
|
19595
|
+
attr_accessor :SignStatus, :SignMessage
|
19596
|
+
|
19597
|
+
def initialize(signstatus=nil, signmessage=nil)
|
19598
|
+
@SignStatus = signstatus
|
19599
|
+
@SignMessage = signmessage
|
19600
|
+
end
|
19601
|
+
|
19602
|
+
def deserialize(params)
|
19603
|
+
@SignStatus = params['SignStatus']
|
19604
|
+
@SignMessage = params['SignMessage']
|
19605
|
+
end
|
19606
|
+
end
|
19607
|
+
|
19144
19608
|
# QueryOpenBankSupportBankList请求参数结构体
|
19145
19609
|
class QueryOpenBankSupportBankListRequest < TencentCloud::Common::AbstractModel
|
19146
19610
|
# @param ChannelMerchantId: 渠道商户ID。
|
@@ -22023,10 +22487,12 @@ module TencentCloud
|
|
22023
22487
|
# __sandbox__:沙箱环境
|
22024
22488
|
# _不填默认为生产环境_
|
22025
22489
|
# @type Environment: String
|
22490
|
+
# @param ProfitShareInfoList: 分账信息列表。
|
22491
|
+
# @type ProfitShareInfoList: Array
|
22026
22492
|
|
22027
|
-
attr_accessor :OutRefundId, :RefundAmount, :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :NotifyUrl, :RefundReason, :ExternalRefundData, :Remark, :Environment
|
22493
|
+
attr_accessor :OutRefundId, :RefundAmount, :ChannelMerchantId, :OutOrderId, :ChannelOrderId, :NotifyUrl, :RefundReason, :ExternalRefundData, :Remark, :Environment, :ProfitShareInfoList
|
22028
22494
|
|
22029
|
-
def initialize(outrefundid=nil, refundamount=nil, channelmerchantid=nil, outorderid=nil, channelorderid=nil, notifyurl=nil, refundreason=nil, externalrefunddata=nil, remark=nil, environment=nil)
|
22495
|
+
def initialize(outrefundid=nil, refundamount=nil, channelmerchantid=nil, outorderid=nil, channelorderid=nil, notifyurl=nil, refundreason=nil, externalrefunddata=nil, remark=nil, environment=nil, profitshareinfolist=nil)
|
22030
22496
|
@OutRefundId = outrefundid
|
22031
22497
|
@RefundAmount = refundamount
|
22032
22498
|
@ChannelMerchantId = channelmerchantid
|
@@ -22037,6 +22503,7 @@ module TencentCloud
|
|
22037
22503
|
@ExternalRefundData = externalrefunddata
|
22038
22504
|
@Remark = remark
|
22039
22505
|
@Environment = environment
|
22506
|
+
@ProfitShareInfoList = profitshareinfolist
|
22040
22507
|
end
|
22041
22508
|
|
22042
22509
|
def deserialize(params)
|
@@ -22050,6 +22517,14 @@ module TencentCloud
|
|
22050
22517
|
@ExternalRefundData = params['ExternalRefundData']
|
22051
22518
|
@Remark = params['Remark']
|
22052
22519
|
@Environment = params['Environment']
|
22520
|
+
unless params['ProfitShareInfoList'].nil?
|
22521
|
+
@ProfitShareInfoList = []
|
22522
|
+
params['ProfitShareInfoList'].each do |i|
|
22523
|
+
openbankprofitshareinfo_tmp = OpenBankProfitShareInfo.new
|
22524
|
+
openbankprofitshareinfo_tmp.deserialize(i)
|
22525
|
+
@ProfitShareInfoList << openbankprofitshareinfo_tmp
|
22526
|
+
end
|
22527
|
+
end
|
22053
22528
|
end
|
22054
22529
|
end
|
22055
22530
|
|
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.402
|
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-
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|