tencentcloud-sdk-cpdp 3.0.434 → 3.0.436

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: b1edf51300775de606330e75bab5b660fe5b0223
4
- data.tar.gz: 9fd37bbac5d6b9226ab62766b8398d6cf4622132
3
+ metadata.gz: fc7ec81792cc9f32afb76768730f394355a8deae
4
+ data.tar.gz: b652150db5cf6fae085c0ceef1bd611cbde936da
5
5
  SHA512:
6
- metadata.gz: 47c51d4bce8bca604fc24b2ea828447cb227bcc7e3a7b14ab9afc5bc154ebcd0316619512ced4ab6a916f2a01c7778d98ad50afbc0b2949d067e22be52feea8f
7
- data.tar.gz: c25c510c5c7d45da193bba3dbe02bb5bcd7d4f458823a42be25196bc945db72012ba264a6516d881dc99c6b1cfa9bb51629a68931c41d2c1216cab7da8d4e2ec
6
+ metadata.gz: e314412544e0b505cb1f74fb66510770ddc84ba7cc768d214e3a6124d826a9b9df1aad92e5c107dad9249e2ee995421f1624a158ca4e3f6c5085ba387435e768
7
+ data.tar.gz: 657b94b797fc072e726dece06992516553f794a2ea096334b0150b8e929070cab8006cca147a409b506e545df6ddf1c5f2c9752a83fc9bc35e42c2ffe305af0b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.434
1
+ 3.0.436
@@ -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),商户号(签约客户号)
@@ -3713,6 +3829,26 @@ module TencentCloud
3713
3829
  end
3714
3830
  end
3715
3831
 
3832
+ # 渠道透传字段
3833
+ class CloudExternalAttachmentData < TencentCloud::Common::AbstractModel
3834
+ # @param ChannelName: 渠道名
3835
+ # @type ChannelName: String
3836
+ # @param AttachmentData: 渠道透传字段,由各个渠道自行定义
3837
+ # @type AttachmentData: String
3838
+
3839
+ attr_accessor :ChannelName, :AttachmentData
3840
+
3841
+ def initialize(channelname=nil, attachmentdata=nil)
3842
+ @ChannelName = channelname
3843
+ @AttachmentData = attachmentdata
3844
+ end
3845
+
3846
+ def deserialize(params)
3847
+ @ChannelName = params['ChannelName']
3848
+ @AttachmentData = params['AttachmentData']
3849
+ end
3850
+ end
3851
+
3716
3852
  # 第三方渠道数据信息
3717
3853
  class CloudExternalChannelData < TencentCloud::Common::AbstractModel
3718
3854
  # @param ExternalChannelDataName: 第三方渠道数据名。
@@ -3906,10 +4042,19 @@ module TencentCloud
3906
4042
  # @param SceneInfo: 场景扩展信息
3907
4043
  # 注意:此字段可能返回 null,表示取不到有效值。
3908
4044
  # @type SceneInfo: String
4045
+ # @param SubAppId: 子应用ID
4046
+ # 注意:此字段可能返回 null,表示取不到有效值。
4047
+ # @type SubAppId: String
4048
+ # @param PayScene: 支付场景
4049
+ # 注意:此字段可能返回 null,表示取不到有效值。
4050
+ # @type PayScene: String
4051
+ # @param PaymentMethod: 支付方式
4052
+ # 注意:此字段可能返回 null,表示取不到有效值。
4053
+ # @type PaymentMethod: String
3909
4054
 
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
4055
+ 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
4056
 
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)
4057
+ 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
4058
  @AppId = appid
3914
4059
  @OutTradeNo = outtradeno
3915
4060
  @SubOrderList = suborderlist
@@ -3935,6 +4080,9 @@ module TencentCloud
3935
4080
  @ChannelExternalUserInfoList = channelexternaluserinfolist
3936
4081
  @ExternalReturnPromptGroupList = externalreturnpromptgrouplist
3937
4082
  @SceneInfo = sceneinfo
4083
+ @SubAppId = subappid
4084
+ @PayScene = payscene
4085
+ @PaymentMethod = paymentmethod
3938
4086
  end
3939
4087
 
3940
4088
  def deserialize(params)
@@ -3994,6 +4142,9 @@ module TencentCloud
3994
4142
  end
3995
4143
  end
3996
4144
  @SceneInfo = params['SceneInfo']
4145
+ @SubAppId = params['SubAppId']
4146
+ @PayScene = params['PayScene']
4147
+ @PaymentMethod = params['PaymentMethod']
3997
4148
  end
3998
4149
  end
3999
4150
 
@@ -4093,10 +4244,12 @@ module TencentCloud
4093
4244
  # 例如溢价信息、抵扣信息、积分信息、补贴信息
4094
4245
  # 通过该字段可以实现渠道方的优惠抵扣补贴等营销功能。
4095
4246
  # @type AttachmentInfoList: Array
4247
+ # @param ExternalAttachmentDataList: 渠道透传数据列表。
4248
+ # @type ExternalAttachmentDataList: Array
4096
4249
 
4097
- attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Metadata, :Amt, :OriginalAmt, :WxSubMchId, :SettleInfo, :AttachmentInfoList
4250
+ attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Metadata, :Amt, :OriginalAmt, :WxSubMchId, :SettleInfo, :AttachmentInfoList, :ExternalAttachmentDataList
4098
4251
 
4099
- def initialize(subouttradeno=nil, subappid=nil, productname=nil, productdetail=nil, platformincome=nil, submchincome=nil, metadata=nil, amt=nil, originalamt=nil, wxsubmchid=nil, settleinfo=nil, attachmentinfolist=nil)
4252
+ def initialize(subouttradeno=nil, subappid=nil, productname=nil, productdetail=nil, platformincome=nil, submchincome=nil, metadata=nil, amt=nil, originalamt=nil, wxsubmchid=nil, settleinfo=nil, attachmentinfolist=nil, externalattachmentdatalist=nil)
4100
4253
  @SubOutTradeNo = subouttradeno
