tencentcloud-sdk-cpdp 3.0.395 → 3.0.400

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 422f513acdc0c65b587e026b6d2814a073bfd9bb
4
- data.tar.gz: 5cef88b3f4797efd090b35d0c96237ba08027b5f
3
+ metadata.gz: 276d44046eeac595288a985fc34f219ff8b95c0f
4
+ data.tar.gz: d867b47bb643e3ac7f45fd041d631cc213f2bbaf
5
5
  SHA512:
6
- metadata.gz: 50bc7b404dfd5ae8d8b8363103e77fbbc4fa54073988d6987880c623dcc08476ed2459b2a3f72a513090cb34a2e453c7d305e4637a65f7b6a21ebc8be9d4c5ec
7
- data.tar.gz: 9a7b9a26eef5305841973453917343c6864646bb68648c6418f1fa6c0551918642c331283e14ce61b6c69fae3418c78d4cf094a47b0c7d89af656dd2bcd0acc1
6
+ metadata.gz: 872d51df74cc192e4a2bab39328020a68f84be326c2ba8ba67187aee36f61da653f7d40f558767b06614c338fc627167ea570547806f49f5cb09b9febf9b474f
7
+ data.tar.gz: 17bbb5fe79d6e4f54a0fee88202ba6cdcf89c2f421eb4b98c92a7f0e319d8bceb64be4299c1c7b6906b8d4c472ecebdcb53f8d41325bc94ed4c87baeef19b3b1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.395
1
+ 3.0.400
@@ -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.
@@ -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: 商户号
@@ -6836,6 +7036,10 @@ module TencentCloud
6836
7036
  # @type ProfitShareFlag: String
6837
7037
  # @param ProfitShareInfoList: 分润信息,配合ProfitShareFlag使用。
6838
7038
  # @type ProfitShareInfoList: Array
7039
+ # @param SettlementRulesInfo: 商企付-担保支付(PaymentMode为 FREEZE )时需设置该参数
7040
+ # @type SettlementRulesInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankSettlementRulesInfo`
7041
+ # @param ExternalPaymentData: 底层支付渠道特殊字段,若无特殊说明时,可以为空
7042
+ # @type ExternalPaymentData: String
6839
7043
  # @param Remark: 备注信息。
6840
7044
  # @type Remark: String
6841
7045
  # @param Environment: 环境类型
@@ -6844,9 +7048,9 @@ module TencentCloud
6844
7048
  # 缺省默认为生产环境
6845
7049
  # @type Environment: String
6846
7050
 
6847
- attr_accessor :ChannelMerchantId, :ChannelName, :PaymentMethod, :PaymentMode, :OutOrderId, :TotalAmount, :Currency, :PayerInfo, :PayeeInfo, :NotifyUrl, :ExpireTime, :FrontUrl, :RefreshUrl, :SceneInfo, :GoodsInfo, :Attachment, :ProfitShareFlag, :ProfitShareInfoList, :Remark, :Environment
7051
+ attr_accessor :ChannelMerchantId, :ChannelName, :PaymentMethod, :PaymentMode, :OutOrderId, :TotalAmount, :Currency, :PayerInfo, :PayeeInfo, :NotifyUrl, :ExpireTime, :FrontUrl, :RefreshUrl, :SceneInfo, :GoodsInfo, :Attachment, :ProfitShareFlag, :ProfitShareInfoList, :SettlementRulesInfo, :ExternalPaymentData, :Remark, :Environment
6848
7052
 
6849
- def initialize(channelmerchantid=nil, channelname=nil, paymentmethod=nil, paymentmode=nil, outorderid=nil, totalamount=nil, currency=nil, payerinfo=nil, payeeinfo=nil, notifyurl=nil, expiretime=nil, fronturl=nil, refreshurl=nil, sceneinfo=nil, goodsinfo=nil, attachment=nil, profitshareflag=nil, profitshareinfolist=nil, remark=nil, environment=nil)
7053
+ def initialize(channelmerchantid=nil, channelname=nil, paymentmethod=nil, paymentmode=nil, outorderid=nil, totalamount=nil, currency=nil, payerinfo=nil, payeeinfo=nil, notifyurl=nil, expiretime=nil, fronturl=nil, refreshurl=nil, sceneinfo=nil, goodsinfo=nil, attachment=nil, profitshareflag=nil, profitshareinfolist=nil, settlementrulesinfo=nil, externalpaymentdata=nil, remark=nil, environment=nil)
6850
7054
  @ChannelMerchantId = channelmerchantid
