tencentcloud-sdk-cpdp 3.0.434 → 3.0.435

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1edf51300775de606330e75bab5b660fe5b0223
4
- data.tar.gz: 9fd37bbac5d6b9226ab62766b8398d6cf4622132
3
+ metadata.gz: ee17527556ef6decc1dba52606aae0164f44b977
4
+ data.tar.gz: 5fa038c1c62703051aa93e43c4c280df5b6b32ab
5
5
  SHA512:
6
- metadata.gz: 47c51d4bce8bca604fc24b2ea828447cb227bcc7e3a7b14ab9afc5bc154ebcd0316619512ced4ab6a916f2a01c7778d98ad50afbc0b2949d067e22be52feea8f
7
- data.tar.gz: c25c510c5c7d45da193bba3dbe02bb5bcd7d4f458823a42be25196bc945db72012ba264a6516d881dc99c6b1cfa9bb51629a68931c41d2c1216cab7da8d4e2ec
6
+ metadata.gz: 134de7645ce10e287a50482011d775b2407e68292f2980c6b2c66fa88c5f2452da0fadc3a3d0c632c608b7fba00393c8bb59349a7adea38fc997e96607dd17f0
7
+ data.tar.gz: 9ac242f9aa3073c0efdc32187946b8aaddd270da96e94fad805e138f8d2cf5bb0fc9ffa98402f541918953dee89ef68c017099d2586618a9858329fd57ec85aa
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.434
1
+ 3.0.435
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 云企付-绑定分账收款方
513
+
514
+ # @param request: Request instance for BindOpenBankProfitSharePayee.
515
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::BindOpenBankProfitSharePayeeRequest`
516
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::BindOpenBankProfitSharePayeeResponse`
517
+ def BindOpenBankProfitSharePayee(request)
518
+ body = send_request('BindOpenBankProfitSharePayee', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = BindOpenBankProfitSharePayeeResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 会员绑定提现账户-回填银联鉴权短信码。用于会员填写动态验证码后,发往银行进行验证,验证成功则完成绑定。
513
537
 
514
538
  # @param request: Request instance for BindRelateAccReUnionPay.
@@ -3736,6 +3760,30 @@ module TencentCloud
3736
3760
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3737
3761
  end
3738
3762
 
3763
+ # 云企付-绑定分账收款方查询
3764
+
3765
+ # @param request: Request instance for QueryOpenBankProfitSharePayee.
3766
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankProfitSharePayeeRequest`
3767
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryOpenBankProfitSharePayeeResponse`
3768
+ def QueryOpenBankProfitSharePayee(request)
3769
+ body = send_request('QueryOpenBankProfitSharePayee', request.serialize)
3770
+ response = JSON.parse(body)
3771
+ if response['Response'].key?('Error') == false
3772
+ model = QueryOpenBankProfitSharePayeeResponse.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
  # 云企付-退款结果查询
3740
3788
 
3741
3789
  # @param request: Request instance for QueryOpenBankRefundOrder.
@@ -1491,10 +1491,16 @@ module TencentCloud
1491
1491
  # @type SettleDetail: String
1492
1492
  # @param NotifyUrl: 结算成功回调地址
1493
1493
  # @type NotifyUrl: String
1494
+ # @param Remark: 附言
1495
+ # @type Remark: String
1496
+ # @param ExternalSettleData: 结算第三方渠道扩展信息。通联国际必选
1497
+ # @type ExternalSettleData: String
1498
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
1499
+ # @type Environment: String
1494
1500
 
1495
- attr_accessor :ChannelMerchantId, :OutSettleId, :SettleAmount, :ChannelName, :ChannelSubMerchantId, :SettleDetail, :NotifyUrl
1501
+ attr_accessor :ChannelMerchantId, :OutSettleId, :SettleAmount, :ChannelName, :ChannelSubMerchantId, :SettleDetail, :NotifyUrl, :Remark, :ExternalSettleData, :Environment
1496
1502
 
1497
- def initialize(channelmerchantid=nil, outsettleid=nil, settleamount=nil, channelname=nil, channelsubmerchantid=nil, settledetail=nil, notifyurl=nil)
1503
+ def initialize(channelmerchantid=nil, outsettleid=nil, settleamount=nil, channelname=nil, channelsubmerchantid=nil, settledetail=nil, notifyurl=nil, remark=nil, externalsettledata=nil, environment=nil)
1498
1504
  @ChannelMerchantId = channelmerchantid
1499
1505
  @OutSettleId = outsettleid
1500
1506
  @SettleAmount = settleamount
@@ -1502,6 +1508,9 @@ module TencentCloud
1502
1508
  @ChannelSubMerchantId = channelsubmerchantid
1503
1509
  @SettleDetail = settledetail
1504
1510
  @NotifyUrl = notifyurl
1511
+ @Remark = remark
1512
+ @ExternalSettleData = externalsettledata
1513
+ @Environment = environment
1505
1514
  end
1506
1515
 
1507
1516
  def deserialize(params)
@@ -1512,6 +1521,9 @@ module TencentCloud
1512
1521
  @ChannelSubMerchantId = params['ChannelSubMerchantId']
1513
1522
  @SettleDetail = params['SettleDetail']
1514
1523
  @NotifyUrl = params['NotifyUrl']
1524
+ @Remark = params['Remark']
1525
+ @ExternalSettleData = params['ExternalSettleData']
1526
+ @Environment = params['Environment']
1515
1527
  end
1516
1528
  end
1517
1529
 
@@ -2825,6 +2837,110 @@ module TencentCloud
2825
2837
  end
2826
2838
  end
2827
2839
 
2840
+ # BindOpenBankProfitSharePayee请求参数结构体
2841
+ class BindOpenBankProfitSharePayeeRequest < TencentCloud::Common::AbstractModel
2842
+ # @param ChannelMerchantId: 渠道商户号。代理商/集团ID
2843
+ # @type ChannelMerchantId: String
2844
+ # @param AccountNo: 收款人银行账户号。唯一
2845
+ # @type AccountNo: String
2846
+ # @param ChannelName: 渠道名称
2847
+ # 通联国际: CNP
2848
+ # @type ChannelName: String
2849
+ # @param ChannelSubMerchantId: 渠道子商户号。商户ID
2850
+ # @type ChannelSubMerchantId: String
2851
+ # @param NotifyUrl: 绑定状态通知地址,若为空,即不回调通知。
2852
+ # @type NotifyUrl: String
2853
+ # @param ProfitSharePayeeInfo: 分账收款人信息。通联国际必选
2854
+ # @type ProfitSharePayeeInfo: :class:`Tencentcloud::Cpdp.v20190820.models.OpenBankProfitSharePayeeInfo`
2855
+ # @param ExternalProfitSharingData: 第三方拓展信息。若无特殊说明,可为空
2856
+ # @type ExternalProfitSharingData: String
2857
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
2858
+ # @type Environment: String
2859
+
2860
+ attr_accessor :ChannelMerchantId, :AccountNo, :ChannelName, :ChannelSubMerchantId, :NotifyUrl, :ProfitSharePayeeInfo, :ExternalProfitSharingData, :Environment
2861
+
2862
+ def initialize(channelmerchantid=nil, accountno=nil, channelname=nil, channelsubmerchantid=nil, notifyurl=nil, profitsharepayeeinfo=nil, externalprofitsharingdata=nil, environment=nil)
2863
+ @ChannelMerchantId = channelmerchantid
2864
+ @AccountNo = accountno
2865
+ @ChannelName = channelname
2866
+ @ChannelSubMerchantId = channelsubmerchantid
2867
+ @NotifyUrl = notifyurl
2868
+ @ProfitSharePayeeInfo = profitsharepayeeinfo
2869
+ @ExternalProfitSharingData = externalprofitsharingdata
2870
+ @Environment = environment
2871
+ end
2872
+
2873
+ def deserialize(params)
2874
+ @ChannelMerchantId = params['ChannelMerchantId']
2875
+ @AccountNo = params['AccountNo']
2876
+ @ChannelName = params['ChannelName']
2877
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
2878
+ @NotifyUrl = params['NotifyUrl']
2879
+ unless params['ProfitSharePayeeInfo'].nil?
2880
+ @ProfitSharePayeeInfo = OpenBankProfitSharePayeeInfo.new
2881
+ @ProfitSharePayeeInfo.deserialize(params['ProfitSharePayeeInfo'])
2882
+ end
2883
+ @ExternalProfitSharingData = params['ExternalProfitSharingData']
2884
+ @Environment = params['Environment']
2885
+ end
2886
+ end
2887
+
2888
+ # BindOpenBankProfitSharePayee返回参数结构体
2889
+ class BindOpenBankProfitSharePayeeResponse < TencentCloud::Common::AbstractModel
2890
+ # @param ErrCode: 错误码。
2891
+ # @type ErrCode: String
2892
+ # @param ErrMessage: 错误信息。
2893
+ # @type ErrMessage: String
2894
+ # @param Result: 返回结果
2895
+ # 注意:此字段可能返回 null,表示取不到有效值。
2896
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.BindOpenBankProfitSharePayeeResult`
2897
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2898
+ # @type RequestId: String
2899
+
2900
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
2901
+
2902
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
2903
+ @ErrCode = errcode
2904
+ @ErrMessage = errmessage
2905
+ @Result = result
2906
+ @RequestId = requestid
2907
+ end
2908
+
2909
+ def deserialize(params)
2910
+ @ErrCode = params['ErrCode']
2911
+ @ErrMessage = params['ErrMessage']
2912
+ unless params['Result'].nil?
2913
+ @Result = BindOpenBankProfitSharePayeeResult.new
2914
+ @Result.deserialize(params['Result'])
2915
+ end
2916
+ @RequestId = params['RequestId']
2917
+ end
2918
+ end
2919
+
2920
+ # 绑定分账收款方响应
2921
+ class BindOpenBankProfitSharePayeeResult < TencentCloud::Common::AbstractModel
2922
+ # @param AccountId: 账户ID。受益人ID
2923
+ # @type AccountId: String
2924
+ # @param AccountNo: 账户号,通联渠道指客户银行账号
2925
+ # @type AccountNo: String
2926
+ # @param Currency: 账户货币。参考附录“币种类型”。
2927
+ # @type Currency: String
2928
+
2929
+ attr_accessor :AccountId, :AccountNo, :Currency
2930
+
2931
+ def initialize(accountid=nil, accountno=nil, currency=nil)
2932
+ @AccountId = accountid
2933
+ @AccountNo = accountno
2934
+ @Currency = currency
2935
+ end
2936
+
2937
+ def deserialize(params)
2938
+ @AccountId = params['AccountId']
2939
+ @AccountNo = params['AccountNo']
2940
+ @Currency = params['Currency']
2941
+ end
2942
+ end
2943
+
2828
2944
  # BindRelateAccReUnionPay请求参数结构体
2829
2945
  class BindRelateAccReUnionPayRequest < TencentCloud::Common::AbstractModel
2830
2946
  # @param MrchCode: String(22),商户号(签约客户号)
@@ -3906,10 +4022,19 @@ module TencentCloud
3906
4022
  # @param SceneInfo: 场景扩展信息
3907
4023
  # 注意:此字段可能返回 null,表示取不到有效值。
3908
4024
  # @type SceneInfo: String
4025
+ # @param SubAppId: 子应用ID
4026
+ # 注意:此字段可能返回 null,表示取不到有效值。
4027
+ # @type SubAppId: String
4028
+ # @param PayScene: 支付场景
4029
+ # 注意:此字段可能返回 null,表示取不到有效值。
4030
+ # @type PayScene: String
4031
+ # @param PaymentMethod: 支付方式
4032
+ # 注意:此字段可能返回 null,表示取不到有效值。
4033
+ # @type PaymentMethod: String
3909
4034
 
3910
- attr_accessor :AppId, :OutTradeNo, :SubOrderList, :TransactionId, :UserId, :Channel, :ProductId, :Metadata, :CurrencyType, :Amt, :OrderState, :OrderTime, :PayTime, :CallBackTime, :ChannelExternalOrderId, :ChannelOrderId, :RefundFlag, :CashAmt, :CouponAmt, :ProductName, :SettleInfo, :AttachmentInfoList, :ChannelExternalUserInfoList, :ExternalReturnPromptGroupList, :SceneInfo
4035
+ attr_accessor :AppId, :OutTradeNo, :SubOrderList, :TransactionId, :UserId, :Channel, :ProductId, :Metadata, :CurrencyType, :Amt, :OrderState, :OrderTime, :PayTime, :CallBackTime, :ChannelExternalOrderId, :ChannelOrderId, :RefundFlag, :CashAmt, :CouponAmt, :ProductName, :SettleInfo, :AttachmentInfoList, :ChannelExternalUserInfoList, :ExternalReturnPromptGroupList, :SceneInfo, :SubAppId, :PayScene, :PaymentMethod
3911
4036
 
3912
- def initialize(appid=nil, outtradeno=nil, suborderlist=nil, transactionid=nil, userid=nil, channel=nil, productid=nil, metadata=nil, currencytype=nil, amt=nil, orderstate=nil, ordertime=nil, paytime=nil, callbacktime=nil, channelexternalorderid=nil, channelorderid=nil, refundflag=nil, cashamt=nil, couponamt=nil, productname=nil, settleinfo=nil, attachmentinfolist=nil, channelexternaluserinfolist=nil, externalreturnpromptgrouplist=nil, sceneinfo=nil)
4037
+ def initialize(appid=nil, outtradeno=nil, suborderlist=nil, transactionid=nil, userid=nil, channel=nil, productid=nil, metadata=nil, currencytype=nil, amt=nil, orderstate=nil, ordertime=nil, paytime=nil, callbacktime=nil, channelexternalorderid=nil, channelorderid=nil, refundflag=nil, cashamt=nil, couponamt=nil, productname=nil, settleinfo=nil, attachmentinfolist=nil, channelexternaluserinfolist=nil, externalreturnpromptgrouplist=nil, sceneinfo=nil, subappid=nil, payscene=nil, paymentmethod=nil)
3913
4038
  @AppId = appid
3914
4039
  @OutTradeNo = outtradeno
3915
4040
  @SubOrderList = suborderlist
@@ -3935,6 +4060,9 @@ module TencentCloud
3935
4060
  @ChannelExternalUserInfoList = channelexternaluserinfolist
3936
4061
  @ExternalReturnPromptGroupList = externalreturnpromptgrouplist
3937
4062
  @SceneInfo = sceneinfo
4063
+ @SubAppId = subappid
4064
+ @PayScene = payscene
4065
+ @PaymentMethod = paymentmethod
3938
4066
  end
3939
4067
 
3940
4068
  def deserialize(params)
@@ -3994,6 +4122,9 @@ module TencentCloud
3994
4122
  end
3995
4123
  end
3996
4124
  @SceneInfo = params['SceneInfo']
4125
+ @SubAppId = params['SubAppId']
4126
+ @PayScene = params['PayScene']
4127
+ @PaymentMethod = params['PaymentMethod']
3997
4128
  end
3998
4129
  end
3999
4130
 
@@ -4201,10 +4332,16 @@ module TencentCloud
4201
4332
  # @type ChannelExternalSubOrderId: String
4202
4333
  # @param WxSubMchId: 微信子商户号
4203
4334
  # @type WxSubMchId: String
4335
+ # @param ChannelSubPayOrderId: 米大师侧渠道子订单号
4336
+ # 注意:此字段可能返回 null,表示取不到有效值。
4337
+ # @type ChannelSubPayOrderId: String
4338
+ # @param ProductId: 物品ID
4339
+ # 注意:此字段可能返回 null,表示取不到有效值。
4340
+ # @type ProductId: String
4204
4341
 
4205
- attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Amt, :OriginalAmt, :SettleCheck, :SettleInfo, :Metadata, :AttachmentInfoList, :ChannelExternalSubOrderId, :WxSubMchId
4342
+ attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Amt, :OriginalAmt, :SettleCheck, :SettleInfo, :Metadata, :AttachmentInfoList, :ChannelExternalSubOrderId, :WxSubMchId, :ChannelSubPayOrderId, :ProductId
4206
4343
 
4207
- def initialize(subouttradeno=nil, subappid=nil, productname=nil, productdetail=nil, platformincome=nil, submchincome=nil, amt=nil, originalamt=nil, settlecheck=nil, settleinfo=nil, metadata=nil, attachmentinfolist=nil, channelexternalsuborderid=nil, wxsubmchid=nil)
4344
+ def initialize(subouttradeno=nil, subappid=nil, productname=nil, productdetail=nil, platformincome=nil, submchincome=nil, amt=nil, originalamt=nil, settlecheck=nil, settleinfo=nil, metadata=nil, attachmentinfolist=nil, channelexternalsuborderid=nil, wxsubmchid=nil, channelsubpayorderid=nil, productid=nil)
4208
4345
  @SubOutTradeNo = subouttradeno
4209
4346
  @SubAppId = subappid
4210
4347
  @ProductName = productname
@@ -4219,6 +4356,8 @@ module TencentCloud
4219
4356
  @AttachmentInfoList = attachmentinfolist
4220
4357
  @ChannelExternalSubOrderId = channelexternalsuborderid
4221
4358
  @WxSubMchId = wxsubmchid
4359
+ @ChannelSubPayOrderId = channelsubpayorderid
4360
+ @ProductId = productid
4222
4361
  end
4223
4362
 
4224
4363
  def deserialize(params)
@@ -4242,6 +4381,8 @@ module TencentCloud
4242
4381
  end
4243
4382
  @ChannelExternalSubOrderId = params['ChannelExternalSubOrderId']
4244
4383
  @WxSubMchId = params['WxSubMchId']
4384
+ @ChannelSubPayOrderId = params['ChannelSubPayOrderId']
4385
+ @ProductId = params['ProductId']
4245
4386
  end
4246
4387
  end
4247
4388
 
@@ -5395,24 +5536,28 @@ module TencentCloud
5395
5536
 
5396
5537
  # CreateCloudSubMerchant返回参数结构体
5397
5538
  class CreateCloudSubMerchantResponse < TencentCloud::Common::AbstractModel
5398
- # @param SubAppId: 子应用Id。
5539
+ # @param SubAppId: 子应用ID
5399
5540
  # 注意:此字段可能返回 null,表示取不到有效值。
5400
5541
  # @type SubAppId: String
5401
- # @param ChannelSubMerchantId: 渠道子商户Id。
5542
+ # @param ChannelSubMerchantId: 渠道子商户ID
5402
5543
  # 注意:此字段可能返回 null,表示取不到有效值。
5403
5544
  # @type ChannelSubMerchantId: String
5404
- # @param Level: 层级,从0开始。
5545
+ # @param Level: 层级,从0开始
5405
5546
  # 注意:此字段可能返回 null,表示取不到有效值。
5406
5547
  # @type Level: Integer
5548
+ # @param ChannelAppId: 渠道应用ID
5549
+ # 注意:此字段可能返回 null,表示取不到有效值。
5550
+ # @type ChannelAppId: String
5407
5551
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5408
5552
  # @type RequestId: String
5409
5553
 
5410
- attr_accessor :SubAppId, :ChannelSubMerchantId, :Level, :RequestId
5554
+ attr_accessor :SubAppId, :ChannelSubMerchantId, :Level, :ChannelAppId, :RequestId
5411
5555
 
5412
- def initialize(subappid=nil, channelsubmerchantid=nil, level=nil, requestid=nil)
5556
+ def initialize(subappid=nil, channelsubmerchantid=nil, level=nil, channelappid=nil, requestid=nil)
5413
5557
  @SubAppId = subappid
5414
5558
  @ChannelSubMerchantId = channelsubmerchantid
5415
5559
  @Level = level
5560
+ @ChannelAppId = channelappid
5416
5561
  @RequestId = requestid
5417
5562
  end
5418
5563
 
@@ -5420,6 +5565,7 @@ module TencentCloud
5420
5565
  @SubAppId = params['SubAppId']
5421
5566
  @ChannelSubMerchantId = params['ChannelSubMerchantId']
5422
5567
  @Level = params['Level']
5568
+ @ChannelAppId = params['ChannelAppId']
5423
5569
  @RequestId = params['RequestId']
5424
5570
  end
5425
5571
  end
@@ -9912,15 +10058,21 @@ module TencentCloud
9912
10058
  # @type FileMD5: String
9913
10059
  # @param DownloadUrl: 账单文件的真实下载地址
9914
10060
  # @type DownloadUrl: String
10061
+ # @param StateType: 账单类型
10062
+ # TRADE,对账单
10063
+ # FUND,资金账单
10064
+ # 注意:此字段可能返回 null,表示取不到有效值。
10065
+ # @type StateType: String
9915
10066
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9916
10067
  # @type RequestId: String
9917
10068
 
9918
- attr_accessor :FileName, :FileMD5, :DownloadUrl, :RequestId
10069
+ attr_accessor :FileName, :FileMD5, :DownloadUrl, :StateType, :RequestId
9919
10070
 
9920
- def initialize(filename=nil, filemd5=nil, downloadurl=nil, requestid=nil)
10071
+ def initialize(filename=nil, filemd5=nil, downloadurl=nil, statetype=nil, requestid=nil)
9921
10072
  @FileName = filename
9922
10073
  @FileMD5 = filemd5
9923
10074
  @DownloadUrl = downloadurl
10075
+ @StateType = statetype
9924
10076
  @RequestId = requestid
9925
10077
  end
9926
10078
 
@@ -9928,6 +10080,7 @@ module TencentCloud
9928
10080
  @FileName = params['FileName']
9929
10081
  @FileMD5 = params['FileMD5']
9930
10082
  @DownloadUrl = params['DownloadUrl']
10083
+ @StateType = params['StateType']
9931
10084
  @RequestId = params['RequestId']
9932
10085
  end
9933
10086
  end
@@ -11884,6 +12037,97 @@ module TencentCloud
11884
12037
  end
11885
12038
  end
11886
12039
 
12040
+ # 附加项信息
12041
+ class OldAttachmentInfo < TencentCloud::Common::AbstractModel
12042
+ # @param AttachmentAmount: 附加项金额
12043
+ # 注意:此字段可能返回 null,表示取不到有效值。
12044
+ # @type AttachmentAmount: Integer
12045
+ # @param AttachmentType: 附加项类型
12046
+ # 注意:此字段可能返回 null,表示取不到有效值。
12047
+ # @type AttachmentType: String
12048
+ # @param AttachmentName: 附加项名称
12049
+ # 注意:此字段可能返回 null,表示取不到有效值。
12050
+ # @type AttachmentName: String
12051
+ # @param AttachmentCode: 附加项编号
12052
+ # 注意:此字段可能返回 null,表示取不到有效值。
12053
+ # @type AttachmentCode: String
12054
+
12055
+ attr_accessor :AttachmentAmount, :AttachmentType, :AttachmentName, :AttachmentCode
12056
+
12057
+ def initialize(attachmentamount=nil, attachmenttype=nil, attachmentname=nil, attachmentcode=nil)
12058
+ @AttachmentAmount = attachmentamount
12059
+ @AttachmentType = attachmenttype
12060
+ @AttachmentName = attachmentname
12061
+ @AttachmentCode = attachmentcode
12062
+ end
12063
+
12064
+ def deserialize(params)
12065
+ @AttachmentAmount = params['AttachmentAmount']
12066
+ @AttachmentType = params['AttachmentType']
12067
+ @AttachmentName = params['AttachmentName']
12068
+ @AttachmentCode = params['AttachmentCode']
12069
+ end
12070
+ end
12071
+
12072
+ # 渠道方用户信息
12073
+ class OldChannelExternalUserInfo < TencentCloud::Common::AbstractModel
12074
+ # @param ChannelExternalUserType: 渠道方用户类型
12075
+ # 注意:此字段可能返回 null,表示取不到有效值。
12076
+ # @type ChannelExternalUserType: String
12077
+ # @param ChannelExternalUserId: 渠道方用户ID
12078
+ # 注意:此字段可能返回 null,表示取不到有效值。
12079
+ # @type ChannelExternalUserId: String
12080
+
12081
+ attr_accessor :ChannelExternalUserType, :ChannelExternalUserId
12082
+
12083
+ def initialize(channelexternalusertype=nil, channelexternaluserid=nil)
12084
+ @ChannelExternalUserType = channelexternalusertype
12085
+ @ChannelExternalUserId = channelexternaluserid
12086
+ end
12087
+
12088
+ def deserialize(params)
12089
+ @ChannelExternalUserType = params['ChannelExternalUserType']
12090
+ @ChannelExternalUserId = params['ChannelExternalUserId']
12091
+ end
12092
+ end
12093
+
12094
+ # 子单退款信息
12095
+ class OldSubRefund < TencentCloud::Common::AbstractModel
12096
+ # @param ChannelExternalRefundId: 支付机构退款流水号
12097
+ # 注意:此字段可能返回 null,表示取不到有效值。
12098
+ # @type ChannelExternalRefundId: String
12099
+ # @param ChannelExternalOrderId: 支付机构支付订单号
12100
+ # 注意:此字段可能返回 null,表示取不到有效值。
12101
+ # @type ChannelExternalOrderId: String
12102
+ # @param ChannelRefundId: 渠道退款订单号
12103
+ # 注意:此字段可能返回 null,表示取不到有效值。
12104
+ # @type ChannelRefundId: String
12105
+ # @param SubOutTradeNo: 子订单号
12106
+ # 注意:此字段可能返回 null,表示取不到有效值。
12107
+ # @type SubOutTradeNo: String
12108
+ # @param RefundAmt: 子单退款金额
12109
+ # 注意:此字段可能返回 null,表示取不到有效值。
12110
+ # @type RefundAmt: String
12111
+
12112
+ attr_accessor :ChannelExternalRefundId, :ChannelExternalOrderId, :ChannelRefundId, :SubOutTradeNo, :RefundAmt
12113
+
12114
+ def initialize(channelexternalrefundid=nil, channelexternalorderid=nil, channelrefundid=nil, subouttradeno=nil, refundamt=nil)
12115
+ @ChannelExternalRefundId = channelexternalrefundid
12116
+ @ChannelExternalOrderId = channelexternalorderid
12117
+ @ChannelRefundId = channelrefundid
12118
+ @SubOutTradeNo = subouttradeno
12119
+ @RefundAmt = refundamt
12120
+ end
12121
+
12122
+ def deserialize(params)
12123
+ @ChannelExternalRefundId = params['ChannelExternalRefundId']
12124
+ @ChannelExternalOrderId = params['ChannelExternalOrderId']
12125
+ @ChannelRefundId = params['ChannelRefundId']
12126
+ @SubOutTradeNo = params['SubOutTradeNo']
12127
+ @RefundAmt = params['RefundAmt']
12128
+ end
12129
+ end
12130
+
11887
12131
  # 银行复核指引。银行侧返回网银授权指引链接,一般PC网银,手机网银链接
11888
12132
  class OpenBankApprovalGuideInfo < TencentCloud::Common::AbstractModel
11889
12133
  # @param PcGuideUrl: PC网银指引
@@ -12210,6 +12454,118 @@ module TencentCloud
12210
12454
  end
12211
12455
  end
12212
12456
 
12457
+ # 分账收款人信息
12458
+ class OpenBankProfitSharePayeeInfo < TencentCloud::Common::AbstractModel
12459
+ # @param AccountName: 收款人账户名称
12460
+ # @type AccountName: String
12461
+ # @param BankName: 银行名称
12462
+ # 可大体识别银行就行
12463
+ # @type BankName: String
12464
+ # @param Currency: 账户货币
12465
+ # @type Currency: String
12466
+ # @param Nature: 账户类型。
12467
+ # 00:借记卡
12468
+ # 01:存折
12469
+ # 02:信用卡
12470
+ # 03:准贷记卡
12471
+ # 04:预付卡费
12472
+ # 05:境外卡
12473
+ # @type Nature: String
12474
+ # @param Country: 账户地区/受益人所在国家。参考附录“国家代码”表——“代码”字段
12475
+ # @type Country: String
12476
+ # @param DepositCountry: 账户开户所在国家
12477
+ # 参考附录“国家代码”表——“代码”字段
12478
+ # @type DepositCountry: String
12479
+ # @param ExpireDate: 合作有效期
12480
+ # yyyy-MM-dd
12481
+ # @type ExpireDate: String
12482
+ # @param Flag: 0:个人(对私) 1:公司(对公)
12483
+ # @type Flag: String
12484
+ # @param BankAddress: 开户行地址
12485
+ # 账户地区非中国必填,【账户名+开户行地址不可超过114个字符(只允许【英文字母数字空格.,/-()'】),否则可能导致境外银行付款失败】
12486
+ # @type BankAddress: String
12487
+ # @param Address: 客户地址
12488
+ # 非中国内地账户的客户地址不能为空
12489
+ # @type Address: String
12490
+ # @param IsOSA: 账户属性
12491
+ # 账户开户所在国家为中国则必填。
12492
+ # 1-离岸账户 0-在岸账户
12493
+ # @type IsOSA: String
12494
+ # @param Province: 账户省份
12495
+ # 参考附录“地区代码”
12496
+ # @type Province: String
12497
+ # @param City: 账户城市
12498
+ # 参考附录“地区代码
12499
+ # @type City: String
12500
+ # @param LegalIdNo: 证件号/统一信用证代码
12501
+ # 如果country与depositcountry字段都是CHN时,必填
12502
+ # 对公账户填统一信用证代码,对私账户填身份证号码
12503
+ # 离岸账户非必填
12504
+ # @type LegalIdNo: String
12505
+ # @param Telephone: 手机号。
12506
+ # 账户地区是日本则必填
12507
+ # @type Telephone: String
12508
+ # @param BicCode: 参考接口说明。
12509
+ # @type BicCode: String
12510
+ # @param SwiftCode: 参考接口说明。
12511
+ # @type SwiftCode: String
12512
+ # @param Cnaps: 大额支付行号/支付行号
12513
+ # 参考接口说明。境外(大额支付行号)参考附录【大额行号】,境内(支付行号)参考附录【支付行号】
12514
+ # @type Cnaps: String
12515
+ # @param TransferBankNo: 中转行号,参考接口说明。
12516
+ # @type TransferBankNo: String
12517
+ # @param Fid: 关联附件。上传的文件ID
12518
+ # @type Fid: String
12519
+
12520
+ attr_accessor :AccountName, :BankName, :Currency, :Nature, :Country, :DepositCountry, :ExpireDate, :Flag, :BankAddress, :Address, :IsOSA, :Province, :City, :LegalIdNo, :Telephone, :BicCode, :SwiftCode, :Cnaps, :TransferBankNo, :Fid
12521
+
12522
+ def initialize(accountname=nil, bankname=nil, currency=nil, nature=nil, country=nil, depositcountry=nil, expiredate=nil, flag=nil, bankaddress=nil, address=nil, isosa=nil, province=nil, city=nil, legalidno=nil, telephone=nil, biccode=nil, swiftcode=nil, cnaps=nil, transferbankno=nil, fid=nil)
12523
+ @AccountName = accountname
12524
+ @BankName = bankname
12525
+ @Currency = currency
12526
+ @Nature = nature
12527
+ @Country = country
12528
+ @DepositCountry = depositcountry
12529
+ @ExpireDate = expiredate
12530
+ @Flag = flag
12531
+ @BankAddress = bankaddress
12532
+ @Address = address
12533
+ @IsOSA = isosa
12534
+ @Province = province
12535
+ @City = city
12536
+ @LegalIdNo = legalidno
12537
+ @Telephone = telephone
12538
+ @BicCode = biccode
12539
+ @SwiftCode = swiftcode
12540
+ @Cnaps = cnaps
12541
+ @TransferBankNo = transferbankno
12542
+ @Fid = fid
12543
+ end
12544
+
12545
+ def deserialize(params)
12546
+ @AccountName = params['AccountName']
12547
+ @BankName = params['BankName']
12548
+ @Currency = params['Currency']
12549
+ @Nature = params['Nature']
12550
+ @Country = params['Country']
12551
+ @DepositCountry = params['DepositCountry']
12552
+ @ExpireDate = params['ExpireDate']
12553
+ @Flag = params['Flag']
12554
+ @BankAddress = params['BankAddress']
12555
+ @Address = params['Address']
12556
+ @IsOSA = params['IsOSA']
12557
+ @Province = params['Province']
12558
+ @City = params['City']
12559
+ @LegalIdNo = params['LegalIdNo']
12560
+ @Telephone = params['Telephone']
12561
+ @BicCode = params['BicCode']
12562
+ @SwiftCode = params['SwiftCode']
12563
+ @Cnaps = params['Cnaps']
12564
+ @TransferBankNo = params['TransferBankNo']
12565
+ @Fid = params['Fid']
12566
+ end
12567
+ end
12568
+
12213
12569
  # 分账信息结果
12214
12570
  class OpenBankProfitShareRespInfo < TencentCloud::Common::AbstractModel
12215
12571
  # @param RecvId: 接收方企业ID
@@ -19693,6 +20049,127 @@ module TencentCloud
19693
20049
  end
19694
20050
  end
19695
20051
 
20052
+ # QueryOpenBankProfitSharePayee请求参数结构体
20053
+ class QueryOpenBankProfitSharePayeeRequest < TencentCloud::Common::AbstractModel
20054
+ # @param ChannelMerchantId: 渠道商户号。代理商/集团ID
20055
+ # @type ChannelMerchantId: String
20056
+ # @param ChannelSubMerchantId: 渠道子商户号。商户ID
20057
+ # @type ChannelSubMerchantId: String
20058
+ # @param AccountId: 分账方绑定添加返回的AccountId,账户号和账户ID选其一
20059
+ # @type AccountId: String
20060
+ # @param AccountNo: 银行账户号要与绑定收款方时保持一致,账户号AccountNo和账户AccoutId选其一
20061
+ # @type AccountNo: String
20062
+ # @param Currency: 使用账户号时必选
20063
+ # @type Currency: String
20064
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
20065
+ # @type Environment: String
20066
+
20067
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :AccountId, :AccountNo, :Currency, :Environment
20068
+
20069
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, accountid=nil, accountno=nil, currency=nil, environment=nil)
20070
+ @ChannelMerchantId = channelmerchantid
20071
+ @ChannelSubMerchantId = channelsubmerchantid
20072
+ @AccountId = accountid
20073
+ @AccountNo = accountno
20074
+ @Currency = currency
20075
+ @Environment = environment
20076
+ end
20077
+
20078
+ def deserialize(params)
20079
+ @ChannelMerchantId = params['ChannelMerchantId']
20080
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
20081
+ @AccountId = params['AccountId']
20082
+ @AccountNo = params['AccountNo']
20083
+ @Currency = params['Currency']
20084
+ @Environment = params['Environment']
20085
+ end
20086
+ end
20087
+
20088
+ # QueryOpenBankProfitSharePayee返回参数结构体
20089
+ class QueryOpenBankProfitSharePayeeResponse < TencentCloud::Common::AbstractModel
20090
+ # @param ErrCode: 错误码。
20091
+ # @type ErrCode: String
20092
+ # @param ErrMessage: 错误信息。
20093
+ # @type ErrMessage: String
20094
+ # @param Result: 返回结果
20095
+ # 注意:此字段可能返回 null,表示取不到有效值。
20096
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankProfitSharePayeeResult`
20097
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
20098
+ # @type RequestId: String
20099
+
20100
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
20101
+
20102
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
20103
+ @ErrCode = errcode
20104
+ @ErrMessage = errmessage
20105
+ @Result = result
20106
+ @RequestId = requestid
20107
+ end
20108
+
20109
+ def deserialize(params)
20110
+ @ErrCode = params['ErrCode']
20111
+ @ErrMessage = params['ErrMessage']
20112
+ unless params['Result'].nil?
20113
+ @Result = QueryOpenBankProfitSharePayeeResult.new
20114
+ @Result.deserialize(params['Result'])
20115
+ end
20116
+ @RequestId = params['RequestId']
20117
+ end
20118
+ end
20119
+
20120
+ # 绑定分账收款方查询响应
20121
+ class QueryOpenBankProfitSharePayeeResult < TencentCloud::Common::AbstractModel
20122
+ # @param AccountId: 账户ID(受益ID)
20123
+ # @type AccountId: String
20124
+ # @param AccountNo: 账户号。通联国际指客户银行账户号
20125
+ # @type AccountNo: String
20126
+ # @param Currency: 账户货币。参考附录“币种类型”。
20127
+ # @type Currency: String
20128
+ # @param AccountName: 收款人账户名称
20129
+ # @type AccountName: String
20130
+ # @param BankName: 银行名称
20131
+ # 注意:此字段可能返回 null,表示取不到有效值。
20132
+ # @type BankName: String
20133
+ # @param Nature: 账户类型。
20134
+ # 00:借记卡
20135
+ # 01:存折
20136
+ # 02:信用卡
20137
+ # 03:准贷记卡
20138
+ # 04:预付卡费
20139
+ # 05:境外卡
20140
+ # 注意:此字段可能返回 null,表示取不到有效值。
20141
+ # @type Nature: String
20142
+ # @param BindState: 状态
20143
+ # 0-待审核;1-审核通过;2-审核不通过 3-关联实体未审核
20144
+ # @type BindState: String
20145
+ # @param StateExplain: 状态描述
20146
+ # @type StateExplain: String
20147
+
20148
+ attr_accessor :AccountId, :AccountNo, :Currency, :AccountName, :BankName, :Nature, :BindState, :StateExplain
20149
+
20150
+ def initialize(accountid=nil, accountno=nil, currency=nil, accountname=nil, bankname=nil, nature=nil, bindstate=nil, stateexplain=nil)
20151
+ @AccountId = accountid
20152
+ @AccountNo = accountno
20153
+ @Currency = currency
20154
+ @AccountName = accountname
20155
+ @BankName = bankname
20156
+ @Nature = nature
20157
+ @BindState = bindstate
20158
+ @StateExplain = stateexplain
20159
+ end
20160
+
20161
+ def deserialize(params)
20162
+ @AccountId = params['AccountId']
20163
+ @AccountNo = params['AccountNo']
20164
+ @Currency = params['Currency']
20165
+ @AccountName = params['AccountName']
20166
+ @BankName = params['BankName']
20167
+ @Nature = params['Nature']
20168
+ @BindState = params['BindState']
20169
+ @StateExplain = params['StateExplain']
20170
+ end
20171
+ end
20172
+
19696
20173
  # QueryOpenBankRefundOrder请求参数结构体
19697
20174
  class QueryOpenBankRefundOrderRequest < TencentCloud::Common::AbstractModel
19698
20175
  # @param ChannelMerchantId: 渠道商户号。
@@ -19767,14 +20244,17 @@ module TencentCloud
19767
20244
  # @type OutSettleId: String
19768
20245
  # @param ChannelSettleId: 渠道结算流水号,与外部结算流水号二选一
19769
20246
  # @type ChannelSettleId: String
20247
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
20248
+ # @type Environment: String
19770
20249
 
19771
- attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :OutSettleId, :ChannelSettleId
20250
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :OutSettleId, :ChannelSettleId, :Environment
19772
20251
 
19773
- def initialize(channelmerchantid=nil, channelsubmerchantid=nil, outsettleid=nil, channelsettleid=nil)
20252
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, outsettleid=nil, channelsettleid=nil, environment=nil)
19774
20253
  @ChannelMerchantId = channelmerchantid