4101
4254
  @SubAppId = subappid
4102
4255
  @ProductName = productname
@@ -4109,6 +4262,7 @@ module TencentCloud
4109
4262
  @WxSubMchId = wxsubmchid
4110
4263
  @SettleInfo = settleinfo
4111
4264
  @AttachmentInfoList = attachmentinfolist
4265
+ @ExternalAttachmentDataList = externalattachmentdatalist
4112
4266
  end
4113
4267
 
4114
4268
  def deserialize(params)
@@ -4134,6 +4288,14 @@ module TencentCloud
4134
4288
  @AttachmentInfoList << cloudattachmentinfo_tmp
4135
4289
  end
4136
4290
  end
4291
+ unless params['ExternalAttachmentDataList'].nil?
4292
+ @ExternalAttachmentDataList = []
4293
+ params['ExternalAttachmentDataList'].each do |i|
4294
+ cloudexternalattachmentdata_tmp = CloudExternalAttachmentData.new
4295
+ cloudexternalattachmentdata_tmp.deserialize(i)
4296
+ @ExternalAttachmentDataList << cloudexternalattachmentdata_tmp
4297
+ end
4298
+ end
4137
4299
  end
4138
4300
  end
4139
4301
 
@@ -4201,10 +4363,16 @@ module TencentCloud
4201
4363
  # @type ChannelExternalSubOrderId: String
4202
4364
  # @param WxSubMchId: 微信子商户号
4203
4365
  # @type WxSubMchId: String
4366
+ # @param ChannelSubPayOrderId: 米大师侧渠道子订单号
4367
+ # 注意:此字段可能返回 null,表示取不到有效值。
4368
+ # @type ChannelSubPayOrderId: String
4369
+ # @param ProductId: 物品ID
4370
+ # 注意:此字段可能返回 null,表示取不到有效值。
4371
+ # @type ProductId: String
4204
4372
 
4205
- attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Amt, :OriginalAmt, :SettleCheck, :SettleInfo, :Metadata, :AttachmentInfoList, :ChannelExternalSubOrderId, :WxSubMchId
4373
+ attr_accessor :SubOutTradeNo, :SubAppId, :ProductName, :ProductDetail, :PlatformIncome, :SubMchIncome, :Amt, :OriginalAmt, :SettleCheck, :SettleInfo, :Metadata, :AttachmentInfoList, :ChannelExternalSubOrderId, :WxSubMchId, :ChannelSubPayOrderId, :ProductId
4206
4374
 
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)
4375
+ 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
4376
  @SubOutTradeNo = subouttradeno
4209
4377
  @SubAppId = subappid
4210
4378
  @ProductName = productname
@@ -4219,6 +4387,8 @@ module TencentCloud
4219
4387
  @AttachmentInfoList = attachmentinfolist
4220
4388
  @ChannelExternalSubOrderId = channelexternalsuborderid
4221
4389
  @WxSubMchId = wxsubmchid
4390
+ @ChannelSubPayOrderId = channelsubpayorderid
4391
+ @ProductId = productid
4222
4392
  end
4223
4393
 
4224
4394
  def deserialize(params)
@@ -4242,6 +4412,8 @@ module TencentCloud
4242
4412
  end
4243
4413
  @ChannelExternalSubOrderId = params['ChannelExternalSubOrderId']
4244
4414
  @WxSubMchId = params['WxSubMchId']
4415
+ @ChannelSubPayOrderId = params['ChannelSubPayOrderId']
4416
+ @ProductId = params['ProductId']
4245
4417
  end
4246
4418
  end
4247
4419
 
@@ -5395,24 +5567,28 @@ module TencentCloud
5395
5567
 
5396
5568
  # CreateCloudSubMerchant返回参数结构体
5397
5569
  class CreateCloudSubMerchantResponse < TencentCloud::Common::AbstractModel
5398
- # @param SubAppId: 子应用Id。
5570
+ # @param SubAppId: 子应用ID
5399
5571
  # 注意:此字段可能返回 null,表示取不到有效值。
5400
5572
  # @type SubAppId: String
5401
- # @param ChannelSubMerchantId: 渠道子商户Id。
5573
+ # @param ChannelSubMerchantId: 渠道子商户ID
5402
5574
  # 注意:此字段可能返回 null,表示取不到有效值。
5403
5575
  # @type ChannelSubMerchantId: String
5404
- # @param Level: 层级,从0开始。
5576
+ # @param Level: 层级,从0开始
5405
5577
  # 注意:此字段可能返回 null,表示取不到有效值。
5406
5578
  # @type Level: Integer
5579
+ # @param ChannelAppId: 渠道应用ID
5580
+ # 注意:此字段可能返回 null,表示取不到有效值。
5581
+ # @type ChannelAppId: String
5407
5582
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5408
5583
  # @type RequestId: String
5409
5584
 
5410
- attr_accessor :SubAppId, :ChannelSubMerchantId, :Level, :RequestId
5585
+ attr_accessor :SubAppId, :ChannelSubMerchantId, :Level, :ChannelAppId, :RequestId
5411
5586
 
5412
- def initialize(subappid=nil, channelsubmerchantid=nil, level=nil, requestid=nil)
5587
+ def initialize(subappid=nil, channelsubmerchantid=nil, level=nil, channelappid=nil, requestid=nil)
5413
5588
  @SubAppId = subappid
5414
5589
  @ChannelSubMerchantId = channelsubmerchantid
5415
5590
  @Level = level
5591
+ @ChannelAppId = channelappid
5416
5592
  @RequestId = requestid
5417
5593
  end
5418
5594
 
@@ -5420,6 +5596,7 @@ module TencentCloud
5420
5596
  @SubAppId = params['SubAppId']
5421
5597
  @ChannelSubMerchantId = params['ChannelSubMerchantId']
5422
5598
  @Level = params['Level']
