tencentcloud-sdk-billing 3.0.575 → 3.0.577
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/client.rb +1 -1
- data/lib/v20180709/models.rb +221 -213
- 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: beb14bad0bc5c0a7aaa38a649187570c397019ca
|
4
|
+
data.tar.gz: 73031a7ed5466e77e376088d71cc7769e13b8e25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7eea55ee4729114e2da9d87bfc9c1d91c340eee1fd8d93e56d4d696a277c49be8f5a02ababe459069bf8680f6603c7544fe64f694511168feb453fa875506a8
|
7
|
+
data.tar.gz: b272420a6d70c85af82eed0ac655953eb8727ed88245645ff8b38c9ee2b1e88429ecc63b68972ee211393b59c7f212548fdd0545ea9fa6aabc7d8f99cfb455f0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.577
|
data/lib/v20180709/client.rb
CHANGED
@@ -128,7 +128,7 @@ module TencentCloud
|
|
128
128
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
129
|
end
|
130
130
|
|
131
|
-
#
|
131
|
+
# 获取按计费模式汇总费用分布
|
132
132
|
|
133
133
|
# @param request: Request instance for DescribeBillSummaryByPayMode.
|
134
134
|
# @type request: :class:`Tencentcloud::billing::V20180709::DescribeBillSummaryByPayModeRequest`
|
data/lib/v20180709/models.rb
CHANGED
@@ -19,54 +19,54 @@ module TencentCloud
|
|
19
19
|
module V20180709
|
20
20
|
# 按交易类型汇总消费详情
|
21
21
|
class ActionSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
22
|
-
# @param ActionType:
|
22
|
+
# @param ActionType: 交易类型编码
|
23
23
|
# @type ActionType: String
|
24
|
-
# @param ActionTypeName:
|
24
|
+
# @param ActionTypeName: 交易类型:如包年包月新购、包年包月续费、按量计费扣费等类型
|
25
25
|
# @type ActionTypeName: String
|
26
|
-
# @param RealTotalCost: 实际花费
|
27
|
-
# @type RealTotalCost: String
|
28
26
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
29
27
|
# @type RealTotalCostRatio: String
|
30
|
-
# @param
|
28
|
+
# @param RealTotalCost: 优惠后总价
|
29
|
+
# @type RealTotalCost: String
|
30
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
31
31
|
# @type CashPayAmount: String
|
32
|
-
# @param IncentivePayAmount:
|
32
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
33
33
|
# @type IncentivePayAmount: String
|
34
|
-
# @param VoucherPayAmount:
|
34
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
35
35
|
# @type VoucherPayAmount: String
|
36
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
37
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
38
|
+
# @type TransferPayAmount: String
|
36
39
|
# @param BillMonth: 账单月份,格式2019-08
|
37
40
|
# @type BillMonth: String
|
38
41
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
39
42
|
# @type TotalCost: String
|
40
|
-
# @param TransferPayAmount: 分成金金额
|
41
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
42
|
-
# @type TransferPayAmount: String
|
43
43
|
|
44
|
-
attr_accessor :ActionType, :ActionTypeName, :
|
44
|
+
attr_accessor :ActionType, :ActionTypeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost
|
45
45
|
|
46
|
-
def initialize(actiontype=nil, actiontypename=nil,
|
46
|
+
def initialize(actiontype=nil, actiontypename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil)
|
47
47
|
@ActionType = actiontype
|
48
48
|
@ActionTypeName = actiontypename
|
49
|
-
@RealTotalCost = realtotalcost
|
50
49
|
@RealTotalCostRatio = realtotalcostratio
|
50
|
+
@RealTotalCost = realtotalcost
|
51
51
|
@CashPayAmount = cashpayamount
|
52
52
|
@IncentivePayAmount = incentivepayamount
|
53
53
|
@VoucherPayAmount = voucherpayamount
|
54
|
+
@TransferPayAmount = transferpayamount
|
54
55
|
@BillMonth = billmonth
|
55
56
|
@TotalCost = totalcost
|
56
|
-
@TransferPayAmount = transferpayamount
|
57
57
|
end
|
58
58
|
|
59
59
|
def deserialize(params)
|
60
60
|
@ActionType = params['ActionType']
|
61
61
|
@ActionTypeName = params['ActionTypeName']
|
62
|
-
@RealTotalCost = params['RealTotalCost']
|
63
62
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
63
|
+
@RealTotalCost = params['RealTotalCost']
|
64
64
|
@CashPayAmount = params['CashPayAmount']
|
65
65
|
@IncentivePayAmount = params['IncentivePayAmount']
|
66
66
|
@VoucherPayAmount = params['VoucherPayAmount']
|
67
|
+
@TransferPayAmount = params['TransferPayAmount']
|
67
68
|
@BillMonth = params['BillMonth']
|
68
69
|
@TotalCost = params['TotalCost']
|
69
|
-
@TransferPayAmount = params['TransferPayAmount']
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
@@ -92,58 +92,58 @@ module TencentCloud
|
|
92
92
|
|
93
93
|
# 账单明细数据对象
|
94
94
|
class BillDetail < TencentCloud::Common::AbstractModel
|
95
|
-
# @param BusinessCodeName:
|
95
|
+
# @param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
96
96
|
# @type BusinessCodeName: String
|
97
|
-
# @param ProductCodeName:
|
97
|
+
# @param ProductCodeName: 子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1
|
98
98
|
# @type ProductCodeName: String
|
99
|
-
# @param PayModeName:
|
99
|
+
# @param PayModeName: 计费模式:资源的计费模式,区分为包年包月和按量计费
|
100
100
|
# @type PayModeName: String
|
101
|
-
# @param ProjectName:
|
101
|
+
# @param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
102
102
|
# @type ProjectName: String
|
103
|
-
# @param RegionName:
|
103
|
+
# @param RegionName: 地域:资源所属地域,如华南地区(广州)
|
104
104
|
# @type RegionName: String
|
105
105
|
# @param ZoneName: 可用区:资源所属可用区,如广州三区
|
106
106
|
# @type ZoneName: String
|
107
|
-
# @param ResourceId:
|
107
|
+
# @param ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
108
108
|
# @type ResourceId: String
|
109
|
-
# @param ResourceName:
|
109
|
+
# @param ResourceName: 资源别名:用户在控制台为资源设置的名称,如果未设置,则默认为空
|
110
110
|
# @type ResourceName: String
|
111
|
-
# @param ActionTypeName:
|
111
|
+
# @param ActionTypeName: 交易类型,如包年包月新购、包年包月续费、按量计费扣费等类型
|
112
112
|
# @type ActionTypeName: String
|
113
|
-
# @param OrderId: 订单ID
|
113
|
+
# @param OrderId: 订单ID:包年包月计费模式下订购的订单号
|
114
114
|
# @type OrderId: String
|
115
|
-
# @param BillId: 交易ID
|
115
|
+
# @param BillId: 交易ID:结算扣费单号
|
116
116
|
# @type BillId: String
|
117
|
-
# @param PayTime:
|
117
|
+
# @param PayTime: 扣费时间:结算扣费时间
|
118
118
|
# @type PayTime: String
|
119
|
-
# @param FeeBeginTime:
|
119
|
+
# @param FeeBeginTime: 开始使用时间:产品服务开始使用时间
|
120
120
|
# @type FeeBeginTime: String
|
121
|
-
# @param FeeEndTime:
|
121
|
+
# @param FeeEndTime: 结束使用时间:产品服务结束使用时间
|
122
122
|
# @type FeeEndTime: String
|
123
123
|
# @param ComponentSet: 组件列表
|
124
124
|
# @type ComponentSet: Array
|
125
|
-
# @param PayerUin: 支付者UIN
|
125
|
+
# @param PayerUin: 支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识
|
126
126
|
# @type PayerUin: String
|
127
|
-
# @param OwnerUin: 使用者UIN
|
127
|
+
# @param OwnerUin: 使用者UIN:实际使用资源的账号 ID
|
128
128
|
# @type OwnerUin: String
|
129
|
-
# @param OperateUin: 操作者UIN
|
129
|
+
# @param OperateUin: 操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )
|
130
130
|
# @type OperateUin: String
|
131
|
-
# @param Tags:
|
131
|
+
# @param Tags: 标签信息
|
132
132
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
133
133
|
# @type Tags: Array
|
134
|
-
# @param BusinessCode:
|
134
|
+
# @param BusinessCode: 产品编码
|
135
135
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
136
136
|
# @type BusinessCode: String
|
137
|
-
# @param ProductCode:
|
137
|
+
# @param ProductCode: 子产品编码
|
138
138
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
139
139
|
# @type ProductCode: String
|
140
|
-
# @param ActionType:
|
140
|
+
# @param ActionType: 交易类型编码
|
141
141
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
142
142
|
# @type ActionType: String
|
143
|
-
# @param RegionId:
|
143
|
+
# @param RegionId: 地域ID
|
144
144
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
145
145
|
# @type RegionId: String
|
146
|
-
# @param ProjectId: 项目ID
|
146
|
+
# @param ProjectId: 项目ID
|
147
147
|
# @type ProjectId: Integer
|
148
148
|
# @param PriceInfo: 价格属性
|
149
149
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -224,72 +224,75 @@ module TencentCloud
|
|
224
224
|
|
225
225
|
# 账单明细组件对象
|
226
226
|
class BillDetailComponent < TencentCloud::Common::AbstractModel
|
227
|
-
# @param ComponentCodeName:
|
227
|
+
# @param ComponentCodeName: 组件类型:用户购买的产品或服务对应的组件大类,例如:云服务器 CVM 的组件:CPU、内存等
|
228
228
|
# @type ComponentCodeName: String
|
229
|
-
# @param ItemCodeName:
|
229
|
+
# @param ItemCodeName: 组件名称:用户购买的产品或服务,所包含的具体组件
|
230
230
|
# @type ItemCodeName: String
|
231
|
-
# @param SinglePrice:
|
231
|
+
# @param SinglePrice: 组件刊例价:组件的官网原始单价(如果客户享受一口价/合同价则默认不展示)
|
232
232
|
# @type SinglePrice: String
|
233
|
-
# @param SpecifiedPrice:
|
233
|
+
# @param SpecifiedPrice: 组件指定价(已废弃)
|
234
234
|
# @type SpecifiedPrice: String
|
235
|
-
# @param PriceUnit:
|
235
|
+
# @param PriceUnit: 组件价格单位:组件价格的单位,单位构成:元/用量单位/时长单位
|
236
236
|
# @type PriceUnit: String
|
237
|
-
# @param UsedAmount:
|
237
|
+
# @param UsedAmount: 组件用量:该组件实际结算用量,组件用量 = 组件原始用量 - 抵扣用量(含资源包
|
238
238
|
# @type UsedAmount: String
|
239
|
-
# @param UsedAmountUnit:
|
239
|
+
# @param UsedAmountUnit: 组件用量单位:组件用量对应的单位
|
240
240
|
# @type UsedAmountUnit: String
|
241
|
-
# @param TimeSpan:
|
241
|
+
# @param TimeSpan: 使用时长:资源使用的时长
|
242
242
|
# @type TimeSpan: String
|
243
|
-
# @param TimeUnitName:
|
243
|
+
# @param TimeUnitName: 时长单位:资源使用时长的单位
|
244
244
|
# @type TimeUnitName: String
|
245
|
-
# @param Cost:
|
245
|
+
# @param Cost: 组件原价:原价 = 组件刊例价 * 组件用量 * 使用时长(如果客户享受一口价/合同价则默认不展示,退费类场景也默认不展示)
|
246
246
|
# @type Cost: String
|
247
|
-
# @param Discount:
|
247
|
+
# @param Discount: 折扣率:本资源享受的折扣率(如果客户享受一口价/合同价则默认不展示,退费场景也默认不展示)
|
248
248
|
# @type Discount: String
|
249
249
|
# @param ReduceType: 优惠类型
|
250
250
|
# @type ReduceType: String
|
251
|
-
# @param RealCost:
|
251
|
+
# @param RealCost: 优惠后总价:优惠后总价=(原价 - 预留实例抵扣原价 - 节省计划抵扣原价)* 折扣率
|
252
252
|
# @type RealCost: String
|
253
|
-
# @param VoucherPayAmount:
|
253
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
254
254
|
# @type VoucherPayAmount: String
|
255
|
-
# @param CashPayAmount:
|
255
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
256
256
|
# @type CashPayAmount: String
|
257
|
-
# @param IncentivePayAmount:
|
257
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
258
258
|
# @type IncentivePayAmount: String
|
259
|
-
# @param
|
259
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
261
|
+
# @type TransferPayAmount: String
|
262
|
+
# @param ItemCode: 组件类型编码
|
260
263
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
261
264
|
# @type ItemCode: String
|
262
|
-
# @param ComponentCode:
|
265
|
+
# @param ComponentCode: 组件名称编码
|
263
266
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
264
267
|
# @type ComponentCode: String
|
265
|
-
# @param ContractPrice:
|
268
|
+
# @param ContractPrice: 组件单价:组件的折后单价,组件单价 = 刊例价 * 折扣
|
266
269
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
267
270
|
# @type ContractPrice: String
|
268
|
-
# @param InstanceType:
|
271
|
+
# @param InstanceType: 实例类型:购买的产品服务对应的实例类型,包括资源包、RI、SP、竞价实例。正常的实例展示默认为不展示
|
269
272
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
270
273
|
# @type InstanceType: String
|
271
|
-
# @param RiTimeSpan:
|
274
|
+
# @param RiTimeSpan: 预留实例抵扣的使用时长:本产品或服务使用预留实例抵扣的使用时长
|
272
275
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
273
276
|
# @type RiTimeSpan: String
|
274
|
-
# @param OriginalCostWithRI:
|
277
|
+
# @param OriginalCostWithRI: 预留实例抵扣组件原价:本产品或服务使用预留实例抵扣的组件原价金额
|
275
278
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
276
279
|
# @type OriginalCostWithRI: String
|
277
|
-
# @param SPDeductionRate:
|
280
|
+
# @param SPDeductionRate: 节省计划抵扣率:节省计划可用余额额度范围内,节省计划对于此组件打的折扣率
|
278
281
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
279
282
|
# @type SPDeductionRate: String
|
280
|
-
# @param SPDeduction:
|
283
|
+
# @param SPDeduction: 节省计划抵扣金额(已废弃)
|
281
284
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
282
285
|
# @type SPDeduction: String
|
283
|
-
# @param OriginalCostWithSP:
|
286
|
+
# @param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率
|
284
287
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
285
288
|
# @type OriginalCostWithSP: String
|
286
|
-
# @param BlendedDiscount:
|
289
|
+
# @param BlendedDiscount: 混合折扣率:综合各类折扣抵扣信息后的最终折扣率,混合折扣率 = 优惠后总价 / 组件原价
|
287
290
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
288
291
|
# @type BlendedDiscount: String
|
289
292
|
|
290
|
-
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount
|
293
|
+
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ItemCode, :ComponentCode, :ContractPrice, :InstanceType, :RiTimeSpan, :OriginalCostWithRI, :SPDeductionRate, :SPDeduction, :OriginalCostWithSP, :BlendedDiscount
|
291
294
|
|
292
|
-
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, timespan=nil, timeunitname=nil, cost=nil, discount=nil, reducetype=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, itemcode=nil, componentcode=nil, contractprice=nil, instancetype=nil, ritimespan=nil, originalcostwithri=nil, spdeductionrate=nil, spdeduction=nil, originalcostwithsp=nil, blendeddiscount=nil)
|
295
|
+
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, specifiedprice=nil, priceunit=nil, usedamount=nil, usedamountunit=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)
|
293
296
|
@ComponentCodeName = componentcodename
|
294
297
|
@ItemCodeName = itemcodename
|
295
298
|
@SinglePrice = singleprice
|
@@ -306,6 +309,7 @@ module TencentCloud
|
|
306
309
|
@VoucherPayAmount = voucherpayamount
|
307
310
|
@CashPayAmount = cashpayamount
|
308
311
|
@IncentivePayAmount = incentivepayamount
|
312
|
+
@TransferPayAmount = transferpayamount
|
309
313
|
@ItemCode = itemcode
|
310
314
|
@ComponentCode = componentcode
|
311
315
|
@ContractPrice = contractprice
|
@@ -335,6 +339,7 @@ module TencentCloud
|
|
335
339
|
@VoucherPayAmount = params['VoucherPayAmount']
|
336
340
|
@CashPayAmount = params['CashPayAmount']
|
337
341
|
@IncentivePayAmount = params['IncentivePayAmount']
|
342
|
+
@TransferPayAmount = params['TransferPayAmount']
|
338
343
|
@ItemCode = params['ItemCode']
|
339
344
|
@ComponentCode = params['ComponentCode']
|
340
345
|
@ContractPrice = params['ContractPrice']
|
@@ -350,94 +355,88 @@ module TencentCloud
|
|
350
355
|
|
351
356
|
# 账单资源汇总数据对象
|
352
357
|
class BillResourceSummary < TencentCloud::Common::AbstractModel
|
353
|
-
# @param BusinessCodeName:
|
358
|
+
# @param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
354
359
|
# @type BusinessCodeName: String
|
355
|
-
# @param ProductCodeName:
|
360
|
+
# @param ProductCodeName: 子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1
|
356
361
|
# @type ProductCodeName: String
|
357
|
-
# @param PayModeName:
|
362
|
+
# @param PayModeName: 计费模式:资源的计费模式,区分为包年包月和按量计费
|
358
363
|
# @type PayModeName: String
|
359
|
-
# @param ProjectName:
|
364
|
+
# @param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
360
365
|
# @type ProjectName: String
|
361
|
-
# @param RegionName:
|
366
|
+
# @param RegionName: 地域:资源所属地域,如华南地区(广州)
|
362
367
|
# @type RegionName: String
|
363
|
-
# @param ZoneName:
|
368
|
+
# @param ZoneName: 可用区:资源所属可用区,如广州三区
|
364
369
|
# @type ZoneName: String
|
365
|
-
# @param ResourceId:
|
370
|
+
# @param ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
366
371
|
# @type ResourceId: String
|
367
|
-
# @param ResourceName:
|
372
|
+
# @param ResourceName: 资源别名:用户在控制台为资源设置的名称,如果未设置,则默认为空
|
368
373
|
# @type ResourceName: String
|
369
|
-
# @param ActionTypeName:
|
374
|
+
# @param ActionTypeName: 交易类型:如包年包月新购、包年包月续费、按量计费扣费等类型
|
370
375
|
# @type ActionTypeName: String
|
371
|
-
# @param OrderId: 订单ID
|
376
|
+
# @param OrderId: 订单ID:包年包月计费模式下订购的订单号
|
372
377
|
# @type OrderId: String
|
373
|
-
# @param PayTime:
|
378
|
+
# @param PayTime: 扣费时间:结算扣费时间
|
374
379
|
# @type PayTime: String
|
375
|
-
# @param FeeBeginTime:
|
380
|
+
# @param FeeBeginTime: 开始使用时间:产品服务开始使用时间
|
376
381
|
# @type FeeBeginTime: String
|
377
|
-
# @param FeeEndTime:
|
382
|
+
# @param FeeEndTime: 结束使用时间:产品服务结束使用时间
|
378
383
|
# @type FeeEndTime: String
|
379
|
-
# @param ConfigDesc:
|
384
|
+
# @param ConfigDesc: 配置描述:该资源下的计费项名称和用量合并展示,仅在资源账单体现
|
380
385
|
# @type ConfigDesc: String
|
381
|
-
# @param ExtendField1: 扩展字段1
|
386
|
+
# @param ExtendField1: 扩展字段1:产品对应的扩展属性信息,仅在资源账单体现
|
382
387
|
# @type ExtendField1: String
|
383
|
-
# @param ExtendField2: 扩展字段2
|
388
|
+
# @param ExtendField2: 扩展字段2:产品对应的扩展属性信息,仅在资源账单体现
|
384
389
|
# @type ExtendField2: String
|
385
|
-
# @param TotalCost:
|
390
|
+
# @param TotalCost: 原价:原价 = 组件刊例价 * 组件用量 * 使用时长(如果客户享受一口价/合同价则默认不展示,退费类场景也默认不展示)
|
386
391
|
# @type TotalCost: String
|
387
|
-
# @param Discount:
|
388
|
-
# 当聚合之后折扣不唯一或者合同价的情况下,返回“-”
|
392
|
+
# @param Discount: 折扣率:本资源享受的折扣率(如果客户享受一口价/合同价则默认不展示,退费场景也默认不展示)
|
389
393
|
# @type Discount: String
|
390
394
|
# @param ReduceType: 优惠类型
|
391
395
|
# @type ReduceType: String
|
392
|
-
# @param RealTotalCost:
|
396
|
+
# @param RealTotalCost: 优惠后总价
|
393
397
|
# @type RealTotalCost: String
|
394
|
-
# @param VoucherPayAmount:
|
398
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
395
399
|
# @type VoucherPayAmount: String
|
396
|
-
# @param CashPayAmount:
|
400
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
397
401
|
# @type CashPayAmount: String
|
398
|
-
# @param IncentivePayAmount:
|
402
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
399
403
|
# @type IncentivePayAmount: String
|
400
|
-
# @param
|
404
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
|
+
# @type TransferPayAmount: String
|
407
|
+
# @param ExtendField3: 扩展字段3:产品对应的扩展属性信息,仅在资源账单体现
|
401
408
|
# @type ExtendField3: String
|
402
|
-
# @param ExtendField4: 扩展字段4
|
409
|
+
# @param ExtendField4: 扩展字段4:产品对应的扩展属性信息,仅在资源账单体现
|
403
410
|
# @type ExtendField4: String
|
404
|
-
# @param ExtendField5: 扩展字段5
|
411
|
+
# @param ExtendField5: 扩展字段5:产品对应的扩展属性信息,仅在资源账单体现
|
405
412
|
# @type ExtendField5: String
|
406
|
-
# @param Tags:
|
413
|
+
# @param Tags: 标签信息
|
407
414
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
408
415
|
# @type Tags: Array
|
409
|
-
# @param PayerUin:
|
416
|
+
# @param PayerUin: 支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识
|
410
417
|
# @type PayerUin: String
|
411
|
-
# @param OwnerUin:
|
418
|
+
# @param OwnerUin: 使用者UIN:实际使用资源的账号 ID
|
412
419
|
# @type OwnerUin: String
|
413
|
-
# @param OperateUin: 操作者
|
420
|
+
# @param OperateUin: 操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )
|
414
421
|
# @type OperateUin: String
|
415
|
-
# @param BusinessCode:
|
422
|
+
# @param BusinessCode: 产品编码
|
416
423
|
# @type BusinessCode: String
|
417
|
-
# @param ProductCode:
|
424
|
+
# @param ProductCode: 子产品编码
|
418
425
|
# @type ProductCode: String
|
419
|
-
# @param RegionId:
|
426
|
+
# @param RegionId: 地域ID
|
420
427
|
# @type RegionId: Integer
|
421
|
-
# @param InstanceType:
|
422
|
-
|
423
|
-
# ri=Standard RI
|
424
|
-
|
425
|
-
# svp=Savings Plan
|
426
|
-
|
427
|
-
# si=Spot Instances
|
428
|
-
|
429
|
-
# rp=Resource Pack
|
428
|
+
# @param InstanceType: 实例类型:购买的产品服务对应的实例类型,包括资源包、RI、SP、竞价实例。正常的实例展示默认为不展示
|
430
429
|
# @type InstanceType: String
|
431
|
-
# @param OriginalCostWithRI:
|
430
|
+
# @param OriginalCostWithRI: 预留实例抵扣组件原价:本产品或服务使用预留实例抵扣的组件原价金额
|
432
431
|
# @type OriginalCostWithRI: String
|
433
|
-
# @param SPDeduction:
|
432
|
+
# @param SPDeduction: 节省计划抵扣金额(已废弃)
|
434
433
|
# @type SPDeduction: String
|
435
|
-
# @param OriginalCostWithSP:
|
434
|
+
# @param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率
|
436
435
|
# @type OriginalCostWithSP: String
|
437
436
|
|
438
|
-
attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP
|
437
|
+
attr_accessor :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :PayTime, :FeeBeginTime, :FeeEndTime, :ConfigDesc, :ExtendField1, :ExtendField2, :TotalCost, :Discount, :ReduceType, :RealTotalCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :TransferPayAmount, :ExtendField3, :ExtendField4, :ExtendField5, :Tags, :PayerUin, :OwnerUin, :OperateUin, :BusinessCode, :ProductCode, :RegionId, :InstanceType, :OriginalCostWithRI, :SPDeduction, :OriginalCostWithSP
|
439
438
|
|
440
|
-
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil)
|
439
|
+
def initialize(businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, paytime=nil, feebegintime=nil, feeendtime=nil, configdesc=nil, extendfield1=nil, extendfield2=nil, totalcost=nil, discount=nil, reducetype=nil, realtotalcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil, transferpayamount=nil, extendfield3=nil, extendfield4=nil, extendfield5=nil, tags=nil, payeruin=nil, owneruin=nil, operateuin=nil, businesscode=nil, productcode=nil, regionid=nil, instancetype=nil, originalcostwithri=nil, spdeduction=nil, originalcostwithsp=nil)
|
441
440
|
@BusinessCodeName = businesscodename
|
442
441
|
@ProductCodeName = productcodename
|
443
442
|
@PayModeName = paymodename
|
@@ -461,6 +460,7 @@ module TencentCloud
|
|
461
460
|
@VoucherPayAmount = voucherpayamount
|
462
461
|
@CashPayAmount = cashpayamount
|
463
462
|
@IncentivePayAmount = incentivepayamount
|
463
|
+
@TransferPayAmount = transferpayamount
|
464
464
|
@ExtendField3 = extendfield3
|
465
465
|
@ExtendField4 = extendfield4
|
466
466
|
@ExtendField5 = extendfield5
|
@@ -501,6 +501,7 @@ module TencentCloud
|
|
501
501
|
@VoucherPayAmount = params['VoucherPayAmount']
|
502
502
|
@CashPayAmount = params['CashPayAmount']
|
503
503
|
@IncentivePayAmount = params['IncentivePayAmount']
|
504
|
+
@TransferPayAmount = params['TransferPayAmount']
|
504
505
|
@ExtendField3 = params['ExtendField3']
|
505
506
|
@ExtendField4 = params['ExtendField4']
|
506
507
|
@ExtendField5 = params['ExtendField5']
|
@@ -603,81 +604,81 @@ module TencentCloud
|
|
603
604
|
|
604
605
|
# 按产品汇总产品详情
|
605
606
|
class BusinessSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
606
|
-
# @param BusinessCode:
|
607
|
+
# @param BusinessCode: 产品编码
|
607
608
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
608
609
|
# @type BusinessCode: String
|
609
|
-
# @param BusinessCodeName:
|
610
|
+
# @param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
610
611
|
# @type BusinessCodeName: String
|
611
|
-
# @param RealTotalCost: 实际花费
|
612
|
-
# @type RealTotalCost: String
|
613
612
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
614
613
|
# @type RealTotalCostRatio: String
|
615
|
-
# @param
|
614
|
+
# @param RealTotalCost: 优惠后总价
|
615
|
+
# @type RealTotalCost: String
|
616
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
616
617
|
# @type CashPayAmount: String
|
617
|
-
# @param IncentivePayAmount:
|
618
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
618
619
|
# @type IncentivePayAmount: String
|
619
|
-
# @param VoucherPayAmount:
|
620
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
620
621
|
# @type VoucherPayAmount: String
|
622
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
623
|
+
# @type TransferPayAmount: String
|
621
624
|
# @param BillMonth: 账单月份,格式2019-08
|
622
625
|
# @type BillMonth: String
|
623
626
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
624
627
|
# @type TotalCost: String
|
625
|
-
# @param TransferPayAmount: 分成金金额
|
626
|
-
# @type TransferPayAmount: String
|
627
628
|
|
628
|
-
attr_accessor :BusinessCode, :BusinessCodeName, :
|
629
|
+
attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost
|
629
630
|
|
630
|
-
def initialize(businesscode=nil, businesscodename=nil,
|
631
|
+
def initialize(businesscode=nil, businesscodename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil)
|
631
632
|
@BusinessCode = businesscode
|
632
633
|
@BusinessCodeName = businesscodename
|
633
|
-
@RealTotalCost = realtotalcost
|
634
634
|
@RealTotalCostRatio = realtotalcostratio
|
635
|
+
@RealTotalCost = realtotalcost
|
635
636
|
@CashPayAmount = cashpayamount
|
636
637
|
@IncentivePayAmount = incentivepayamount
|
637
638
|
@VoucherPayAmount = voucherpayamount
|
639
|
+
@TransferPayAmount = transferpayamount
|
638
640
|
@BillMonth = billmonth
|
639
641
|
@TotalCost = totalcost
|
640
|
-
@TransferPayAmount = transferpayamount
|
641
642
|
end
|
642
643
|
|
643
644
|
def deserialize(params)
|
644
645
|
@BusinessCode = params['BusinessCode']
|
645
646
|
@BusinessCodeName = params['BusinessCodeName']
|
646
|
-
@RealTotalCost = params['RealTotalCost']
|
647
647
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
648
|
+
@RealTotalCost = params['RealTotalCost']
|
648
649
|
@CashPayAmount = params['CashPayAmount']
|
649
650
|
@IncentivePayAmount = params['IncentivePayAmount']
|
650
651
|
@VoucherPayAmount = params['VoucherPayAmount']
|
652
|
+
@TransferPayAmount = params['TransferPayAmount']
|
651
653
|
@BillMonth = params['BillMonth']
|
652
654
|
@TotalCost = params['TotalCost']
|
653
|
-
@TransferPayAmount = params['TransferPayAmount']
|
654
655
|
end
|
655
656
|
end
|
656
657
|
|
657
658
|
# 按产品汇总总费用
|
658
659
|
class BusinessSummaryTotal < TencentCloud::Common::AbstractModel
|
659
|
-
# @param RealTotalCost:
|
660
|
+
# @param RealTotalCost: 优惠后总价
|
660
661
|
# @type RealTotalCost: String
|
661
|
-
# @param VoucherPayAmount:
|
662
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
662
663
|
# @type VoucherPayAmount: String
|
663
|
-
# @param IncentivePayAmount:
|
664
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
664
665
|
# @type IncentivePayAmount: String
|
665
|
-
# @param CashPayAmount:
|
666
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
666
667
|
# @type CashPayAmount: String
|
668
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
669
|
+
# @type TransferPayAmount: String
|
667
670
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
668
671
|
# @type TotalCost: String
|
669
|
-
# @param TransferPayAmount: 分成金金额
|
670
|
-
# @type TransferPayAmount: String
|
671
672
|
|
672
|
-
attr_accessor :RealTotalCost, :VoucherPayAmount, :IncentivePayAmount, :CashPayAmount, :
|
673
|
+
attr_accessor :RealTotalCost, :VoucherPayAmount, :IncentivePayAmount, :CashPayAmount, :TransferPayAmount, :TotalCost
|
673
674
|
|
674
|
-
def initialize(realtotalcost=nil, voucherpayamount=nil, incentivepayamount=nil, cashpayamount=nil,
|
675
|
+
def initialize(realtotalcost=nil, voucherpayamount=nil, incentivepayamount=nil, cashpayamount=nil, transferpayamount=nil, totalcost=nil)
|
675
676
|
@RealTotalCost = realtotalcost
|
676
677
|
@VoucherPayAmount = voucherpayamount
|
677
678
|
@IncentivePayAmount = incentivepayamount
|
678
679
|
@CashPayAmount = cashpayamount
|
679
|
-
@TotalCost = totalcost
|
680
680
|
@TransferPayAmount = transferpayamount
|
681
|
+
@TotalCost = totalcost
|
681
682
|
end
|
682
683
|
|
683
684
|
def deserialize(params)
|
@@ -685,8 +686,8 @@ module TencentCloud
|
|
685
686
|
@VoucherPayAmount = params['VoucherPayAmount']
|
686
687
|
@IncentivePayAmount = params['IncentivePayAmount']
|
687
688
|
@CashPayAmount = params['CashPayAmount']
|
688
|
-
@TotalCost = params['TotalCost']
|
689
689
|
@TransferPayAmount = params['TransferPayAmount']
|
690
|
+
@TotalCost = params['TotalCost']
|
690
691
|
end
|
691
692
|
end
|
692
693
|
|
@@ -1804,30 +1805,30 @@ module TencentCloud
|
|
1804
1805
|
|
1805
1806
|
# DescribeBillResourceSummary请求参数结构体
|
1806
1807
|
class DescribeBillResourceSummaryRequest < TencentCloud::Common::AbstractModel
|
1807
|
-
# @param Offset:
|
1808
|
+
# @param Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,依次类推
|
1808
1809
|
# @type Offset: Integer
|
1809
1810
|
# @param Limit: 数量,最大值为1000
|
1810
1811
|
# @type Limit: Integer
|
1811
|
-
# @param Month: 月份,格式为yyyy-mm。不能早于开通账单2.0
|
1812
|
+
# @param Month: 月份,格式为yyyy-mm。不能早于开通账单2.0的月份
|
1812
1813
|
# @type Month: String
|
1813
1814
|
# @param PeriodType: 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
1814
1815
|
# @type PeriodType: String
|
1815
1816
|
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
1816
1817
|
# 1-表示需要, 0-表示不需要
|
1817
1818
|
# @type NeedRecordNum: Integer
|
1818
|
-
# @param ActionType:
|
1819
|
+
# @param ActionType: 查询交易类型(请使用交易类型名称入参),入参示例枚举如下:
|
1819
1820
|
# 包年包月新购
|
1820
1821
|
# 包年包月续费
|
1821
1822
|
# 包年包月配置变更
|
1822
1823
|
# 包年包月退款
|
1823
1824
|
# 按量计费扣费
|
1824
|
-
# 按量计费小时结
|
1825
|
-
# 按量计费日结
|
1826
|
-
# 按量计费月结
|
1827
1825
|
# 线下项目扣费
|
1828
1826
|
# 线下产品扣费
|
1829
1827
|
# 调账扣费
|
1830
1828
|
# 调账补偿
|
1829
|
+
# 按量计费小时结
|
1830
|
+
# 按量计费日结
|
1831
|
+
# 按量计费月结
|
1831
1832
|
# 竞价实例小时结
|
1832
1833
|
# 线下项目调账补偿
|
1833
1834
|
# 线下产品调账补偿
|
@@ -1842,6 +1843,8 @@ module TencentCloud
|
|
1842
1843
|
# 预留实例退款
|
1843
1844
|
# 按量计费冲正
|
1844
1845
|
# 包年包月转按量
|
1846
|
+
# 保底扣款
|
1847
|
+
# 节省计划小时费用
|
1845
1848
|
# @type ActionType: String
|
1846
1849
|
# @param ResourceId: 查询指定资源信息
|
1847
1850
|
# @type ResourceId: String
|
@@ -1882,7 +1885,7 @@ module TencentCloud
|
|
1882
1885
|
class DescribeBillResourceSummaryResponse < TencentCloud::Common::AbstractModel
|
1883
1886
|
# @param ResourceSummarySet: 资源汇总列表
|
1884
1887
|
# @type ResourceSummarySet: Array
|
1885
|
-
# @param Total:
|
1888
|
+
# @param Total: 资源汇总列表总数,入参NeedRecordNum为0时不返回
|
1886
1889
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1887
1890
|
# @type Total: Integer
|
1888
1891
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -1936,7 +1939,8 @@ module TencentCloud
|
|
1936
1939
|
|
1937
1940
|
# DescribeBillSummaryByPayMode返回参数结构体
|
1938
1941
|
class DescribeBillSummaryByPayModeResponse < TencentCloud::Common::AbstractModel
|
1939
|
-
# @param Ready: 数据是否准备好,0未准备好,1
|
1942
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好。
|
1943
|
+
# Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
1940
1944
|
# @type Ready: Integer
|
1941
1945
|
# @param SummaryOverview: 各付费模式花费分布详情
|
1942
1946
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2001,7 +2005,8 @@ module TencentCloud
|
|
2001
2005
|
|
2002
2006
|
# DescribeBillSummaryByProduct返回参数结构体
|
2003
2007
|
class DescribeBillSummaryByProductResponse < TencentCloud::Common::AbstractModel
|
2004
|
-
# @param Ready: 数据是否准备好,0未准备好,1
|
2008
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好。
|
2009
|
+
# Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
2005
2010
|
# @type Ready: Integer
|
2006
2011
|
# @param SummaryTotal: 总花费详情
|
2007
2012
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2066,6 +2071,7 @@ module TencentCloud
|
|
2066
2071
|
# DescribeBillSummaryByProject返回参数结构体
|
2067
2072
|
class DescribeBillSummaryByProjectResponse < TencentCloud::Common::AbstractModel
|
2068
2073
|
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2074
|
+
# Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
2069
2075
|
# @type Ready: Integer
|
2070
2076
|
# @param SummaryOverview: 各项目花费分布详情
|
2071
2077
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2122,6 +2128,7 @@ module TencentCloud
|
|
2122
2128
|
# DescribeBillSummaryByRegion返回参数结构体
|
2123
2129
|
class DescribeBillSummaryByRegionResponse < TencentCloud::Common::AbstractModel
|
2124
2130
|
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2131
|
+
# Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
2125
2132
|
# @type Ready: Integer
|
2126
2133
|
# @param SummaryOverview: 各地域花费分布详情
|
2127
2134
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2186,6 +2193,7 @@ module TencentCloud
|
|
2186
2193
|
# DescribeBillSummaryByTag返回参数结构体
|
2187
2194
|
class DescribeBillSummaryByTagResponse < TencentCloud::Common::AbstractModel
|
2188
2195
|
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2196
|
+
# Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
2189
2197
|
# @type Ready: Integer
|
2190
2198
|
# @param SummaryOverview: 各标签值花费分布详情
|
2191
2199
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3174,49 +3182,54 @@ module TencentCloud
|
|
3174
3182
|
end
|
3175
3183
|
end
|
3176
3184
|
|
3177
|
-
#
|
3185
|
+
# 按计费模式汇总消费详情
|
3178
3186
|
class PayModeSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
3179
|
-
# @param PayMode:
|
3187
|
+
# @param PayMode: 计费模式编码
|
3180
3188
|
# @type PayMode: String
|
3181
|
-
# @param PayModeName:
|
3189
|
+
# @param PayModeName: 计费模式:区分为包年包月和按量计费
|
3182
3190
|
# @type PayModeName: String
|
3183
|
-
# @param RealTotalCost: 实际花费
|
3184
|
-
# @type RealTotalCost: String
|
3185
3191
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
3186
3192
|
# @type RealTotalCostRatio: String
|
3187
|
-
# @param
|
3188
|
-
# @type
|
3189
|
-
# @param CashPayAmount:
|
3193
|
+
# @param RealTotalCost: 优惠后总价
|
3194
|
+
# @type RealTotalCost: String
|
3195
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
3190
3196
|
# @type CashPayAmount: String
|
3191
|
-
# @param IncentivePayAmount:
|
3197
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
3192
3198
|
# @type IncentivePayAmount: String
|
3193
|
-
# @param VoucherPayAmount:
|
3199
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
3194
3200
|
# @type VoucherPayAmount: String
|
3201
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
3202
|
+
# @type TransferPayAmount: String
|
3195
3203
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
3196
3204
|
# @type TotalCost: String
|
3197
|
-
# @param
|
3198
|
-
# @type
|
3205
|
+
# @param Detail: 按交易类型汇总消费详情
|
3206
|
+
# @type Detail: Array
|
3199
3207
|
|
3200
|
-
attr_accessor :PayMode, :PayModeName, :
|
3208
|
+
attr_accessor :PayMode, :PayModeName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :TotalCost, :Detail
|
3201
3209
|
|
3202
|
-
def initialize(paymode=nil, paymodename=nil,
|
3210
|
+
def initialize(paymode=nil, paymodename=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, totalcost=nil, detail=nil)
|
3203
3211
|
@PayMode = paymode
|
3204
3212
|
@PayModeName = paymodename
|
3205
|
-
@RealTotalCost = realtotalcost
|
3206
3213
|
@RealTotalCostRatio = realtotalcostratio
|
3207
|
-
@
|
3214
|
+
@RealTotalCost = realtotalcost
|
3208
3215
|
@CashPayAmount = cashpayamount
|
3209
3216
|
@IncentivePayAmount = incentivepayamount
|
3210
3217
|
@VoucherPayAmount = voucherpayamount
|
3211
|
-
@TotalCost = totalcost
|
3212
3218
|
@TransferPayAmount = transferpayamount
|
3219
|
+
@TotalCost = totalcost
|
3220
|
+
@Detail = detail
|
3213
3221
|
end
|
3214
3222
|
|
3215
3223
|
def deserialize(params)
|
3216
3224
|
@PayMode = params['PayMode']
|
3217
3225
|
@PayModeName = params['PayModeName']
|
3218
|
-
@RealTotalCost = params['RealTotalCost']
|
3219
3226
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
3227
|
+
@RealTotalCost = params['RealTotalCost']
|
3228
|
+
@CashPayAmount = params['CashPayAmount']
|
3229
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
3230
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
3231
|
+
@TransferPayAmount = params['TransferPayAmount']
|
3232
|
+
@TotalCost = params['TotalCost']
|
3220
3233
|
unless params['Detail'].nil?
|
3221
3234
|
@Detail = []
|
3222
3235
|
params['Detail'].each do |i|
|
@@ -3225,11 +3238,6 @@ module TencentCloud
|
|
3225
3238
|
@Detail << actionsummaryoverviewitem_tmp
|
3226
3239
|
end
|
3227
3240
|
end
|
3228
|
-
@CashPayAmount = params['CashPayAmount']
|
3229
|
-
@IncentivePayAmount = params['IncentivePayAmount']
|
3230
|
-
@VoucherPayAmount = params['VoucherPayAmount']
|
3231
|
-
@TotalCost = params['TotalCost']
|
3232
|
-
@TransferPayAmount = params['TransferPayAmount']
|
3233
3241
|
end
|
3234
3242
|
end
|
3235
3243
|
|
@@ -3257,51 +3265,51 @@ module TencentCloud
|
|
3257
3265
|
class ProjectSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
3258
3266
|
# @param ProjectId: 项目ID
|
3259
3267
|
# @type ProjectId: String
|
3260
|
-
# @param ProjectName:
|
3268
|
+
# @param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
3261
3269
|
# @type ProjectName: String
|
3262
|
-
# @param RealTotalCost: 实际花费
|
3263
|
-
# @type RealTotalCost: String
|
3264
3270
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
3265
3271
|
# @type RealTotalCostRatio: String
|
3266
|
-
# @param
|
3272
|
+
# @param RealTotalCost: 优惠后总价
|
3273
|
+
# @type RealTotalCost: String
|
3274
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
3267
3275
|
# @type CashPayAmount: String
|
3268
|
-
# @param IncentivePayAmount:
|
3276
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
3269
3277
|
# @type IncentivePayAmount: String
|
3270
|
-
# @param VoucherPayAmount:
|
3278
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
3271
3279
|
# @type VoucherPayAmount: String
|
3280
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
3281
|
+
# @type TransferPayAmount: String
|
3272
3282
|
# @param BillMonth: 账单月份,格式2019-08
|
3273
3283
|
# @type BillMonth: String
|
3274
3284
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
3275
3285
|
# @type TotalCost: String
|
3276
|
-
# @param TransferPayAmount: 分成金金额
|
3277
|
-
# @type TransferPayAmount: String
|
3278
3286
|
|
3279
|
-
attr_accessor :ProjectId, :ProjectName, :
|
3287
|
+
attr_accessor :ProjectId, :ProjectName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost
|
3280
3288
|
|
3281
|
-
def initialize(projectid=nil, projectname=nil,
|
3289
|
+
def initialize(projectid=nil, projectname=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil)
|
3282
3290
|
@ProjectId = projectid
|
3283
3291
|
@ProjectName = projectname
|
3284
|
-
@RealTotalCost = realtotalcost
|
3285
3292
|
@RealTotalCostRatio = realtotalcostratio
|
3293
|
+
@RealTotalCost = realtotalcost
|
3286
3294
|
@CashPayAmount = cashpayamount
|
3287
3295
|
@IncentivePayAmount = incentivepayamount
|
3288
3296
|
@VoucherPayAmount = voucherpayamount
|
3297
|
+
@TransferPayAmount = transferpayamount
|
3289
3298
|
@BillMonth = billmonth
|
3290
3299
|
@TotalCost = totalcost
|
3291
|
-
@TransferPayAmount = transferpayamount
|
3292
3300
|
end
|
3293
3301
|
|
3294
3302
|
def deserialize(params)
|
3295
3303
|
@ProjectId = params['ProjectId']
|
3296
3304
|
@ProjectName = params['ProjectName']
|
3297
|
-
@RealTotalCost = params['RealTotalCost']
|
3298
3305
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
3306
|
+
@RealTotalCost = params['RealTotalCost']
|
3299
3307
|
@CashPayAmount = params['CashPayAmount']
|
3300
3308
|
@IncentivePayAmount = params['IncentivePayAmount']
|
3301
3309
|
@VoucherPayAmount = params['VoucherPayAmount']
|
3310
|
+
@TransferPayAmount = params['TransferPayAmount']
|
3302
3311
|
@BillMonth = params['BillMonth']
|
3303
3312
|
@TotalCost = params['TotalCost']
|
3304
|
-
@TransferPayAmount = params['TransferPayAmount']
|
3305
3313
|
end
|
3306
3314
|
end
|
3307
3315
|
|
@@ -3310,57 +3318,57 @@ module TencentCloud
|
|
3310
3318
|
# @param RegionId: 地域ID
|
3311
3319
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3312
3320
|
# @type RegionId: String
|
3313
|
-
# @param RegionName:
|
3321
|
+
# @param RegionName: 地域名称:资源所属地域,例如华南地区(广州)
|
3314
3322
|
# @type RegionName: String
|
3315
|
-
# @param RealTotalCost: 实际花费
|
3316
|
-
# @type RealTotalCost: String
|
3317
3323
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
3318
3324
|
# @type RealTotalCostRatio: String
|
3319
|
-
# @param
|
3325
|
+
# @param RealTotalCost: 优惠后总价
|
3326
|
+
# @type RealTotalCost: String
|
3327
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
3320
3328
|
# @type CashPayAmount: String
|
3321
|
-
# @param IncentivePayAmount:
|
3329
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
3322
3330
|
# @type IncentivePayAmount: String
|
3323
|
-
# @param VoucherPayAmount:
|
3331
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
3324
3332
|
# @type VoucherPayAmount: String
|
3333
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
3334
|
+
# @type TransferPayAmount: String
|
3325
3335
|
# @param BillMonth: 账单月份,格式2019-08
|
3326
3336
|
# @type BillMonth: String
|
3327
3337
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
3328
3338
|
# @type TotalCost: String
|
3329
|
-
# @param TransferPayAmount: 分成金金额
|
3330
|
-
# @type TransferPayAmount: String
|
3331
3339
|
|
3332
|
-
attr_accessor :RegionId, :RegionName, :
|
3340
|
+
attr_accessor :RegionId, :RegionName, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :BillMonth, :TotalCost
|
3333
3341
|
|
3334
|
-
def initialize(regionid=nil, regionname=nil,
|
3342
|
+
def initialize(regionid=nil, regionname=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, billmonth=nil, totalcost=nil)
|
3335
3343
|
@RegionId = regionid
|
3336
3344
|
@RegionName = regionname
|
3337
|
-
@RealTotalCost = realtotalcost
|
3338
3345
|
@RealTotalCostRatio = realtotalcostratio
|
3346
|
+
@RealTotalCost = realtotalcost
|
3339
3347
|
@CashPayAmount = cashpayamount
|
3340
3348
|
@IncentivePayAmount = incentivepayamount
|
3341
3349
|
@VoucherPayAmount = voucherpayamount
|
3350
|
+
@TransferPayAmount = transferpayamount
|
3342
3351
|
@BillMonth = billmonth
|
3343
3352
|
@TotalCost = totalcost
|
3344
|
-
@TransferPayAmount = transferpayamount
|
3345
3353
|
end
|
3346
3354
|
|
3347
3355
|
def deserialize(params)
|
3348
3356
|
@RegionId = params['RegionId']
|
3349
3357
|
@RegionName = params['RegionName']
|
3350
|
-
@RealTotalCost = params['RealTotalCost']
|
3351
3358
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
3359
|
+
@RealTotalCost = params['RealTotalCost']
|
3352
3360
|
@CashPayAmount = params['CashPayAmount']
|
3353
3361
|
@IncentivePayAmount = params['IncentivePayAmount']
|
3354
3362
|
@VoucherPayAmount = params['VoucherPayAmount']
|
3363
|
+
@TransferPayAmount = params['TransferPayAmount']
|
3355
3364
|
@BillMonth = params['BillMonth']
|
3356
3365
|
@TotalCost = params['TotalCost']
|
3357
|
-
@TransferPayAmount = params['TransferPayAmount']
|
3358
3366
|
end
|
3359
3367
|
end
|
3360
3368
|
|
3361
3369
|
# 总数
|
3362
3370
|
class SummaryTotal < TencentCloud::Common::AbstractModel
|
3363
|
-
# @param RealTotalCost:
|
3371
|
+
# @param RealTotalCost: 优惠后总价
|
3364
3372
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3365
3373
|
# @type RealTotalCost: String
|
3366
3374
|
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
@@ -3385,50 +3393,50 @@ module TencentCloud
|
|
3385
3393
|
# @param TagValue: 标签值
|
3386
3394
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3387
3395
|
# @type TagValue: String
|
3388
|
-
# @param RealTotalCost: 实际花费
|
3389
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3390
|
-
# @type RealTotalCost: String
|
3391
3396
|
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
3392
3397
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3393
3398
|
# @type RealTotalCostRatio: String
|
3394
|
-
# @param
|
3399
|
+
# @param RealTotalCost: 优惠后总价
|
3395
3400
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3396
|
-
# @type
|
3397
|
-
# @param CashPayAmount:
|
3401
|
+
# @type RealTotalCost: String
|
3402
|
+
# @param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
3398
3403
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3399
3404
|
# @type CashPayAmount: String
|
3400
|
-
# @param IncentivePayAmount:
|
3405
|
+
# @param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
3401
3406
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3402
3407
|
# @type IncentivePayAmount: String
|
3403
|
-
# @param VoucherPayAmount:
|
3408
|
+
# @param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
3404
3409
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3405
3410
|
# @type VoucherPayAmount: String
|
3406
|
-
# @param TransferPayAmount:
|
3411
|
+
# @param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
3407
3412
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3408
3413
|
# @type TransferPayAmount: String
|
3414
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
3415
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3416
|
+
# @type TotalCost: String
|
3409
3417
|
|
3410
|
-
attr_accessor :TagValue, :
|
3418
|
+
attr_accessor :TagValue, :RealTotalCostRatio, :RealTotalCost, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TransferPayAmount, :TotalCost
|
3411
3419
|
|
3412
|
-
def initialize(tagvalue=nil,
|
3420
|
+
def initialize(tagvalue=nil, realtotalcostratio=nil, realtotalcost=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, transferpayamount=nil, totalcost=nil)
|
3413
3421
|
@TagValue = tagvalue
|
3414
|
-
@RealTotalCost = realtotalcost
|
3415
3422
|
@RealTotalCostRatio = realtotalcostratio
|
3416
|
-
@
|
3423
|
+
@RealTotalCost = realtotalcost
|
3417
3424
|
@CashPayAmount = cashpayamount
|
3418
3425
|
@IncentivePayAmount = incentivepayamount
|
3419
3426
|
@VoucherPayAmount = voucherpayamount
|
3420
3427
|
@TransferPayAmount = transferpayamount
|
3428
|
+
@TotalCost = totalcost
|
3421
3429
|
end
|
3422
3430
|
|
3423
3431
|
def deserialize(params)
|
3424
3432
|
@TagValue = params['TagValue']
|
3425
|
-
@RealTotalCost = params['RealTotalCost']
|
3426
3433
|
@RealTotalCostRatio = params['RealTotalCostRatio']
|
3427
|
-
@
|
3434
|
+
@RealTotalCost = params['RealTotalCost']
|
3428
3435
|
@CashPayAmount = params['CashPayAmount']
|
3429
3436
|
@IncentivePayAmount = params['IncentivePayAmount']
|
3430
3437
|
@VoucherPayAmount = params['VoucherPayAmount']
|
3431
3438
|
@TransferPayAmount = params['TransferPayAmount']
|
3439
|
+
@TotalCost = params['TotalCost']
|
3432
3440
|
end
|
3433
3441
|
end
|
3434
3442
|
|
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.577
|
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-05-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|