19775
20254
  @ChannelSubMerchantId = channelsubmerchantid
19776
20255
  @OutSettleId = outsettleid
19777
20256
  @ChannelSettleId = channelsettleid
20257
+ @Environment = environment
19778
20258
  end
19779
20259
 
19780
20260
  def deserialize(params)
@@ -19782,6 +20262,7 @@ module TencentCloud
19782
20262
  @ChannelSubMerchantId = params['ChannelSubMerchantId']
19783
20263
  @OutSettleId = params['OutSettleId']
19784
20264
  @ChannelSettleId = params['ChannelSettleId']
20265
+ @Environment = params['Environment']
19785
20266
  end
19786
20267
  end
19787
20268
 
@@ -19849,10 +20330,13 @@ module TencentCloud
19849
20330
  # @param SettleFee: 结算手续费
19850
20331
  # 注意:此字段可能返回 null,表示取不到有效值。
19851
20332
  # @type SettleFee: String
20333
+ # @param Currency: 账户货币。参考附录“币种类型”。
20334
+ # 注意:此字段可能返回 null,表示取不到有效值。
20335
+ # @type Currency: String
19852
20336
 
19853
- attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus, :SettleAmount, :SettleDate, :SettleType, :FailReason, :TimeFinish, :SettleFee
20337
+ attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus, :SettleAmount, :SettleDate, :SettleType, :FailReason, :TimeFinish, :SettleFee, :Currency
19854
20338
 