6851
7055
  @ChannelName = channelname
6852
7056
  @PaymentMethod = paymentmethod
@@ -6865,6 +7069,8 @@ module TencentCloud
6865
7069
  @Attachment = attachment
6866
7070
  @ProfitShareFlag = profitshareflag
6867
7071
  @ProfitShareInfoList = profitshareinfolist
7072
+ @SettlementRulesInfo = settlementrulesinfo
7073
+ @ExternalPaymentData = externalpaymentdata
6868
7074
  @Remark = remark
6869
7075
  @Environment = environment
6870
7076
  end
@@ -6907,6 +7113,11 @@ module TencentCloud
6907
7113
  @ProfitShareInfoList << openbankprofitshareinfo_tmp
6908
7114
  end
6909
7115
  end
7116
+ unless params['SettlementRulesInfo'].nil?
7117
+ @SettlementRulesInfo = OpenBankSettlementRulesInfo.new
7118
+ @SettlementRulesInfo.deserialize(params['SettlementRulesInfo'])
7119
+ end
7120
+ @ExternalPaymentData = params['ExternalPaymentData']
6910
7121
  @Remark = params['Remark']
6911
7122
  @Environment = params['Environment']
6912
7123
  end
@@ -11613,6 +11824,42 @@ module TencentCloud
11613
11824
  end
11614
11825
  end
11615
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
+
11616
11863
  # 云企付-退款查询结果
11617
11864
  class OpenBankQueryRefundOrderResult < TencentCloud::Common::AbstractModel
11618
11865
  # @param OutRefundId: 外部商户退款单号
@@ -11648,10 +11895,13 @@ module TencentCloud
11648
11895
  # @param RefundMessage: 退款返回描述,比如失败原因等。
11649
11896
  # 注意:此字段可能返回 null,表示取不到有效值。
11650
11897
  # @type RefundMessage: String
11898
+ # @param ProfitShareRespInfoList: 分账信息
11899
+ # 注意:此字段可能返回 null,表示取不到有效值。
11900
+ # @type ProfitShareRespInfoList: Array
11651
11901
 
11652
- 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
11653
11903
 
11654
- 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)
11655
11905
  @OutRefundId = outrefundid
11656
11906
  @ChannelRefundId = channelrefundid
11657
11907
  @RefundReason = refundreason
@@ -11663,6 +11913,7 @@ module TencentCloud
11663
11913
  @RefundInfo = refundinfo
11664
11914
  @FeeAmount = feeamount
11665
11915
  @RefundMessage = refundmessage
11916
+ @ProfitShareRespInfoList = profitsharerespinfolist
11666
11917
  end
11667
11918
 
11668
11919
  def deserialize(params)
@@ -11677,6 +11928,14 @@ module TencentCloud
11677
11928
  @RefundInfo = params['RefundInfo']
11678
11929
  @FeeAmount = params['FeeAmount']
11679
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
11680
11939
  end
11681
11940
  end
11682
11941
 
@@ -11857,6 +12116,30 @@ module TencentCloud
11857
12116
  end
11858
12117
  end
11859
12118
 
12119
+ # 云企付-结算规则信息
12120
+ class OpenBankSettlementRulesInfo < TencentCloud::Common::AbstractModel
12121
+ # @param UnfreezeRule: ONCE:仅单次解冻(默认)
12122
+ # MULTI:多次解冻
12123
+ # 注意:此字段可能返回 null,表示取不到有效值。
12124
+ # @type UnfreezeRule: String
12125
+ # @param RefundRule: ONCE:仅单次退款(默认)
12126
+ # MULTI:多次退款
12127
+ # 注意:此字段可能返回 null,表示取不到有效值。
12128
+ # @type RefundRule: String
12129
+
12130
+ attr_accessor :UnfreezeRule, :RefundRule
12131
+
12132
+ def initialize(unfreezerule=nil, refundrule=nil)
12133
+ @UnfreezeRule = unfreezerule
12134
+ @RefundRule = refundrule
12135
+ end
12136
+
12137
+ def deserialize(params)
12138
+ @UnfreezeRule = params['UnfreezeRule']
12139
+ @RefundRule = params['RefundRule']
12140
+ end
12141
+ end
12142
+
11860
12143
  # 云企付-门店信息