5599
+ @ChannelAppId = params['ChannelAppId']
5423
5600
  @RequestId = params['RequestId']
5424
5601
  end
5425
5602
  end
@@ -9912,15 +10089,21 @@ module TencentCloud
9912
10089
  # @type FileMD5: String
9913
10090
  # @param DownloadUrl: 账单文件的真实下载地址
9914
10091
  # @type DownloadUrl: String
10092
+ # @param StateType: 账单类型
10093
+ # TRADE,对账单
10094
+ # FUND,资金账单
10095
+ # 注意:此字段可能返回 null,表示取不到有效值。
10096
+ # @type StateType: String
9915
10097
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9916
10098
  # @type RequestId: String
9917
10099
 
9918
- attr_accessor :FileName, :FileMD5, :DownloadUrl, :RequestId
10100
+ attr_accessor :FileName, :FileMD5, :DownloadUrl, :StateType, :RequestId
9919
10101
 
9920
- def initialize(filename=nil, filemd5=nil, downloadurl=nil, requestid=nil)
10102
+ def initialize(filename=nil, filemd5=nil, downloadurl=nil, statetype=nil, requestid=nil)
9921
10103
  @FileName = filename
9922
10104
  @FileMD5 = filemd5
9923
10105
  @DownloadUrl = downloadurl
10106
+ @StateType = statetype
9924
10107
  @RequestId = requestid
9925
10108
  end
9926
10109
 
@@ -9928,6 +10111,7 @@ module TencentCloud
9928
10111
  @FileName = params['FileName']
9929
10112
  @FileMD5 = params['FileMD5']
9930
10113
  @DownloadUrl = params['DownloadUrl']
10114
+ @StateType = params['StateType']
9931
10115
  @RequestId = params['RequestId']
9932
10116
  end
9933
10117
  end
@@ -11884,6 +12068,97 @@ module TencentCloud
11884
12068
  end
11885
12069
  end
11886
12070
 
12071
+ # 附加项信息
12072
+ class OldAttachmentInfo < TencentCloud::Common::AbstractModel
12073
+ # @param AttachmentAmount: 附加项金额
12074
+ # 注意:此字段可能返回 null,表示取不到有效值。
12075
+ # @type AttachmentAmount: Integer
12076
+ # @param AttachmentType: 附加项类型
12077
+ # 注意:此字段可能返回 null,表示取不到有效值。
12078
+ # @type AttachmentType: String
12079
+ # @param AttachmentName: 附加项名称
12080
+ # 注意:此字段可能返回 null,表示取不到有效值。
12081
+ # @type AttachmentName: String
12082
+ # @param AttachmentCode: 附加项编号
12083
+ # 注意:此字段可能返回 null,表示取不到有效值。
12084
+ # @type AttachmentCode: String
12085
+
12086
+ attr_accessor :AttachmentAmount, :AttachmentType, :AttachmentName, :AttachmentCode
12087
+
12088
+ def initialize(attachmentamount=nil, attachmenttype=nil, attachmentname=nil, attachmentcode=nil)
12089
+ @AttachmentAmount = attachmentamount
12090
+ @AttachmentType = attachmenttype
12091
+ @AttachmentName = attachmentname
12092
+ @AttachmentCode = attachmentcode
12093
+ end
12094
+
12095
+ def deserialize(params)
12096
+ @AttachmentAmount = params['AttachmentAmount']
12097
+ @AttachmentType = params['AttachmentType']
12098
+ @AttachmentName = params['AttachmentName']
12099
+ @AttachmentCode = params['AttachmentCode']
12100
+ end
12101
+ end
12102
+
12103
+ # 渠道方用户信息
12104
+ class OldChannelExternalUserInfo < TencentCloud::Common::AbstractModel
12105
+ # @param ChannelExternalUserType: 渠道方用户类型
12106
+ # 注意:此字段可能返回 null,表示取不到有效值。
12107
+ # @type ChannelExternalUserType: String
12108
+ # @param ChannelExternalUserId: 渠道方用户ID
12109
+ # 注意:此字段可能返回 null,表示取不到有效值。
12110
+ # @type ChannelExternalUserId: String
12111
+
12112
+ attr_accessor :ChannelExternalUserType, :ChannelExternalUserId
12113
+
12114
+ def initialize(channelexternalusertype=nil, channelexternaluserid=nil)
12115
+ @ChannelExternalUserType = channelexternalusertype
12116
+ @ChannelExternalUserId = channelexternaluserid
12117
+ end
12118
+
12119
+ def deserialize(params)
12120
+ @ChannelExternalUserType = params['ChannelExternalUserType']
12121
+ @ChannelExternalUserId = params['ChannelExternalUserId']
12122
+ end
12123
+ end
12124
+
12125
+ # 子单退款信息
12126
+ class OldSubRefund < TencentCloud::Common::AbstractModel
12127
+ # @param ChannelExternalRefundId: 支付机构退款流水号
12128
+ # 注意:此字段可能返回 null,表示取不到有效值。
12129
+ # @type ChannelExternalRefundId: String
12130
+ # @param ChannelExternalOrderId: 支付机构支付订单号
12131
+ # 注意:此字段可能返回 null,表示取不到有效值。
12132
+ # @type ChannelExternalOrderId: String
12133
+ # @param ChannelRefundId: 渠道退款订单号
12134
+ # 注意:此字段可能返回 null,表示取不到有效值。
12135
+ # @type ChannelRefundId: String
12136
+ # @param SubOutTradeNo: 子订单号
12137
+ # 注意:此字段可能返回 null,表示取不到有效值。
12138
+ # @type SubOutTradeNo: String
12139
+ # @param RefundAmt: 子单退款金额
12140
+ # 注意:此字段可能返回 null,表示取不到有效值。
12141
+ # @type RefundAmt: String
12142
+
12143
+ attr_accessor :ChannelExternalRefundId, :ChannelExternalOrderId, :ChannelRefundId, :SubOutTradeNo, :RefundAmt
12144
+
12145
+ def initialize(channelexternalrefundid=nil, channelexternalorderid=nil, channelrefundid=nil, subouttradeno=nil, refundamt=nil)
12146
+ @ChannelExternalRefundId = channelexternalrefundid
12147
+ @ChannelExternalOrderId = channelexternalorderid
12148
+ @ChannelRefundId = channelrefundid
12149
+ @SubOutTradeNo = subouttradeno
12150
+ @RefundAmt = refundamt
12151
+ end
12152
+
12153
+ def deserialize(params)
12154
+ @ChannelExternalRefundId = params['ChannelExternalRefundId']
12155
+ @ChannelExternalOrderId = params['ChannelExternalOrderId']
12156
+ @ChannelRefundId = params['ChannelRefundId']
12157
+ @SubOutTradeNo = params['SubOutTradeNo']
12158
+ @RefundAmt = params['RefundAmt']
12159
+ end
12160
+ end
12161
+
11887
12162
  # 银行复核指引。银行侧返回网银授权指引链接,一般PC网银,手机网银链接