19855
- def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil, settleamount=nil, settledate=nil, settletype=nil, failreason=nil, timefinish=nil, settlefee=nil)
20339
+ def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil, settleamount=nil, settledate=nil, settletype=nil, failreason=nil, timefinish=nil, settlefee=nil, currency=nil)
19856
20340
  @OutSettleId = outsettleid
19857
20341
  @ChannelSettleId = channelsettleid
19858
20342
  @SettleStatus = settlestatus
@@ -19862,6 +20346,7 @@ module TencentCloud
19862
20346
  @FailReason = failreason
19863
20347
  @TimeFinish = timefinish
19864
20348
  @SettleFee = settlefee
20349
+ @Currency = currency
19865
20350
  end
19866
20351
 
19867
20352
  def deserialize(params)
@@ -19874,6 +20359,7 @@ module TencentCloud
19874
20359
  @FailReason = params['FailReason']
19875
20360
  @TimeFinish = params['TimeFinish']
19876
20361
  @SettleFee = params['SettleFee']
20362
+ @Currency = params['Currency']
19877
20363
  end
19878
20364
  end
19879
20365
 
@@ -20518,10 +21004,19 @@ module TencentCloud
20518
21004
  # @type SubOrderList: Array
20519
21005
  # @param ChannelExternalOrderId: 支付机构订单号
