tencentcloud-sdk-cpdp 3.0.435 → 3.0.436
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190820/models.rb +46 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc7ec81792cc9f32afb76768730f394355a8deae
|
4
|
+
data.tar.gz: b652150db5cf6fae085c0ceef1bd611cbde936da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e314412544e0b505cb1f74fb66510770ddc84ba7cc768d214e3a6124d826a9b9df1aad92e5c107dad9249e2ee995421f1624a158ca4e3f6c5085ba387435e768
|
7
|
+
data.tar.gz: 657b94b797fc072e726dece06992516553f794a2ea096334b0150b8e929070cab8006cca147a409b506e545df6ddf1c5f2c9752a83fc9bc35e42c2ffe305af0b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.436
|
data/lib/v20190820/models.rb
CHANGED
@@ -3829,6 +3829,26 @@ module TencentCloud
|
|
3829
3829
|
end
|
3830
3830
|
end
|
3831
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
|
+
|
3832
3852
|
# 第三方渠道数据信息
|
3833
3853
|
class CloudExternalChannelData < TencentCloud::Common::AbstractModel
|
3834
3854
|
# @param ExternalChannelDataName: 第三方渠道数据名。
|
@@ -4224,10 +4244,12 @@ module TencentCloud
|
|
4224
4244
|
# 例如溢价信息、抵扣信息、积分信息、补贴信息
|
4225
4245
|
# 通过该字段可以实现渠道方的优惠抵扣补贴等营销功能。
|
4226
4246
|
# @type AttachmentInfoList: Array
|
4247
|
+
# @param ExternalAttachmentDataList: 渠道透传数据列表。
|
4248
|
+
# @type ExternalAttachmentDataList: Array
|
4227
4249
|
|
4228
|
-
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
|
4229
4251
|
|
4230
|
-
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)
|
4231
4253
|
@SubOutTradeNo = subouttradeno
|
4232
4254
|
@SubAppId = subappid
|
4233
4255
|
@ProductName = productname
|
@@ -4240,6 +4262,7 @@ module TencentCloud
|
|
4240
4262
|
@WxSubMchId = wxsubmchid
|
4241
4263
|
@SettleInfo = settleinfo
|
4242
4264
|
@AttachmentInfoList = attachmentinfolist
|
4265
|
+
@ExternalAttachmentDataList = externalattachmentdatalist
|
4243
4266
|
end
|
4244
4267
|
|
4245
4268
|
def deserialize(params)
|
@@ -4265,6 +4288,14 @@ module TencentCloud
|
|
4265
4288
|
@AttachmentInfoList << cloudattachmentinfo_tmp
|
4266
4289
|
end
|
4267
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
|
4268
4299
|
end
|
4269
4300
|
end
|
4270
4301
|
|
@@ -26117,10 +26148,12 @@ module TencentCloud
|
|
26117
26148
|
# @type OrderReceiveMode: String
|
26118
26149
|
# @param ExternalUserInfoList: 渠道方用户信息列表
|
26119
26150
|
# @type ExternalUserInfoList: Array
|
26151
|
+
# @param ExternalAttachmentDataList: 渠道透传数据列表
|
26152
|
+
# @type ExternalAttachmentDataList: Array
|
26120
26153
|
|
26121
|
-
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
|
26122
26155
|
|
26123
|
-
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)
|
26124
26157
|
@MidasAppId = midasappid
|
26125
26158
|
@UserId = userid
|
26126
26159
|
@OutTradeNo = outtradeno
|
@@ -26160,6 +26193,7 @@ module TencentCloud
|
|
26160
26193
|
@ExternalPromptGroupList = externalpromptgrouplist
|
26161
26194
|
@OrderReceiveMode = orderreceivemode
|
26162
26195
|
@ExternalUserInfoList = externaluserinfolist
|
26196
|
+
@ExternalAttachmentDataList = externalattachmentdatalist
|
26163
26197
|
end
|
26164
26198
|
|
26165
26199
|
def deserialize(params)
|
@@ -26242,6 +26276,14 @@ module TencentCloud
|
|
26242
26276
|
@ExternalUserInfoList << cloudexternaluserinfo_tmp
|
26243
26277
|
end
|
26244
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
|
26245
26287
|
end
|
26246
26288
|
end
|
26247
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.
|
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-
|
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
|