11888
12163
  class OpenBankApprovalGuideInfo < TencentCloud::Common::AbstractModel
11889
12164
  # @param PcGuideUrl: PC网银指引
@@ -12210,6 +12485,118 @@ module TencentCloud
12210
12485
  end
12211
12486
  end
12212
12487
 
12488
+ # 分账收款人信息
12489
+ class OpenBankProfitSharePayeeInfo < TencentCloud::Common::AbstractModel
12490
+ # @param AccountName: 收款人账户名称
12491
+ # @type AccountName: String
12492
+ # @param BankName: 银行名称
12493
+ # 可大体识别银行就行
12494
+ # @type BankName: String
12495
+ # @param Currency: 账户货币
12496
+ # @type Currency: String
12497
+ # @param Nature: 账户类型。
12498
+ # 00:借记卡
12499
+ # 01:存折
12500
+ # 02:信用卡
12501
+ # 03:准贷记卡
12502
+ # 04:预付卡费
12503
+ # 05:境外卡
12504
+ # @type Nature: String
12505
+ # @param Country: 账户地区/受益人所在国家。参考附录“国家代码”表——“代码”字段
12506
+ # @type Country: String
12507
+ # @param DepositCountry: 账户开户所在国家
12508
+ # 参考附录“国家代码”表——“代码”字段
12509
+ # @type DepositCountry: String
12510
+ # @param ExpireDate: 合作有效期
12511
+ # yyyy-MM-dd
12512
+ # @type ExpireDate: String
12513
+ # @param Flag: 0:个人(对私) 1:公司(对公)
12514
+ # @type Flag: String
12515
+ # @param BankAddress: 开户行地址
12516
+ # 账户地区非中国必填,【账户名+开户行地址不可超过114个字符(只允许【英文字母数字空格.,/-()'】),否则可能导致境外银行付款失败】
12517
+ # @type BankAddress: String
12518
+ # @param Address: 客户地址
12519
+ # 非中国内地账户的客户地址不能为空
12520
+ # @type Address: String
12521
+ # @param IsOSA: 账户属性
12522
+ # 账户开户所在国家为中国则必填。
12523
+ # 1-离岸账户 0-在岸账户
12524
+ # @type IsOSA: String
12525
+ # @param Province: 账户省份
12526
+ # 参考附录“地区代码”
12527
+ # @type Province: String
12528
+ # @param City: 账户城市
12529
+ # 参考附录“地区代码
12530
+ # @type City: String
12531
+ # @param LegalIdNo: 证件号/统一信用证代码
12532
+ # 如果country与depositcountry字段都是CHN时,必填
12533
+ # 对公账户填统一信用证代码,对私账户填身份证号码
12534
+ # 离岸账户非必填
12535
+ # @type LegalIdNo: String
12536
+ # @param Telephone: 手机号。
12537
+ # 账户地区是日本则必填
12538
+ # @type Telephone: String
12539
+ # @param BicCode: 参考接口说明。
12540
+ # @type BicCode: String
12541
+ # @param SwiftCode: 参考接口说明。
12542
+ # @type SwiftCode: String
12543
+ # @param Cnaps: 大额支付行号/支付行号
12544
+ # 参考接口说明。境外(大额支付行号)参考附录【大额行号】,境内(支付行号)参考附录【支付行号】
12545
+ # @type Cnaps: String
12546
+ # @param TransferBankNo: 中转行号,参考接口说明。
12547
+ # @type TransferBankNo: String
12548
+ # @param Fid: 关联附件。上传的文件ID
12549
+ # @type Fid: String
12550
+
12551
+ attr_accessor :AccountName, :BankName, :Currency, :Nature, :Country, :DepositCountry, :ExpireDate, :Flag, :BankAddress, :Address, :IsOSA, :Province, :City, :LegalIdNo, :Telephone, :BicCode, :SwiftCode, :Cnaps, :TransferBankNo, :Fid
12552
+
12553
+ 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)
12554
+ @AccountName = accountname
12555
+ @BankName = bankname
12556
+ @Currency = currency
12557
+ @Nature = nature
12558
+ @Country = country
12559
+ @DepositCountry = depositcountry
12560
+ @ExpireDate = expiredate
12561
+ @Flag = flag
12562
+ @BankAddress = bankaddress
12563
+ @Address = address
12564
+ @IsOSA = isosa
12565
+ @Province = province
12566
+ @City = city
12567
+ @LegalIdNo = legalidno
12568
+ @Telephone = telephone
12569
+ @BicCode = biccode
12570
+ @SwiftCode = swiftcode
12571
+ @Cnaps = cnaps
12572
+ @TransferBankNo = transferbankno
12573
+ @Fid = fid
12574
+ end
12575
+
12576
+ def deserialize(params)
12577
+ @AccountName = params['AccountName']
12578
+ @BankName = params['BankName']
12579
+ @Currency = params['Currency']
12580
+ @Nature = params['Nature']
12581
+ @Country = params['Country']
12582
+ @DepositCountry = params['DepositCountry']
12583
+ @ExpireDate = params['ExpireDate']
12584
+ @Flag = params['Flag']
12585
+ @BankAddress = params['BankAddress']
12586
+ @Address = params['Address']
12587
+ @IsOSA = params['IsOSA']
12588
+ @Province = params['Province']
12589
+ @City = params['City']
12590
+ @LegalIdNo = params['LegalIdNo']
12591
+ @Telephone = params['Telephone']
12592
+ @BicCode = params['BicCode']
12593
+ @SwiftCode = params['SwiftCode']
12594
+ @Cnaps = params['Cnaps']
12595
+ @TransferBankNo = params['TransferBankNo']
12596
+ @Fid = params['Fid']
12597
+ end
12598
+ end
12599
+
12213
12600
  # 分账信息结果