20520
21006
  # @type ChannelExternalOrderId: String
21007
+ # @param SettleCheck: 主单核销状态
21008
+ # 注意:此字段可能返回 null,表示取不到有效值。
21009
+ # @type SettleCheck: Integer
21010
+ # @param ChannelExternalUserInfoList: 渠道方用户信息列表
21011
+ # 注意:此字段可能返回 null,表示取不到有效值。
21012
+ # @type ChannelExternalUserInfoList: Array
21013
+ # @param AttachmentInfoList: 附加项信息列表
21014
+ # 注意:此字段可能返回 null,表示取不到有效值。
21015
+ # @type AttachmentInfoList: Array
20521
21016
 
20522
- attr_accessor :MidasAppId, :Amt, :UserId, :CashAmt, :Metadata, :PayTime, :CouponAmt, :OrderTime, :ProductId, :SceneInfo, :OrderState, :Channel, :RefundFlag, :OutTradeNo, :ProductName, :CallBackTime, :CurrencyType, :AcctSubAppId, :TransactionId, :ChannelOrderId, :SubOrderList, :ChannelExternalOrderId
21017
+ attr_accessor :MidasAppId, :Amt, :UserId, :CashAmt, :Metadata, :PayTime, :CouponAmt, :OrderTime, :ProductId, :SceneInfo, :OrderState, :Channel, :RefundFlag, :OutTradeNo, :ProductName, :CallBackTime, :CurrencyType, :AcctSubAppId, :TransactionId, :ChannelOrderId, :SubOrderList, :ChannelExternalOrderId, :SettleCheck, :ChannelExternalUserInfoList, :AttachmentInfoList
20523
21018
 