11861
12144
  class OpenBankStoreInfo < TencentCloud::Common::AbstractModel
11862
12145
  # @param Name: 门店名称
@@ -18789,10 +19072,13 @@ module TencentCloud
18789
19072
  # @param FeeRate: 手续费费率
18790
19073
  # 注意:此字段可能返回 null,表示取不到有效值。
18791
19074
  # @type FeeRate: Integer
19075
+ # @param ProfitShareRespInfoList: 分账信息
19076
+ # 注意:此字段可能返回 null,表示取不到有效值。
19077
+ # @type ProfitShareRespInfoList: Array
18792
19078
 
18793
- 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
18794
19080
 
18795
- 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)
18796
19082
  @ChannelMerchantId = channelmerchantid
18797
19083
  @OutOrderId = outorderid
18798
19084
  @ChannelOrderId = channelorderid
@@ -18809,6 +19095,7 @@ module TencentCloud
18809
19095
  @BankApprovalGuideInfo = bankapprovalguideinfo
18810
19096
  @FeeAmount = feeamount
18811
19097
  @FeeRate = feerate
19098
+ @ProfitShareRespInfoList = profitsharerespinfolist
18812
19099
  end
18813
19100
 
18814
19101
  def deserialize(params)
@@ -18834,6 +19121,14 @@ module TencentCloud
18834
19121
  end
18835
19122
  @FeeAmount = params['FeeAmount']
18836
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
18837
19132
  end
18838
19133
  end
18839
19134
 
@@ -18901,6 +19196,126 @@ module TencentCloud
18901
19196
  end
18902
19197
  end
18903
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
+
18904
19319
  # QueryOpenBankSubMerchantCredential请求参数结构体
18905
19320
  class QueryOpenBankSubMerchantCredentialRequest < TencentCloud::Common::AbstractModel
18906
19321
  # @param ChannelMerchantId: 渠道商户ID。
@@ -19106,6 +19521,90 @@ module TencentCloud
19106
19521
  end
19107
19522
  end
19108
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
+
19109
19608
  # QueryOpenBankSupportBankList请求参数结构体
19110
19609
  class QueryOpenBankSupportBankListRequest < TencentCloud::Common::AbstractModel
19111
19610
  # @param ChannelMerchantId: 渠道商户ID。
@@ -21988,10 +22487,12 @@ module TencentCloud
21988
22487
  # __sandbox__:沙箱环境
21989
22488
  # _不填默认为生产环境_
21990
22489
  # @type Environment: String
22490
+ # @param ProfitShareInfoList: 分账信息列表。
22491
+ # @type ProfitShareInfoList: Array
21991
22492
 
21992
- 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
21993
22494
 
21994
- 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)
21995
22496
  @OutRefundId = outrefundid
21996
22497
  @RefundAmount = refundamount
21997
22498
  @ChannelMerchantId = channelmerchantid
@@ -22002,6 +22503,7 @@ module TencentCloud
22002
22503
  @ExternalRefundData = externalrefunddata
22003
22504
  @Remark = remark
22004
22505
  @Environment = environment
22506
+ @ProfitShareInfoList = profitshareinfolist
22005
22507
  end
22006
22508
 
22007
22509
  def deserialize(params)
@@ -22015,6 +22517,14 @@ module TencentCloud
22015
22517
  @ExternalRefundData = params['ExternalRefundData']
22016
22518
  @Remark = params['Remark']
22017
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
22018
22528
  end
22019
22529
  end
22020
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.395
4
+ version: 3.0.400
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-26 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common