tencentcloud-sdk-billing 3.0.640 → 3.0.642
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180709/models.rb +102 -8
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bff0159c0324e170a71a50dbf298b25e6730371
|
4
|
+
data.tar.gz: 9138bf62bf1bad9b0624286666bcf3221d708200
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efb3b466f0953ab2b1c07c54448fc3b1c4b8e1d35fd65e98e86e3a7a75f32a1c2fae6c5172e3c0d108c2b61d83d3e4817b26c76425620c4b78ccbe922872f803
|
7
|
+
data.tar.gz: d58c28a54e700a6be70c3d0d2b856bfbb869c9cfc8aad7f4a3de2e9fb71e67a27c2cb98874623db909895bd091132f6b196c850b2f4809f8fa410ff0fa05c3e8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.642
|
data/lib/v20180709/models.rb
CHANGED
@@ -145,13 +145,22 @@ module TencentCloud
|
|
145
145
|
# @type RegionId: String
|
146
146
|
# @param ProjectId: 项目ID
|
147
147
|
# @type ProjectId: Integer
|
148
|
-
# @param PriceInfo:
|
148
|
+
# @param PriceInfo: 价格属性:该组件除单价、时长外的其他影响折扣定价的属性信息
|
149
149
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
150
150
|
# @type PriceInfo: Array
|
151
|
+
# @param AssociatedOrder: 关联交易单据ID:和本笔交易关联单据 ID,如,冲销订单,记录原订单、重结订单,退费单记录对应的原购买订单号
|
152
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
153
|
+
# @type AssociatedOrder: :class:`Tencentcloud::Billing.v20180709.models.BillDetailAssociatedOrder`
|
154
|
+
# @param Formula: 计算说明:特殊交易类型计费结算的详细计算说明,如退费及变配
|
155
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
# @type Formula: String
|
157
|
+
# @param FormulaUrl: 计费规则:各产品详细的计费规则官网说明链接
|
158
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
159
|
+
# @type FormulaUrl: String
|
151
160
|
|
152
|
-
attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :PayerUin, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo
|
161
|
+
attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :PayTime, :FeeBeginTime, :FeeEndTime, :ComponentSet, :PayerUin, :OwnerUin, :OperateUin, :Tags, :BusinessCode, :ProductCode, :ActionType, :RegionId, :ProjectId, :PriceInfo, :AssociatedOrder, :Formula, :FormulaUrl
|
153
162
|
|
154
|
-
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, payeruin=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil)
|
163
|
+
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, componentset=nil, payeruin=nil, owneruin=nil, operateuin=nil, tags=nil, businesscode=nil, productcode=nil, actiontype=nil, regionid=nil, projectid=nil, priceinfo=nil, associatedorder=nil, formula=nil, formulaurl=nil)
|
155
164
|
@BusinessCodeName = businesscodename
|
156
165
|
@ProductCodeName = productcodename
|
157
166
|
@PayModeName = paymodename
|
@@ -177,6 +186,9 @@ module TencentCloud
|
|
177
186
|
@RegionId = regionid
|
178
187
|
@ProjectId = projectid
|
179
188
|
@PriceInfo = priceinfo
|
189
|
+
@AssociatedOrder = associatedorder
|
190
|
+
@Formula = formula
|
191
|
+
@FormulaUrl = formulaurl
|
180
192
|
end
|
181
193
|
|
182
194
|
def deserialize(params)
|
@@ -219,6 +231,54 @@ module TencentCloud
|
|
219
231
|
@RegionId = params['RegionId']
|
220
232
|
@ProjectId = params['ProjectId']
|
221
233
|
@PriceInfo = params['PriceInfo']
|
234
|
+
unless params['AssociatedOrder'].nil?
|
235
|
+
@AssociatedOrder = BillDetailAssociatedOrder.new
|
236
|
+
@AssociatedOrder.deserialize(params['AssociatedOrder'])
|
237
|
+
end
|
238
|
+
@Formula = params['Formula']
|
239
|
+
@FormulaUrl = params['FormulaUrl']
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# 明细账单关联单据信息
|
244
|
+
class BillDetailAssociatedOrder < TencentCloud::Common::AbstractModel
|
245
|
+
# @param PrepayPurchase: 新购订单
|
246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
247
|
+
# @type PrepayPurchase: String
|
248
|
+
# @param PrepayRenew: 续费订单
|
249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
250
|
+
# @type PrepayRenew: String
|
251
|
+
# @param PrepayModifyUp: 升配订单
|
252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
253
|
+
# @type PrepayModifyUp: String
|
254
|
+
# @param ReverseOrder: 冲销订单
|
255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
256
|
+
# @type ReverseOrder: String
|
257
|
+
# @param NewOrder: 优惠调整后订单
|
258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
259
|
+
# @type NewOrder: String
|
260
|
+
# @param Original: 优惠调整前订单
|
261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
262
|
+
# @type Original: String
|
263
|
+
|
264
|
+
attr_accessor :PrepayPurchase, :PrepayRenew, :PrepayModifyUp, :ReverseOrder, :NewOrder, :Original
|
265
|
+
|
266
|
+
def initialize(prepaypurchase=nil, prepayrenew=nil, prepaymodifyup=nil, reverseorder=nil, neworder=nil, original=nil)
|
267
|
+
@PrepayPurchase = prepaypurchase
|
268
|
+
@PrepayRenew = prepayrenew
|
269
|
+
@PrepayModifyUp = prepaymodifyup
|
270
|
+
@ReverseOrder = reverseorder
|
271
|
+
@NewOrder = neworder
|
272
|
+
@Original = original
|
273
|
+
end
|
274
|
+
|
275
|
+
def deserialize(params)
|
276
|
+
@PrepayPurchase = params['PrepayPurchase']
|
277
|
+
@PrepayRenew = params['PrepayRenew']
|
278
|
+
@PrepayModifyUp = params['PrepayModifyUp']
|
279
|
+
@ReverseOrder = params['ReverseOrder']
|
280
|
+
@NewOrder = params['NewOrder']
|
281
|
+
@Original = params['Original']
|
222
282
|
end
|
223
283
|
end
|
224
284
|
|
@@ -295,15 +355,18 @@ module TencentCloud
|
|
295
355
|
# @param BlendedDiscount: 混合折扣率:综合各类折扣抵扣信息后的最终折扣率,混合折扣率 = 优惠后总价 / 组件原价
|
296
356
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
297
357
|
# @type BlendedDiscount: String
|
358
|
+
# @param ComponentConfig: 配置描述:资源配置规格信息
|
359
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
360
|
+
# @type ComponentConfig: Array
|
298
361
|
|
299
|
-
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :RealTotalMeasure, :DeductedMeasure, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount
|
362
|
+
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :RealTotalMeasure, :DeductedMeasure, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount, :ComponentConfig
|
300
363
|
extend Gem::Deprecate
|
301
364
|
deprecate :SpecifiedPrice, :none, 2023, 8
|
302
365
|
deprecate :SpecifiedPrice=, :none, 2023, 8
|
303
366
|
deprecate :SPDeduction, :none, 2023, 8
|
304
367
|
deprecate :SPDeduction=, :none, 2023, 8
|
305
368
|
|
306
|
-
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, realtotalmeasure=nil, deductedmeasure=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil)
|
369
|
+
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, realtotalmeasure=nil, deductedmeasure=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil, componentconfig=nil)
|
307
370
|
@ComponentCodeName = componentcodename
|
308
371
|
@ItemCodeName = itemcodename
|
309
372
|
@SinglePrice = singleprice
|
@@ -333,6 +396,7 @@ module TencentCloud
|
|
333
396
|
@SPDeduction = spdeduction
|
334
397
|
@OriginalCostWithSP = originalcostwithsp
|
335
398
|
@BlendedDiscount = blendeddiscount
|
399
|
+
@ComponentConfig = componentconfig
|
336
400
|
end
|
337
401
|
|
338
402
|
def deserialize(params)
|
@@ -365,6 +429,36 @@ module TencentCloud
|
|
365
429
|
@SPDeduction = params['SPDeduction']
|
366
430
|
@OriginalCostWithSP = params['OriginalCostWithSP']
|
367
431
|
@BlendedDiscount = params['BlendedDiscount']
|
432
|
+
unless params['ComponentConfig'].nil?
|
433
|
+
@ComponentConfig = []
|
434
|
+
params['ComponentConfig'].each do |i|
|
435
|
+
billdetailcomponentconfig_tmp = BillDetailComponentConfig.new
|
436
|
+
billdetailcomponentconfig_tmp.deserialize(i)
|
437
|
+
@ComponentConfig << billdetailcomponentconfig_tmp
|
438
|
+
end
|
439
|
+
end
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
# 明细账单配置描述结构
|
444
|
+
class BillDetailComponentConfig < TencentCloud::Common::AbstractModel
|
445
|
+
# @param Name: 配置描述名称
|
446
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
447
|
+
# @type Name: String
|
448
|
+
# @param Value: 配置描述值
|
449
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
450
|
+
# @type Value: String
|
451
|
+
|
452
|
+
attr_accessor :Name, :Value
|
453
|
+
|
454
|
+
def initialize(name=nil, value=nil)
|
455
|
+
@Name = name
|
456
|
+
@Value = value
|
457
|
+
end
|
458
|
+
|
459
|
+
def deserialize(params)
|
460
|
+
@Name = params['Name']
|
461
|
+
@Value = params['Value']
|
368
462
|
end
|
369
463
|
end
|
370
464
|
|
@@ -1695,16 +1789,16 @@ module TencentCloud
|
|
1695
1789
|
# @type PeriodType: String
|
1696
1790
|
# @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
1697
1791
|
# @type Month: String
|
1698
|
-
# @param BeginTime: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime
|
1792
|
+
# @param BeginTime: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
1699
1793
|
# @type BeginTime: String
|
1700
|
-
# @param EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime
|
1794
|
+
# @param EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为相同月份,不支持跨月查询,查询结果是整月数据。不能早于开通账单2.0的月份,最多可拉取18个月内的数据。
|
1701
1795
|
# @type EndTime: String
|
1702
1796
|
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
1703
1797
|
# 1-表示需要, 0-表示不需要
|
1704
1798
|
# @type NeedRecordNum: Integer
|
1705
1799
|
# @param ProductCode: 已废弃参数,未开放
|
1706
1800
|
# @type ProductCode: String
|
1707
|
-
# @param PayMode: 付费模式 prePay/postPay
|
1801
|
+
# @param PayMode: 付费模式 prePay(表示包年包月)/postPay(表示按时按量)
|
1708
1802
|
# @type PayMode: String
|
1709
1803
|
# @param ResourceId: 查询指定资源信息
|
1710
1804
|
# @type ResourceId: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-billing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.642
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-billing.rb
|
37
|
-
- lib/v20180709/models.rb
|
38
36
|
- lib/v20180709/client.rb
|
37
|
+
- lib/v20180709/models.rb
|
38
|
+
- lib/tencentcloud-sdk-billing.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|