20524
- def initialize(midasappid=nil, amt=nil, userid=nil, cashamt=nil, metadata=nil, paytime=nil, couponamt=nil, ordertime=nil, productid=nil, sceneinfo=nil, orderstate=nil, channel=nil, refundflag=nil, outtradeno=nil, productname=nil, callbacktime=nil, currencytype=nil, acctsubappid=nil, transactionid=nil, channelorderid=nil, suborderlist=nil, channelexternalorderid=nil)
21019
+ def initialize(midasappid=nil, amt=nil, userid=nil, cashamt=nil, metadata=nil, paytime=nil, couponamt=nil, ordertime=nil, productid=nil, sceneinfo=nil, orderstate=nil, channel=nil, refundflag=nil, outtradeno=nil, productname=nil, callbacktime=nil, currencytype=nil, acctsubappid=nil, transactionid=nil, channelorderid=nil, suborderlist=nil, channelexternalorderid=nil, settlecheck=nil, channelexternaluserinfolist=nil, attachmentinfolist=nil)
20525
21020
  @MidasAppId = midasappid
20526
21021
  @Amt = amt
20527
21022
  @UserId = userid
@@ -20544,6 +21039,9 @@ module TencentCloud
20544
21039
  @ChannelOrderId = channelorderid
20545
21040
  @SubOrderList = suborderlist