12214
12601
  class OpenBankProfitShareRespInfo < TencentCloud::Common::AbstractModel
12215
12602
  # @param RecvId: 接收方企业ID
@@ -19693,6 +20080,127 @@ module TencentCloud
19693
20080
  end
19694
20081
  end
19695
20082
 
20083
+ # QueryOpenBankProfitSharePayee请求参数结构体
20084
+ class QueryOpenBankProfitSharePayeeRequest < TencentCloud::Common::AbstractModel
20085
+ # @param ChannelMerchantId: 渠道商户号。代理商/集团ID
20086
+ # @type ChannelMerchantId: String
20087
+ # @param ChannelSubMerchantId: 渠道子商户号。商户ID
20088
+ # @type ChannelSubMerchantId: String
20089
+ # @param AccountId: 分账方绑定添加返回的AccountId,账户号和账户ID选其一
20090
+ # @type AccountId: String
20091
+ # @param AccountNo: 银行账户号要与绑定收款方时保持一致,账户号AccountNo和账户AccoutId选其一
20092
+ # @type AccountNo: String
20093
+ # @param Currency: 使用账户号时必选
20094
+ # @type Currency: String
20095
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
20096
+ # @type Environment: String
20097
+
20098
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :AccountId, :AccountNo, :Currency, :Environment
20099
+
20100
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, accountid=nil, accountno=nil, currency=nil, environment=nil)
20101
+ @ChannelMerchantId = channelmerchantid
20102
+ @ChannelSubMerchantId = channelsubmerchantid
20103
+ @AccountId = accountid
20104
+ @AccountNo = accountno
20105
+ @Currency = currency
20106
+ @Environment = environment
20107
+ end
20108
+
20109
+ def deserialize(params)
20110
+ @ChannelMerchantId = params['ChannelMerchantId']
20111
+ @ChannelSubMerchantId = params['ChannelSubMerchantId']
20112
+ @AccountId = params['AccountId']
20113
+ @AccountNo = params['AccountNo']
20114
+ @Currency = params['Currency']
20115
+ @Environment = params['Environment']
20116
+ end
20117
+ end
20118
+
20119
+ # QueryOpenBankProfitSharePayee返回参数结构体
20120
+ class QueryOpenBankProfitSharePayeeResponse < TencentCloud::Common::AbstractModel
20121
+ # @param ErrCode: 错误码。
20122
+ # @type ErrCode: String
20123
+ # @param ErrMessage: 错误信息。
20124
+ # @type ErrMessage: String
20125
+ # @param Result: 返回结果
20126
+ # 注意:此字段可能返回 null,表示取不到有效值。
20127
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryOpenBankProfitSharePayeeResult`
20128
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
20129
+ # @type RequestId: String
20130
+
20131
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
20132
+
20133
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
20134
+ @ErrCode = errcode
20135
+ @ErrMessage = errmessage
20136
+ @Result = result
20137
+ @RequestId = requestid
20138
+ end
20139
+
20140
+ def deserialize(params)
20141
+ @ErrCode = params['ErrCode']
20142
+ @ErrMessage = params['ErrMessage']
20143
+ unless params['Result'].nil?
20144
+ @Result = QueryOpenBankProfitSharePayeeResult.new
20145
+ @Result.deserialize(params['Result'])
20146
+ end
20147
+ @RequestId = params['RequestId']
20148
+ end
20149
+ end
20150
+
20151
+ # 绑定分账收款方查询响应
20152
+ class QueryOpenBankProfitSharePayeeResult < TencentCloud::Common::AbstractModel
20153
+ # @param AccountId: 账户ID(受益ID)
20154
+ # @type AccountId: String
20155
+ # @param AccountNo: 账户号。通联国际指客户银行账户号
20156
+ # @type AccountNo: String
20157
+ # @param Currency: 账户货币。参考附录“币种类型”。
20158
+ # @type Currency: String
20159
+ # @param AccountName: 收款人账户名称
20160
+ # @type AccountName: String
20161
+ # @param BankName: 银行名称
20162
+ # 注意:此字段可能返回 null,表示取不到有效值。
20163
+ # @type BankName: String
20164
+ # @param Nature: 账户类型。
20165
+ # 00:借记卡
20166
+ # 01:存折
20167
+ # 02:信用卡
20168
+ # 03:准贷记卡
20169
+ # 04:预付卡费
20170
+ # 05:境外卡
20171
+ # 注意:此字段可能返回 null,表示取不到有效值。
20172
+ # @type Nature: String
20173
+ # @param BindState: 状态
20174
+ # 0-待审核;1-审核通过;2-审核不通过 3-关联实体未审核
20175
+ # @type BindState: String
20176
+ # @param StateExplain: 状态描述
20177
+ # @type StateExplain: String
20178
+
20179
+ attr_accessor :AccountId, :AccountNo, :Currency, :AccountName, :BankName, :Nature, :BindState, :StateExplain
20180
+
20181
+ def initialize(accountid=nil, accountno=nil, currency=nil, accountname=nil, bankname=nil, nature=nil, bindstate=nil, stateexplain=nil)
20182
+ @AccountId = accountid
20183
+ @AccountNo = accountno
20184
+ @Currency = currency
20185
+ @AccountName = accountname
20186
+ @BankName = bankname
20187
+ @Nature = nature
20188
+ @BindState = bindstate
20189
+ @StateExplain = stateexplain
20190
+ end
20191
+
20192
+ def deserialize(params)
20193
+ @AccountId = params['AccountId']
20194
+ @AccountNo = params['AccountNo']
20195
+ @Currency = params['Currency']
20196
+ @AccountName = params['AccountName']
20197
+ @BankName = params['BankName']
20198
+ @Nature = params['Nature']
20199
+ @BindState = params['BindState']
20200
+ @StateExplain = params['StateExplain']
20201
+ end
20202
+ end
20203
+
19696
20204
  # QueryOpenBankRefundOrder请求参数结构体
19697
20205
  class QueryOpenBankRefundOrderRequest < TencentCloud::Common::AbstractModel
19698
20206
  # @param ChannelMerchantId: 渠道商户号。
@@ -19767,14 +20275,17 @@ module TencentCloud
19767
20275
  # @type OutSettleId: String
19768
20276
  # @param ChannelSettleId: 渠道结算流水号,与外部结算流水号二选一
19769
20277
  # @type ChannelSettleId: String
20278
+ # @param Environment: 接入环境。沙箱环境填 sandbox。缺省默认调用生产环境
20279
+ # @type Environment: String
19770
20280
 
19771
- attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :OutSettleId, :ChannelSettleId
20281
+ attr_accessor :ChannelMerchantId, :ChannelSubMerchantId, :OutSettleId, :ChannelSettleId, :Environment
19772
20282
 
19773
- def initialize(channelmerchantid=nil, channelsubmerchantid=nil, outsettleid=nil, channelsettleid=nil)
20283
+ def initialize(channelmerchantid=nil, channelsubmerchantid=nil, outsettleid=nil, channelsettleid=nil, environment=nil)
19774
20284
  @ChannelMerchantId = channelmerchantid
19775
20285
  @ChannelSubMerchantId = channelsubmerchantid
19776
20286
  @OutSettleId = outsettleid
19777
20287
  @ChannelSettleId = channelsettleid
20288
+ @Environment = environment
19778
20289
  end
19779
20290
 
19780
20291
  def deserialize(params)
@@ -19782,6 +20293,7 @@ module TencentCloud
19782
20293
  @ChannelSubMerchantId = params['ChannelSubMerchantId']
19783
20294
  @OutSettleId = params['OutSettleId']
19784
20295
  @ChannelSettleId = params['ChannelSettleId']
20296
+ @Environment = params['Environment']
19785
20297
  end
19786
20298
  end
19787
20299
 
@@ -19849,10 +20361,13 @@ module TencentCloud
19849
20361
  # @param SettleFee: 结算手续费
19850
20362
  # 注意:此字段可能返回 null,表示取不到有效值。
19851
20363
  # @type SettleFee: String
20364
+ # @param Currency: 账户货币。参考附录“币种类型”。
20365
+ # 注意:此字段可能返回 null,表示取不到有效值。
20366
+ # @type Currency: String
19852
20367
 
19853
- attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus, :SettleAmount, :SettleDate, :SettleType, :FailReason, :TimeFinish, :SettleFee
20368
+ attr_accessor :OutSettleId, :ChannelSettleId, :SettleStatus, :SettleAmount, :SettleDate, :SettleType, :FailReason, :TimeFinish, :SettleFee, :Currency
19854
20369
 
19855
- def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil, settleamount=nil, settledate=nil, settletype=nil, failreason=nil, timefinish=nil, settlefee=nil)
20370
+ def initialize(outsettleid=nil, channelsettleid=nil, settlestatus=nil, settleamount=nil, settledate=nil, settletype=nil, failreason=nil, timefinish=nil, settlefee=nil, currency=nil)
19856
20371
  @OutSettleId = outsettleid
19857
20372
  @ChannelSettleId = channelsettleid
19858
20373
  @SettleStatus = settlestatus
@@ -19862,6 +20377,7 @@ module TencentCloud
19862
20377
  @FailReason = failreason
19863
20378
  @TimeFinish = timefinish
19864
20379
  @SettleFee = settlefee
20380
+ @Currency = currency
19865
20381
  end
19866
20382
 
19867
20383
  def deserialize(params)
@@ -19874,6 +20390,7 @@ module TencentCloud
19874
20390
  @FailReason = params['FailReason']
19875
20391
  @TimeFinish = params['TimeFinish']
19876
20392
  @SettleFee = params['SettleFee']
20393
+ @Currency = params['Currency']
19877
20394
  end
19878
20395
  end
19879
20396
 
@@ -20518,10 +21035,19 @@ module TencentCloud
20518
21035
  # @type SubOrderList: Array
20519
21036
  # @param ChannelExternalOrderId: 支付机构订单号
20520
21037
  # @type ChannelExternalOrderId: String
21038
+ # @param SettleCheck: 主单核销状态
21039
+ # 注意:此字段可能返回 null,表示取不到有效值。
21040
+ # @type SettleCheck: Integer
21041
+ # @param ChannelExternalUserInfoList: 渠道方用户信息列表
21042
+ # 注意:此字段可能返回 null,表示取不到有效值。
21043
+ # @type ChannelExternalUserInfoList: Array
21044
+ # @param AttachmentInfoList: 附加项信息列表
21045
+ # 注意:此字段可能返回 null,表示取不到有效值。
21046
+ # @type AttachmentInfoList: Array
20521
21047
 
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
21048
+ 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
21049
 
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)
21050
+ 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
21051
  @MidasAppId = midasappid
20526
21052
  @Amt = amt
20527
21053
  @UserId = userid
@@ -20544,6 +21070,9 @@ module TencentCloud
20544
21070
  @ChannelOrderId = channelorderid
20545
21071
  @SubOrderList = suborderlist
20546
21072
  @ChannelExternalOrderId = channelexternalorderid
21073
+ @SettleCheck = settlecheck
21074
+ @ChannelExternalUserInfoList = channelexternaluserinfolist
21075
+ @AttachmentInfoList = attachmentinfolist
20547
21076
  end
20548
21077
 
20549
21078
  def deserialize(params)
@@ -20576,6 +21105,23 @@ module TencentCloud
20576
21105
  end
20577
21106
  end
20578
21107
  @ChannelExternalOrderId = params['ChannelExternalOrderId']
21108
+ @SettleCheck = params['SettleCheck']
21109
+ unless params['ChannelExternalUserInfoList'].nil?
21110
+ @ChannelExternalUserInfoList = []
21111
+ params['ChannelExternalUserInfoList'].each do |i|
21112
+ oldchannelexternaluserinfo_tmp = OldChannelExternalUserInfo.new
21113
+ oldchannelexternaluserinfo_tmp.deserialize(i)
21114
+ @ChannelExternalUserInfoList << oldchannelexternaluserinfo_tmp
21115
+ end
21116
+ end
21117
+ unless params['AttachmentInfoList'].nil?
21118
+ @AttachmentInfoList = []
21119
+ params['AttachmentInfoList'].each do |i|
21120
+ oldattachmentinfo_tmp = OldAttachmentInfo.new
21121
+ oldattachmentinfo_tmp.deserialize(i)
21122
+ @AttachmentInfoList << oldattachmentinfo_tmp
21123
+ end
21124
+ end
20579
21125
  end
20580
21126
  end
20581
21127
 
@@ -21451,18 +21997,74 @@ module TencentCloud
21451
21997
  class QueryRefundResponse < TencentCloud::Common::AbstractModel
21452
21998
  # @param State: 退款状态码,退款提交成功后返回 1:退款中; 2:退款成功; 3:退款失败。
21453
21999
  # @type State: String
22000
+ # @param ChannelExternalOrderId: 支付机构订单号
22001
+ # 注意:此字段可能返回 null,表示取不到有效值。
22002
+ # @type ChannelExternalOrderId: String
22003
+ # @param ChannelExternalRefundId: 支付机构退款单号
22004
+ # 注意:此字段可能返回 null,表示取不到有效值。
22005
+ # @type ChannelExternalRefundId: String
22006
+ # @param ChannelOrderId: 渠道订单号
22007
+ # 注意:此字段可能返回 null,表示取不到有效值。
22008
+ # @type ChannelOrderId: String
22009
+ # @param TotalRefundAmt: 退款总金额
22010
+ # 注意:此字段可能返回 null,表示取不到有效值。
22011
+ # @type TotalRefundAmt: Integer
22012
+ # @param CurrencyType: 货币类型
22013
+ # 注意:此字段可能返回 null,表示取不到有效值。
22014
+ # @type CurrencyType: String
22015
+ # @param OutTradeNo: 外部订单号
22016
+ # 注意:此字段可能返回 null,表示取不到有效值。
22017
+ # @type OutTradeNo: String
22018
+ # @param RefundId: 退款订单号
22019
+ # 注意:此字段可能返回 null,表示取不到有效值。
22020
+ # @type RefundId: String
22021
+ # @param MidasAppId: 聚鑫分配的支付主MidasAppId
22022
+ # @type MidasAppId: String
22023
+ # @param UsedRefundId: 指定退款订单号。与RefundId的区别是,UsedRefundId不会再做修饰,而RefundId则可能在查询退款处理时做了如添加前缀等的修饰
22024
+ # 注意:此字段可能返回 null,表示取不到有效值。
22025
+ # @type UsedRefundId: String
22026
+ # @param SubRefundList: 子单退款信息列表
22027
+ # 注意:此字段可能返回 null,表示取不到有效值。
22028
+ # @type SubRefundList: Array
21454
22029
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21455
22030
  # @type RequestId: String
21456
22031
 
21457
- attr_accessor :State, :RequestId
22032
+ attr_accessor :State, :ChannelExternalOrderId, :ChannelExternalRefundId, :ChannelOrderId, :TotalRefundAmt, :CurrencyType, :OutTradeNo, :RefundId, :MidasAppId, :UsedRefundId, :SubRefundList, :RequestId
21458
22033
 
21459
- def initialize(state=nil, requestid=nil)
22034
+ 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
22035
  @State = state
22036
+ @ChannelExternalOrderId = channelexternalorderid
22037
+ @ChannelExternalRefundId = channelexternalrefundid
22038
+ @ChannelOrderId = channelorderid
22039
+ @TotalRefundAmt = totalrefundamt
22040
+ @CurrencyType = currencytype
22041
+ @OutTradeNo = outtradeno
22042
+ @RefundId = refundid
22043
+ @MidasAppId = midasappid
22044
+ @UsedRefundId = usedrefundid
22045
+ @SubRefundList = subrefundlist
21461
22046
  @RequestId = requestid
21462
22047
  end
21463
22048
 
21464
22049
  def deserialize(params)
21465
22050
  @State = params['State']
22051
+ @ChannelExternalOrderId = params['ChannelExternalOrderId']
22052
+ @ChannelExternalRefundId = params['ChannelExternalRefundId']
22053
+ @ChannelOrderId = params['ChannelOrderId']
22054
+ @TotalRefundAmt = params['TotalRefundAmt']
22055
+ @CurrencyType = params['CurrencyType']
22056
+ @OutTradeNo = params['OutTradeNo']
22057
+ @RefundId = params['RefundId']
22058
+ @MidasAppId = params['MidasAppId']
22059
+ @UsedRefundId = params['UsedRefundId']
22060
+ unless params['SubRefundList'].nil?
22061
+ @SubRefundList = []
22062
+ params['SubRefundList'].each do |i|
22063
+ oldsubrefund_tmp = OldSubRefund.new
22064
+ oldsubrefund_tmp.deserialize(i)
22065
+ @SubRefundList << oldsubrefund_tmp
22066
+ end
22067
+ end
21466
22068
  @RequestId = params['RequestId']
21467
22069
  end
21468
22070
  end
@@ -25546,10 +26148,12 @@ module TencentCloud
25546
26148
  # @type OrderReceiveMode: String
25547
26149
  # @param ExternalUserInfoList: 渠道方用户信息列表
25548
26150
  # @type ExternalUserInfoList: Array
26151
+ # @param ExternalAttachmentDataList: 渠道透传数据列表
26152
+ # @type ExternalAttachmentDataList: Array
25549
26153
 
25550
- attr_accessor :MidasAppId, :UserId, :OutTradeNo, :CurrencyType, :ProductId, :ProductName, :ProductDetail, :OriginalAmt, :TotalAmt, :MidasEnvironment, :SubAppId, :RealChannel, :Channel, :Metadata, :Quantity, :CallbackUrl, :CancelUrl, :WxAppId, :WxSubAppId, :WxOpenId, :WxSubOpenId, :TotalPlatformIncome, :TotalMchIncome, :SubOrderList, :SettleInfo, :AttachmentInfoList, :PaymentNotifyUrl, :PayScene, :LocaleCode, :RegionCode, :UserClientIp, :ChannelOrderIdMode, :GlobalPayTimeInfo, :ChannelAppIdPolicy, :StoreInfo, :ClientInfo, :ExternalPromptGroupList, :OrderReceiveMode, :ExternalUserInfoList
26154
+ attr_accessor :MidasAppId, :UserId, :OutTradeNo, :CurrencyType, :ProductId, :ProductName, :ProductDetail, :OriginalAmt, :TotalAmt, :MidasEnvironment, :SubAppId, :RealChannel, :Channel, :Metadata, :Quantity, :CallbackUrl, :CancelUrl, :WxAppId, :WxSubAppId, :WxOpenId, :WxSubOpenId, :TotalPlatformIncome, :TotalMchIncome, :SubOrderList, :SettleInfo, :AttachmentInfoList, :PaymentNotifyUrl, :PayScene, :LocaleCode, :RegionCode, :UserClientIp, :ChannelOrderIdMode, :GlobalPayTimeInfo, :ChannelAppIdPolicy, :StoreInfo, :ClientInfo, :ExternalPromptGroupList, :OrderReceiveMode, :ExternalUserInfoList, :ExternalAttachmentDataList
25551
26155
 
25552
- def initialize(midasappid=nil, userid=nil, outtradeno=nil, currencytype=nil, productid=nil, productname=nil, productdetail=nil, originalamt=nil, totalamt=nil, midasenvironment=nil, subappid=nil, realchannel=nil, channel=nil, metadata=nil, quantity=nil, callbackurl=nil, cancelurl=nil, wxappid=nil, wxsubappid=nil, wxopenid=nil, wxsubopenid=nil, totalplatformincome=nil, totalmchincome=nil, suborderlist=nil, settleinfo=nil, attachmentinfolist=nil, paymentnotifyurl=nil, payscene=nil, localecode=nil, regioncode=nil, userclientip=nil, channelorderidmode=nil, globalpaytimeinfo=nil, channelappidpolicy=nil, storeinfo=nil, clientinfo=nil, externalpromptgrouplist=nil, orderreceivemode=nil, externaluserinfolist=nil)
26156
+ def initialize(midasappid=nil, userid=nil, outtradeno=nil, currencytype=nil, productid=nil, productname=nil, productdetail=nil, originalamt=nil, totalamt=nil, midasenvironment=nil, subappid=nil, realchannel=nil, channel=nil, metadata=nil, quantity=nil, callbackurl=nil, cancelurl=nil, wxappid=nil, wxsubappid=nil, wxopenid=nil, wxsubopenid=nil, totalplatformincome=nil, totalmchincome=nil, suborderlist=nil, settleinfo=nil, attachmentinfolist=nil, paymentnotifyurl=nil, payscene=nil, localecode=nil, regioncode=nil, userclientip=nil, channelorderidmode=nil, globalpaytimeinfo=nil, channelappidpolicy=nil, storeinfo=nil, clientinfo=nil, externalpromptgrouplist=nil, orderreceivemode=nil, externaluserinfolist=nil, externalattachmentdatalist=nil)
25553
26157
  @MidasAppId = midasappid
25554
26158
  @UserId = userid
25555
26159
  @OutTradeNo = outtradeno
@@ -25589,6 +26193,7 @@ module TencentCloud
25589
26193
  @ExternalPromptGroupList = externalpromptgrouplist
25590
26194
  @OrderReceiveMode = orderreceivemode
25591
26195
  @ExternalUserInfoList = externaluserinfolist
26196
+ @ExternalAttachmentDataList = externalattachmentdatalist
25592
26197
  end
25593
26198
 
25594
26199
  def deserialize(params)
@@ -25671,6 +26276,14 @@ module TencentCloud
25671
26276
  @ExternalUserInfoList << cloudexternaluserinfo_tmp
25672
26277
  end
25673
26278
  end
26279
+ unless params['ExternalAttachmentDataList'].nil?
26280
+ @ExternalAttachmentDataList = []
26281
+ params['ExternalAttachmentDataList'].each do |i|
26282
+ cloudexternalattachmentdata_tmp = CloudExternalAttachmentData.new
26283
+ cloudexternalattachmentdata_tmp.deserialize(i)
26284
+ @ExternalAttachmentDataList << cloudexternalattachmentdata_tmp
26285
+ end
26286
+ end
25674
26287
  end
25675
26288
  end
25676
26289
 
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.436
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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common