20546
21041
  @ChannelExternalOrderId = channelexternalorderid
21042
+ @SettleCheck = settlecheck
21043
+ @ChannelExternalUserInfoList = channelexternaluserinfolist
21044
+ @AttachmentInfoList = attachmentinfolist
20547
21045
  end
20548
21046
 
20549
21047
  def deserialize(params)
@@ -20576,6 +21074,23 @@ module TencentCloud
20576
21074
  end
20577
21075
  end
20578
21076
  @ChannelExternalOrderId = params['ChannelExternalOrderId']
21077
+ @SettleCheck = params['SettleCheck']
21078
+ unless params['ChannelExternalUserInfoList'].nil?
21079
+ @ChannelExternalUserInfoList = []
21080
+ params['ChannelExternalUserInfoList'].each do |i|
21081
+ oldchannelexternaluserinfo_tmp = OldChannelExternalUserInfo.new
21082
+ oldchannelexternaluserinfo_tmp.deserialize(i)
21083
+ @ChannelExternalUserInfoList << oldchannelexternaluserinfo_tmp
21084
+ end
21085
+ end
21086
+ unless params['AttachmentInfoList'].nil?
21087
+ @AttachmentInfoList = []
21088
+ params['AttachmentInfoList'].each do |i|
21089
+ oldattachmentinfo_tmp = OldAttachmentInfo.new
21090
+ oldattachmentinfo_tmp.deserialize(i)
21091
+ @AttachmentInfoList << oldattachmentinfo_tmp
21092
+ end
21093
+ end
20579
21094
  end
20580
21095
  end
20581
21096
 
@@ -21451,18 +21966,74 @@ module TencentCloud
21451
21966
  class QueryRefundResponse < TencentCloud::Common::AbstractModel
21452
21967
  # @param State: 退款状态码,退款提交成功后返回 1:退款中; 2:退款成功; 3:退款失败。
21453
21968
  # @type State: String
21969
+ # @param ChannelExternalOrderId: 支付机构订单号
21970
+ # 注意:此字段可能返回 null,表示取不到有效值。
21971
+ # @type ChannelExternalOrderId: String
21972
+ # @param ChannelExternalRefundId: 支付机构退款单号
21973
+ # 注意:此字段可能返回 null,表示取不到有效值。
21974
+ # @type ChannelExternalRefundId: String
21975
+ # @param ChannelOrderId: 渠道订单号
21976
+ # 注意:此字段可能返回 null,表示取不到有效值。
21977
+ # @type ChannelOrderId: String
21978
+ # @param TotalRefundAmt: 退款总金额
21979
+ # 注意:此字段可能返回 null,表示取不到有效值。
21980
+ # @type TotalRefundAmt: Integer
21981
+ # @param CurrencyType: 货币类型
21982
+ # 注意:此字段可能返回 null,表示取不到有效值。
21983
+ # @type CurrencyType: String
21984
+ # @param OutTradeNo: 外部订单号
21985
+ # 注意:此字段可能返回 null,表示取不到有效值。
21986
+ # @type OutTradeNo: String
21987
+ # @param RefundId: 退款订单号
21988
+ # 注意:此字段可能返回 null,表示取不到有效值。
21989
+ # @type RefundId: String
21990
+ # @param MidasAppId: 聚鑫分配的支付主MidasAppId
21991
+ # @type MidasAppId: String
21992
+ # @param UsedRefundId: 指定退款订单号。与RefundId的区别是,UsedRefundId不会再做修饰,而RefundId则可能在查询退款处理时做了如添加前缀等的修饰
21993
+ # 注意:此字段可能返回 null,表示取不到有效值。
21994
+ # @type UsedRefundId: String
21995
+ # @param SubRefundList: 子单退款信息列表
21996
+ # 注意:此字段可能返回 null,表示取不到有效值。
21997
+ # @type SubRefundList: Array
21454
21998
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21455
21999
  # @type RequestId: String
21456
22000
 
21457
- attr_accessor :State, :RequestId
22001
+ attr_accessor :State, :ChannelExternalOrderId, :ChannelExternalRefundId, :ChannelOrderId, :TotalRefundAmt, :CurrencyType, :OutTradeNo, :RefundId, :MidasAppId, :UsedRefundId, :SubRefundList, :RequestId
21458
22002
 
21459
- def initialize(state=nil, requestid=nil)
22003
+ def initialize(state=nil, channelexternalorderid=nil, channelexternalrefundid=nil, channelorderid=nil, totalrefundamt=nil, currencytype=nil, outtradeno=nil, refundid=nil, midasappid=nil, usedrefundid=nil, subrefundlist=nil, requestid=nil)
21460
22004
  @State = state
22005
+ @ChannelExternalOrderId = channelexternalorderid
22006
+ @ChannelExternalRefundId = channelexternalrefundid
22007
+ @ChannelOrderId = channelorderid
22008
+ @TotalRefundAmt = totalrefundamt
22009
+ @CurrencyType = currencytype
22010
+ @OutTradeNo = outtradeno
22011
+ @RefundId = refundid
22012
+ @MidasAppId = midasappid
22013
+ @UsedRefundId = usedrefundid
22014
+ @SubRefundList = subrefundlist
21461
22015
  @RequestId = requestid
21462
22016
  end
21463
22017
 
21464
22018
  def deserialize(params)
21465
22019
  @State = params['State']
22020
+ @ChannelExternalOrderId = params['ChannelExternalOrderId']
22021
+ @ChannelExternalRefundId = params['ChannelExternalRefundId']
22022
+ @ChannelOrderId = params['ChannelOrderId']
22023
+ @TotalRefundAmt = params['TotalRefundAmt']
22024
+ @CurrencyType = params['CurrencyType']
22025
+ @OutTradeNo = params['OutTradeNo']
22026
+ @RefundId = params['RefundId']
22027
+ @MidasAppId = params['MidasAppId']
22028
+ @UsedRefundId = params['UsedRefundId']
22029
+ unless params['SubRefundList'].nil?
22030
+ @SubRefundList = []
22031
+ params['SubRefundList'].each do |i|
22032
+ oldsubrefund_tmp = OldSubRefund.new
22033
+ oldsubrefund_tmp.deserialize(i)
22034
+ @SubRefundList << oldsubrefund_tmp
22035
+ end
22036
+ end
21466
22037
  @RequestId = params['RequestId']
21467
22038
  end
21468
22039
  end
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.434
4
+ version: 3.0.435
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-10-24 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common