tencentcloud-sdk-billing 1.0.200
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 +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-billing.rb +11 -0
- data/lib/v20180709/client.rb +468 -0
- data/lib/v20180709/models.rb +3041 -0
- metadata +66 -0
@@ -0,0 +1,3041 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Billing
|
19
|
+
module V20180709
|
20
|
+
# 按交易类型汇总消费详情
|
21
|
+
class ActionSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
22
|
+
# @param ActionType: 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型
|
23
|
+
# @type ActionType: String
|
24
|
+
# @param ActionTypeName: 交易类型名称
|
25
|
+
# @type ActionTypeName: String
|
26
|
+
# @param RealTotalCost: 实际花费
|
27
|
+
# @type RealTotalCost: String
|
28
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
29
|
+
# @type RealTotalCostRatio: String
|
30
|
+
# @param CashPayAmount: 现金金额
|
31
|
+
# @type CashPayAmount: String
|
32
|
+
# @param IncentivePayAmount: 赠送金金额
|
33
|
+
# @type IncentivePayAmount: String
|
34
|
+
# @param VoucherPayAmount: 代金券金额
|
35
|
+
# @type VoucherPayAmount: String
|
36
|
+
# @param BillMonth: 账单月份,格式2019-08
|
37
|
+
# @type BillMonth: String
|
38
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
39
|
+
# @type TotalCost: String
|
40
|
+
|
41
|
+
attr_accessor :ActionType, :ActionTypeName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost
|
42
|
+
|
43
|
+
def initialize(actiontype=nil, actiontypename=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil)
|
44
|
+
@ActionType = actiontype
|
45
|
+
@ActionTypeName = actiontypename
|
46
|
+
@RealTotalCost = realtotalcost
|
47
|
+
@RealTotalCostRatio = realtotalcostratio
|
48
|
+
@CashPayAmount = cashpayamount
|
49
|
+
@IncentivePayAmount = incentivepayamount
|
50
|
+
@VoucherPayAmount = voucherpayamount
|
51
|
+
@BillMonth = billmonth
|
52
|
+
@TotalCost = totalcost
|
53
|
+
end
|
54
|
+
|
55
|
+
def deserialize(params)
|
56
|
+
@ActionType = params['ActionType']
|
57
|
+
@ActionTypeName = params['ActionTypeName']
|
58
|
+
@RealTotalCost = params['RealTotalCost']
|
59
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
60
|
+
@CashPayAmount = params['CashPayAmount']
|
61
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
62
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
63
|
+
@BillMonth = params['BillMonth']
|
64
|
+
@TotalCost = params['TotalCost']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# 账单明细数据对象
|
69
|
+
class BillDetail < TencentCloud::Common::AbstractModel
|
70
|
+
# @param BusinessCodeName: 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
71
|
+
# @type BusinessCodeName: String
|
72
|
+
# @param ProductCodeName: 子产品名称:云产品子类,如云服务器CVM-标准型S1
|
73
|
+
# @type ProductCodeName: String
|
74
|
+
# @param PayModeName: 计费模式:包年包月和按量计费
|
75
|
+
# @type PayModeName: String
|
76
|
+
# @param ProjectName: 项目:资源所属项目
|
77
|
+
# @type ProjectName: String
|
78
|
+
# @param RegionName: 区域:资源所属地域,如华南地区(广州)
|
79
|
+
# @type RegionName: String
|
80
|
+
# @param ZoneName: 可用区:资源所属可用区,如广州三区
|
81
|
+
# @type ZoneName: String
|
82
|
+
# @param ResourceId: 资源实例ID
|
83
|
+
# @type ResourceId: String
|
84
|
+
# @param ResourceName: 实例名称
|
85
|
+
# @type ResourceName: String
|
86
|
+
# @param ActionTypeName: 交易类型
|
87
|
+
# @type ActionTypeName: String
|
88
|
+
# @param OrderId: 订单ID
|
89
|
+
# @type OrderId: String
|
90
|
+
# @param BillId: 交易ID
|
91
|
+
# @type BillId: String
|
92
|
+
# @param PayTime: 扣费时间
|
93
|
+
# @type PayTime: String
|
94
|
+
# @param FeeBeginTime: 开始使用时间
|
95
|
+
# @type FeeBeginTime: String
|
96
|
+
# @param FeeEndTime: 结束使用时间
|
97
|
+
# @type FeeEndTime: String
|
98
|
+
# @param ComponentSet: 组件列表
|
99
|
+
# @type ComponentSet: Array
|
100
|
+
# @param PayerUin: 支付者UIN
|
101
|
+
# @type PayerUin: String
|
102
|
+
# @param OwnerUin: 使用者UIN
|
103
|
+
# @type OwnerUin: String
|
104
|
+
# @param OperateUin: 操作者UIN
|
105
|
+
# @type OperateUin: String
|
106
|
+
# @param Tags: Tag 信息
|
107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
108
|
+
# @type Tags: Array
|
109
|
+
# @param BusinessCode: 商品名称代码
|
110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
111
|
+
# @type BusinessCode: String
|
112
|
+
# @param ProductCode: 子商品名称代码
|
113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
114
|
+
# @type ProductCode: String
|
115
|
+
# @param ActionType: 交易类型代码(未开放的字段)
|
116
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
117
|
+
# @type ActionType: String
|
118
|
+
# @param RegionId: 区域ID
|
119
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
120
|
+
# @type RegionId: String
|
121
|
+
# @param ProjectId: 项目ID:资源所属项目ID
|
122
|
+
# @type ProjectId: Integer
|
123
|
+
|
124
|
+
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
|
125
|
+
|
126
|
+
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)
|
127
|
+
@BusinessCodeName = businesscodename
|
128
|
+
@ProductCodeName = productcodename
|
129
|
+
@PayModeName = paymodename
|
130
|
+
@ProjectName = projectname
|
131
|
+
@RegionName = regionname
|
132
|
+
@ZoneName = zonename
|
133
|
+
@ResourceId = resourceid
|
134
|
+
@ResourceName = resourcename
|
135
|
+
@ActionTypeName = actiontypename
|
136
|
+
@OrderId = orderid
|
137
|
+
@BillId = billid
|
138
|
+
@PayTime = paytime
|
139
|
+
@FeeBeginTime = feebegintime
|
140
|
+
@FeeEndTime = feeendtime
|
141
|
+
@ComponentSet = componentset
|
142
|
+
@PayerUin = payeruin
|
143
|
+
@OwnerUin = owneruin
|
144
|
+
@OperateUin = operateuin
|
145
|
+
@Tags = tags
|
146
|
+
@BusinessCode = businesscode
|
147
|
+
@ProductCode = productcode
|
148
|
+
@ActionType = actiontype
|
149
|
+
@RegionId = regionid
|
150
|
+
@ProjectId = projectid
|
151
|
+
end
|
152
|
+
|
153
|
+
def deserialize(params)
|
154
|
+
@BusinessCodeName = params['BusinessCodeName']
|
155
|
+
@ProductCodeName = params['ProductCodeName']
|
156
|
+
@PayModeName = params['PayModeName']
|
157
|
+
@ProjectName = params['ProjectName']
|
158
|
+
@RegionName = params['RegionName']
|
159
|
+
@ZoneName = params['ZoneName']
|
160
|
+
@ResourceId = params['ResourceId']
|
161
|
+
@ResourceName = params['ResourceName']
|
162
|
+
@ActionTypeName = params['ActionTypeName']
|
163
|
+
@OrderId = params['OrderId']
|
164
|
+
@BillId = params['BillId']
|
165
|
+
@PayTime = params['PayTime']
|
166
|
+
@FeeBeginTime = params['FeeBeginTime']
|
167
|
+
@FeeEndTime = params['FeeEndTime']
|
168
|
+
unless params['ComponentSet'].nil?
|
169
|
+
@ComponentSet = []
|
170
|
+
params['ComponentSet'].each do |i|
|
171
|
+
billdetailcomponent_tmp = BillDetailComponent.new
|
172
|
+
billdetailcomponent_tmp.deserialize(i)
|
173
|
+
@ComponentSet << billdetailcomponent_tmp
|
174
|
+
end
|
175
|
+
end
|
176
|
+
@PayerUin = params['PayerUin']
|
177
|
+
@OwnerUin = params['OwnerUin']
|
178
|
+
@OperateUin = params['OperateUin']
|
179
|
+
unless params['Tags'].nil?
|
180
|
+
@Tags = []
|
181
|
+
params['Tags'].each do |i|
|
182
|
+
billtaginfo_tmp = BillTagInfo.new
|
183
|
+
billtaginfo_tmp.deserialize(i)
|
184
|
+
@Tags << billtaginfo_tmp
|
185
|
+
end
|
186
|
+
end
|
187
|
+
@BusinessCode = params['BusinessCode']
|
188
|
+
@ProductCode = params['ProductCode']
|
189
|
+
@ActionType = params['ActionType']
|
190
|
+
@RegionId = params['RegionId']
|
191
|
+
@ProjectId = params['ProjectId']
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
195
|
+
# 账单明细组件对象
|
196
|
+
class BillDetailComponent < TencentCloud::Common::AbstractModel
|
197
|
+
# @param ComponentCodeName: 组件类型:资源组件类型的名称,如内存、硬盘等
|
198
|
+
# @type ComponentCodeName: String
|
199
|
+
# @param ItemCodeName: 组件名称:资源组件的名称,如云数据库MySQL-内存等
|
200
|
+
# @type ItemCodeName: String
|
201
|
+
# @param SinglePrice: 组件刊例价:资源组件的原始价格,保持原始粒度
|
202
|
+
# @type SinglePrice: String
|
203
|
+
# @param SpecifiedPrice: 组件指定价
|
204
|
+
# @type SpecifiedPrice: String
|
205
|
+
# @param PriceUnit: 价格单位
|
206
|
+
# @type PriceUnit: String
|
207
|
+
# @param UsedAmount: 组件用量
|
208
|
+
# @type UsedAmount: String
|
209
|
+
# @param UsedAmountUnit: 组件用量单位
|
210
|
+
# @type UsedAmountUnit: String
|
211
|
+
# @param TimeSpan: 使用时长
|
212
|
+
# @type TimeSpan: String
|
213
|
+
# @param TimeUnitName: 时长单位
|
214
|
+
# @type TimeUnitName: String
|
215
|
+
# @param Cost: 组件原价
|
216
|
+
# @type Cost: String
|
217
|
+
# @param Discount: 折扣率
|
218
|
+
# @type Discount: String
|
219
|
+
# @param ReduceType: 优惠类型
|
220
|
+
# @type ReduceType: String
|
221
|
+
# @param RealCost: 优惠后总价
|
222
|
+
# @type RealCost: String
|
223
|
+
# @param VoucherPayAmount: 代金券支付金额
|
224
|
+
# @type VoucherPayAmount: String
|
225
|
+
# @param CashPayAmount: 现金支付金额
|
226
|
+
# @type CashPayAmount: String
|
227
|
+
# @param IncentivePayAmount: 赠送账户支付金额
|
228
|
+
# @type IncentivePayAmount: String
|
229
|
+
# @param ItemCode: 组件类型代码
|
230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
231
|
+
# @type ItemCode: String
|
232
|
+
# @param ComponentCode: 组件名称代码
|
233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
234
|
+
# @type ComponentCode: String
|
235
|
+
# @param ContractPrice: 合同价
|
236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
237
|
+
# @type ContractPrice: String
|
238
|
+
|
239
|
+
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :SpecifiedPrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :TimeSpan, :TimeUnitName, :Cost, :Discount, :ReduceType, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount, :ItemCode, :ComponentCode, :ContractPrice
|
240
|
+
|
241
|
+
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)
|
242
|
+
@ComponentCodeName = componentcodename
|
243
|
+
@ItemCodeName = itemcodename
|
244
|
+
@SinglePrice = singleprice
|
245
|
+
@SpecifiedPrice = specifiedprice
|
246
|
+
@PriceUnit = priceunit
|
247
|
+
@UsedAmount = usedamount
|
248
|
+
@UsedAmountUnit = usedamountunit
|
249
|
+
@TimeSpan = timespan
|
250
|
+
@TimeUnitName = timeunitname
|
251
|
+
@Cost = cost
|
252
|
+
@Discount = discount
|
253
|
+
@ReduceType = reducetype
|
254
|
+
@RealCost = realcost
|
255
|
+
@VoucherPayAmount = voucherpayamount
|
256
|
+
@CashPayAmount = cashpayamount
|
257
|
+
@IncentivePayAmount = incentivepayamount
|
258
|
+
@ItemCode = itemcode
|
259
|
+
@ComponentCode = componentcode
|
260
|
+
@ContractPrice = contractprice
|
261
|
+
end
|
262
|
+
|
263
|
+
def deserialize(params)
|
264
|
+
@ComponentCodeName = params['ComponentCodeName']
|
265
|
+
@ItemCodeName = params['ItemCodeName']
|
266
|
+
@SinglePrice = params['SinglePrice']
|
267
|
+
@SpecifiedPrice = params['SpecifiedPrice']
|
268
|
+
@PriceUnit = params['PriceUnit']
|
269
|
+
@UsedAmount = params['UsedAmount']
|
270
|
+
@UsedAmountUnit = params['UsedAmountUnit']
|
271
|
+
@TimeSpan = params['TimeSpan']
|
272
|
+
@TimeUnitName = params['TimeUnitName']
|
273
|
+
@Cost = params['Cost']
|
274
|
+
@Discount = params['Discount']
|
275
|
+
@ReduceType = params['ReduceType']
|
276
|
+
@RealCost = params['RealCost']
|
277
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
278
|
+
@CashPayAmount = params['CashPayAmount']
|
279
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
280
|
+
@ItemCode = params['ItemCode']
|
281
|
+
@ComponentCode = params['ComponentCode']
|
282
|
+
@ContractPrice = params['ContractPrice']
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# 账单资源汇总数据对象
|
287
|
+
class BillResourceSummary < TencentCloud::Common::AbstractModel
|
288
|
+
# @param BusinessCodeName: 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
289
|
+
# @type BusinessCodeName: String
|
290
|
+
# @param ProductCodeName: 子产品:云产品子类,如云服务器CVM-标准型S1, 当没有获取到子产品名称时,返回"-"
|
291
|
+
# @type ProductCodeName: String
|
292
|
+
# @param PayModeName: 计费模式:包年包月和按量计费
|
293
|
+
# @type PayModeName: String
|
294
|
+
# @param ProjectName: 项目
|
295
|
+
# @type ProjectName: String
|
296
|
+
# @param RegionName: 地域
|
297
|
+
# @type RegionName: String
|
298
|
+
# @param ZoneName: 可用区
|
299
|
+
# @type ZoneName: String
|
300
|
+
# @param ResourceId: 资源实例ID
|
301
|
+
# @type ResourceId: String
|
302
|
+
# @param ResourceName: 资源实例名称
|
303
|
+
# @type ResourceName: String
|
304
|
+
# @param ActionTypeName: 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型
|
305
|
+
# @type ActionTypeName: String
|
306
|
+
# @param OrderId: 订单ID
|
307
|
+
# @type OrderId: String
|
308
|
+
# @param PayTime: 扣费时间
|
309
|
+
# @type PayTime: String
|
310
|
+
# @param FeeBeginTime: 开始使用时间
|
311
|
+
# @type FeeBeginTime: String
|
312
|
+
# @param FeeEndTime: 结束使用时间
|
313
|
+
# @type FeeEndTime: String
|
314
|
+
# @param ConfigDesc: 配置描述
|
315
|
+
# @type ConfigDesc: String
|
316
|
+
# @param ExtendField1: 扩展字段1
|
317
|
+
# @type ExtendField1: String
|
318
|
+
# @param ExtendField2: 扩展字段2
|
319
|
+
# @type ExtendField2: String
|
320
|
+
# @param TotalCost: 原价,单位为元
|
321
|
+
# @type TotalCost: String
|
322
|
+
# @param Discount: 折扣率
|
323
|
+
# 当聚合之后折扣不唯一或者合同价的情况下,返回“-”
|
324
|
+
# @type Discount: String
|
325
|
+
# @param ReduceType: 优惠类型
|
326
|
+
# @type ReduceType: String
|
327
|
+
# @param RealTotalCost: 优惠后总价,单位为元
|
328
|
+
# @type RealTotalCost: String
|
329
|
+
# @param VoucherPayAmount: 代金券支付金额,单位为元
|
330
|
+
# @type VoucherPayAmount: String
|
331
|
+
# @param CashPayAmount: 现金账户支付金额,单位为元
|
332
|
+
# @type CashPayAmount: String
|
333
|
+
# @param IncentivePayAmount: 赠送账户支付金额,单位为元
|
334
|
+
# @type IncentivePayAmount: String
|
335
|
+
# @param ExtendField3: 扩展字段3
|
336
|
+
# @type ExtendField3: String
|
337
|
+
# @param ExtendField4: 扩展字段4
|
338
|
+
# @type ExtendField4: String
|
339
|
+
# @param ExtendField5: 扩展字段5
|
340
|
+
# @type ExtendField5: String
|
341
|
+
# @param Tags: Tag 信息
|
342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
343
|
+
# @type Tags: Array
|
344
|
+
# @param PayerUin: 付款方uin
|
345
|
+
# @type PayerUin: String
|
346
|
+
# @param OwnerUin: 资源所有者uin,无值则返回"-"
|
347
|
+
# @type OwnerUin: String
|
348
|
+
# @param OperateUin: 操作者uin,无值则返回"-"
|
349
|
+
# @type OperateUin: String
|
350
|
+
# @param BusinessCode: 商品名称代码
|
351
|
+
# @type BusinessCode: String
|
352
|
+
# @param ProductCode: 子商品名称代码
|
353
|
+
# @type ProductCode: String
|
354
|
+
# @param RegionId: 区域ID
|
355
|
+
# @type RegionId: Integer
|
356
|
+
|
357
|
+
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
|
358
|
+
|
359
|
+
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)
|
360
|
+
@BusinessCodeName = businesscodename
|
361
|
+
@ProductCodeName = productcodename
|
362
|
+
@PayModeName = paymodename
|
363
|
+
@ProjectName = projectname
|
364
|
+
@RegionName = regionname
|
365
|
+
@ZoneName = zonename
|
366
|
+
@ResourceId = resourceid
|
367
|
+
@ResourceName = resourcename
|
368
|
+
@ActionTypeName = actiontypename
|
369
|
+
@OrderId = orderid
|
370
|
+
@PayTime = paytime
|
371
|
+
@FeeBeginTime = feebegintime
|
372
|
+
@FeeEndTime = feeendtime
|
373
|
+
@ConfigDesc = configdesc
|
374
|
+
@ExtendField1 = extendfield1
|
375
|
+
@ExtendField2 = extendfield2
|
376
|
+
@TotalCost = totalcost
|
377
|
+
@Discount = discount
|
378
|
+
@ReduceType = reducetype
|
379
|
+
@RealTotalCost = realtotalcost
|
380
|
+
@VoucherPayAmount = voucherpayamount
|
381
|
+
@CashPayAmount = cashpayamount
|
382
|
+
@IncentivePayAmount = incentivepayamount
|
383
|
+
@ExtendField3 = extendfield3
|
384
|
+
@ExtendField4 = extendfield4
|
385
|
+
@ExtendField5 = extendfield5
|
386
|
+
@Tags = tags
|
387
|
+
@PayerUin = payeruin
|
388
|
+
@OwnerUin = owneruin
|
389
|
+
@OperateUin = operateuin
|
390
|
+
@BusinessCode = businesscode
|
391
|
+
@ProductCode = productcode
|
392
|
+
@RegionId = regionid
|
393
|
+
end
|
394
|
+
|
395
|
+
def deserialize(params)
|
396
|
+
@BusinessCodeName = params['BusinessCodeName']
|
397
|
+
@ProductCodeName = params['ProductCodeName']
|
398
|
+
@PayModeName = params['PayModeName']
|
399
|
+
@ProjectName = params['ProjectName']
|
400
|
+
@RegionName = params['RegionName']
|
401
|
+
@ZoneName = params['ZoneName']
|
402
|
+
@ResourceId = params['ResourceId']
|
403
|
+
@ResourceName = params['ResourceName']
|
404
|
+
@ActionTypeName = params['ActionTypeName']
|
405
|
+
@OrderId = params['OrderId']
|
406
|
+
@PayTime = params['PayTime']
|
407
|
+
@FeeBeginTime = params['FeeBeginTime']
|
408
|
+
@FeeEndTime = params['FeeEndTime']
|
409
|
+
@ConfigDesc = params['ConfigDesc']
|
410
|
+
@ExtendField1 = params['ExtendField1']
|
411
|
+
@ExtendField2 = params['ExtendField2']
|
412
|
+
@TotalCost = params['TotalCost']
|
413
|
+
@Discount = params['Discount']
|
414
|
+
@ReduceType = params['ReduceType']
|
415
|
+
@RealTotalCost = params['RealTotalCost']
|
416
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
417
|
+
@CashPayAmount = params['CashPayAmount']
|
418
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
419
|
+
@ExtendField3 = params['ExtendField3']
|
420
|
+
@ExtendField4 = params['ExtendField4']
|
421
|
+
@ExtendField5 = params['ExtendField5']
|
422
|
+
unless params['Tags'].nil?
|
423
|
+
@Tags = []
|
424
|
+
params['Tags'].each do |i|
|
425
|
+
billtaginfo_tmp = BillTagInfo.new
|
426
|
+
billtaginfo_tmp.deserialize(i)
|
427
|
+
@Tags << billtaginfo_tmp
|
428
|
+
end
|
429
|
+
end
|
430
|
+
@PayerUin = params['PayerUin']
|
431
|
+
@OwnerUin = params['OwnerUin']
|
432
|
+
@OperateUin = params['OperateUin']
|
433
|
+
@BusinessCode = params['BusinessCode']
|
434
|
+
@ProductCode = params['ProductCode']
|
435
|
+
@RegionId = params['RegionId']
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
# 账单 Tag 信息
|
440
|
+
class BillTagInfo < TencentCloud::Common::AbstractModel
|
441
|
+
# @param TagKey: 分账标签键
|
442
|
+
# @type TagKey: String
|
443
|
+
# @param TagValue: 标签值
|
444
|
+
# @type TagValue: String
|
445
|
+
|
446
|
+
attr_accessor :TagKey, :TagValue
|
447
|
+
|
448
|
+
def initialize(tagkey=nil, tagvalue=nil)
|
449
|
+
@TagKey = tagkey
|
450
|
+
@TagValue = tagvalue
|
451
|
+
end
|
452
|
+
|
453
|
+
def deserialize(params)
|
454
|
+
@TagKey = params['TagKey']
|
455
|
+
@TagValue = params['TagValue']
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
# 收支明细的流水信息
|
460
|
+
class BillTransactionInfo < TencentCloud::Common::AbstractModel
|
461
|
+
# @param ActionType: 收支类型:deduct 扣费, recharge 充值, return 退费, block 冻结, unblock 解冻
|
462
|
+
# @type ActionType: String
|
463
|
+
# @param Amount: 流水金额,单位(分);正数表示入账,负数表示出账
|
464
|
+
# @type Amount: Integer
|
465
|
+
# @param Balance: 可用余额,单位(分);正数表示入账,负数表示出账
|
466
|
+
# @type Balance: Integer
|
467
|
+
# @param BillId: 流水号,如20190131020000236005203583326401
|
468
|
+
# @type BillId: String
|
469
|
+
# @param OperationInfo: 描述信息
|
470
|
+
# @type OperationInfo: String
|
471
|
+
# @param OperationTime: 操作时间"2019-01-31 23:35:10.000"
|
472
|
+
# @type OperationTime: String
|
473
|
+
# @param Cash: 现金账户余额,单位(分)
|
474
|
+
# @type Cash: Integer
|
475
|
+
# @param Incentive: 赠送金余额,单位(分)
|
476
|
+
# @type Incentive: Integer
|
477
|
+
# @param Freezing: 冻结余额,单位(分)
|
478
|
+
# @type Freezing: Integer
|
479
|
+
# @param PayChannel: 交易渠道
|
480
|
+
# @type PayChannel: String
|
481
|
+
# @param DeductMode: 扣费模式:trade 包年包月(预付费),hourh 按量-小时结,hourd 按量-日结,hourm 按量-月结,month 按量-月结
|
482
|
+
# @type DeductMode: String
|
483
|
+
|
484
|
+
attr_accessor :ActionType, :Amount, :Balance, :BillId, :OperationInfo, :OperationTime, :Cash, :Incentive, :Freezing, :PayChannel, :DeductMode
|
485
|
+
|
486
|
+
def initialize(actiontype=nil, amount=nil, balance=nil, billid=nil, operationinfo=nil, operationtime=nil, cash=nil, incentive=nil, freezing=nil, paychannel=nil, deductmode=nil)
|
487
|
+
@ActionType = actiontype
|
488
|
+
@Amount = amount
|
489
|
+
@Balance = balance
|
490
|
+
@BillId = billid
|
491
|
+
@OperationInfo = operationinfo
|
492
|
+
@OperationTime = operationtime
|
493
|
+
@Cash = cash
|
494
|
+
@Incentive = incentive
|
495
|
+
@Freezing = freezing
|
496
|
+
@PayChannel = paychannel
|
497
|
+
@DeductMode = deductmode
|
498
|
+
end
|
499
|
+
|
500
|
+
def deserialize(params)
|
501
|
+
@ActionType = params['ActionType']
|
502
|
+
@Amount = params['Amount']
|
503
|
+
@Balance = params['Balance']
|
504
|
+
@BillId = params['BillId']
|
505
|
+
@OperationInfo = params['OperationInfo']
|
506
|
+
@OperationTime = params['OperationTime']
|
507
|
+
@Cash = params['Cash']
|
508
|
+
@Incentive = params['Incentive']
|
509
|
+
@Freezing = params['Freezing']
|
510
|
+
@PayChannel = params['PayChannel']
|
511
|
+
@DeductMode = params['DeductMode']
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
# 按产品汇总产品详情
|
516
|
+
class BusinessSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
517
|
+
# @param BusinessCode: 产品码
|
518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
519
|
+
# @type BusinessCode: String
|
520
|
+
# @param BusinessCodeName: 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
521
|
+
# @type BusinessCodeName: String
|
522
|
+
# @param RealTotalCost: 实际花费
|
523
|
+
# @type RealTotalCost: String
|
524
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
525
|
+
# @type RealTotalCostRatio: String
|
526
|
+
# @param CashPayAmount: 现金金额
|
527
|
+
# @type CashPayAmount: String
|
528
|
+
# @param IncentivePayAmount: 赠送金金额
|
529
|
+
# @type IncentivePayAmount: String
|
530
|
+
# @param VoucherPayAmount: 代金券金额
|
531
|
+
# @type VoucherPayAmount: String
|
532
|
+
# @param BillMonth: 账单月份,格式2019-08
|
533
|
+
# @type BillMonth: String
|
534
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
535
|
+
# @type TotalCost: String
|
536
|
+
|
537
|
+
attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost
|
538
|
+
|
539
|
+
def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil)
|
540
|
+
@BusinessCode = businesscode
|
541
|
+
@BusinessCodeName = businesscodename
|
542
|
+
@RealTotalCost = realtotalcost
|
543
|
+
@RealTotalCostRatio = realtotalcostratio
|
544
|
+
@CashPayAmount = cashpayamount
|
545
|
+
@IncentivePayAmount = incentivepayamount
|
546
|
+
@VoucherPayAmount = voucherpayamount
|
547
|
+
@BillMonth = billmonth
|
548
|
+
@TotalCost = totalcost
|
549
|
+
end
|
550
|
+
|
551
|
+
def deserialize(params)
|
552
|
+
@BusinessCode = params['BusinessCode']
|
553
|
+
@BusinessCodeName = params['BusinessCodeName']
|
554
|
+
@RealTotalCost = params['RealTotalCost']
|
555
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
556
|
+
@CashPayAmount = params['CashPayAmount']
|
557
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
558
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
559
|
+
@BillMonth = params['BillMonth']
|
560
|
+
@TotalCost = params['TotalCost']
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
# 按产品汇总总费用
|
565
|
+
class BusinessSummaryTotal < TencentCloud::Common::AbstractModel
|
566
|
+
# @param RealTotalCost: 总花费
|
567
|
+
# @type RealTotalCost: String
|
568
|
+
# @param VoucherPayAmount: 代金券金额
|
569
|
+
# @type VoucherPayAmount: String
|
570
|
+
# @param IncentivePayAmount: 赠送金金额
|
571
|
+
# @type IncentivePayAmount: String
|
572
|
+
# @param CashPayAmount: 现金金额
|
573
|
+
# @type CashPayAmount: String
|
574
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
575
|
+
# @type TotalCost: String
|
576
|
+
|
577
|
+
attr_accessor :RealTotalCost, :VoucherPayAmount, :IncentivePayAmount, :CashPayAmount, :TotalCost
|
578
|
+
|
579
|
+
def initialize(realtotalcost=nil, voucherpayamount=nil, incentivepayamount=nil, cashpayamount=nil, totalcost=nil)
|
580
|
+
@RealTotalCost = realtotalcost
|
581
|
+
@VoucherPayAmount = voucherpayamount
|
582
|
+
@IncentivePayAmount = incentivepayamount
|
583
|
+
@CashPayAmount = cashpayamount
|
584
|
+
@TotalCost = totalcost
|
585
|
+
end
|
586
|
+
|
587
|
+
def deserialize(params)
|
588
|
+
@RealTotalCost = params['RealTotalCost']
|
589
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
590
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
591
|
+
@CashPayAmount = params['CashPayAmount']
|
592
|
+
@TotalCost = params['TotalCost']
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
# 产品过滤条件
|
597
|
+
class ConditionBusiness < TencentCloud::Common::AbstractModel
|
598
|
+
# @param BusinessCode: 产品码
|
599
|
+
# @type BusinessCode: String
|
600
|
+
# @param BusinessCodeName: 产品名称
|
601
|
+
# @type BusinessCodeName: String
|
602
|
+
|
603
|
+
attr_accessor :BusinessCode, :BusinessCodeName
|
604
|
+
|
605
|
+
def initialize(businesscode=nil, businesscodename=nil)
|
606
|
+
@BusinessCode = businesscode
|
607
|
+
@BusinessCodeName = businesscodename
|
608
|
+
end
|
609
|
+
|
610
|
+
def deserialize(params)
|
611
|
+
@BusinessCode = params['BusinessCode']
|
612
|
+
@BusinessCodeName = params['BusinessCodeName']
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
# 付费模式过滤条件
|
617
|
+
class ConditionPayMode < TencentCloud::Common::AbstractModel
|
618
|
+
# @param PayMode: 付费模式
|
619
|
+
# @type PayMode: String
|
620
|
+
# @param PayModeName: 付费模式名称
|
621
|
+
# @type PayModeName: String
|
622
|
+
|
623
|
+
attr_accessor :PayMode, :PayModeName
|
624
|
+
|
625
|
+
def initialize(paymode=nil, paymodename=nil)
|
626
|
+
@PayMode = paymode
|
627
|
+
@PayModeName = paymodename
|
628
|
+
end
|
629
|
+
|
630
|
+
def deserialize(params)
|
631
|
+
@PayMode = params['PayMode']
|
632
|
+
@PayModeName = params['PayModeName']
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
# 项目过滤条件
|
637
|
+
class ConditionProject < TencentCloud::Common::AbstractModel
|
638
|
+
# @param ProjectId: 项目ID
|
639
|
+
# @type ProjectId: String
|
640
|
+
# @param ProjectName: 项目名称
|
641
|
+
# @type ProjectName: String
|
642
|
+
|
643
|
+
attr_accessor :ProjectId, :ProjectName
|
644
|
+
|
645
|
+
def initialize(projectid=nil, projectname=nil)
|
646
|
+
@ProjectId = projectid
|
647
|
+
@ProjectName = projectname
|
648
|
+
end
|
649
|
+
|
650
|
+
def deserialize(params)
|
651
|
+
@ProjectId = params['ProjectId']
|
652
|
+
@ProjectName = params['ProjectName']
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# 地域过滤条件
|
657
|
+
class ConditionRegion < TencentCloud::Common::AbstractModel
|
658
|
+
# @param RegionId: 地域ID
|
659
|
+
# @type RegionId: String
|
660
|
+
# @param RegionName: 地域名称
|
661
|
+
# @type RegionName: String
|
662
|
+
|
663
|
+
attr_accessor :RegionId, :RegionName
|
664
|
+
|
665
|
+
def initialize(regionid=nil, regionname=nil)
|
666
|
+
@RegionId = regionid
|
667
|
+
@RegionName = regionname
|
668
|
+
end
|
669
|
+
|
670
|
+
def deserialize(params)
|
671
|
+
@RegionId = params['RegionId']
|
672
|
+
@RegionName = params['RegionName']
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
# 账单筛选条件对象
|
677
|
+
class Conditions < TencentCloud::Common::AbstractModel
|
678
|
+
# @param TimeRange: 只支持6和12两个值
|
679
|
+
# @type TimeRange: Integer
|
680
|
+
# @param BusinessCode: 产品编码
|
681
|
+
# @type BusinessCode: String
|
682
|
+
# @param ProjectId: 项目ID
|
683
|
+
# @type ProjectId: Integer
|
684
|
+
# @param RegionId: 地域ID
|
685
|
+
# @type RegionId: Integer
|
686
|
+
# @param PayMode: 付费模式,可选prePay和postPay
|
687
|
+
# @type PayMode: String
|
688
|
+
# @param ResourceKeyword: 资源关键字
|
689
|
+
# @type ResourceKeyword: String
|
690
|
+
# @param BusinessCodes: 产品编码
|
691
|
+
# @type BusinessCodes: Array
|
692
|
+
# @param ProductCodes: 子产品编码
|
693
|
+
# @type ProductCodes: Array
|
694
|
+
# @param RegionIds: 地域ID
|
695
|
+
# @type RegionIds: Array
|
696
|
+
# @param ProjectIds: 项目ID
|
697
|
+
# @type ProjectIds: Array
|
698
|
+
# @param PayModes: 付费模式,可选prePay和postPay
|
699
|
+
# @type PayModes: Array
|
700
|
+
# @param ActionTypes: 交易类型
|
701
|
+
# @type ActionTypes: Array
|
702
|
+
# @param HideFreeCost: 是否隐藏0元流水
|
703
|
+
# @type HideFreeCost: Integer
|
704
|
+
# @param OrderByCost: 排序规则,可选desc和asc
|
705
|
+
# @type OrderByCost: String
|
706
|
+
# @param BillIds: 交易ID
|
707
|
+
# @type BillIds: Array
|
708
|
+
# @param ComponentCodes: 组件编码
|
709
|
+
# @type ComponentCodes: Array
|
710
|
+
# @param FileIds: 文件ID
|
711
|
+
# @type FileIds: Array
|
712
|
+
# @param FileTypes: 文件类型
|
713
|
+
# @type FileTypes: Array
|
714
|
+
# @param Status: 状态
|
715
|
+
# @type Status: Array
|
716
|
+
|
717
|
+
attr_accessor :TimeRange, :BusinessCode, :ProjectId, :RegionId, :PayMode, :ResourceKeyword, :BusinessCodes, :ProductCodes, :RegionIds, :ProjectIds, :PayModes, :ActionTypes, :HideFreeCost, :OrderByCost, :BillIds, :ComponentCodes, :FileIds, :FileTypes, :Status
|
718
|
+
|
719
|
+
def initialize(timerange=nil, businesscode=nil, projectid=nil, regionid=nil, paymode=nil, resourcekeyword=nil, businesscodes=nil, productcodes=nil, regionids=nil, projectids=nil, paymodes=nil, actiontypes=nil, hidefreecost=nil, orderbycost=nil, billids=nil, componentcodes=nil, fileids=nil, filetypes=nil, status=nil)
|
720
|
+
@TimeRange = timerange
|
721
|
+
@BusinessCode = businesscode
|
722
|
+
@ProjectId = projectid
|
723
|
+
@RegionId = regionid
|
724
|
+
@PayMode = paymode
|
725
|
+
@ResourceKeyword = resourcekeyword
|
726
|
+
@BusinessCodes = businesscodes
|
727
|
+
@ProductCodes = productcodes
|
728
|
+
@RegionIds = regionids
|
729
|
+
@ProjectIds = projectids
|
730
|
+
@PayModes = paymodes
|
731
|
+
@ActionTypes = actiontypes
|
732
|
+
@HideFreeCost = hidefreecost
|
733
|
+
@OrderByCost = orderbycost
|
734
|
+
@BillIds = billids
|
735
|
+
@ComponentCodes = componentcodes
|
736
|
+
@FileIds = fileids
|
737
|
+
@FileTypes = filetypes
|
738
|
+
@Status = status
|
739
|
+
end
|
740
|
+
|
741
|
+
def deserialize(params)
|
742
|
+
@TimeRange = params['TimeRange']
|
743
|
+
@BusinessCode = params['BusinessCode']
|
744
|
+
@ProjectId = params['ProjectId']
|
745
|
+
@RegionId = params['RegionId']
|
746
|
+
@PayMode = params['PayMode']
|
747
|
+
@ResourceKeyword = params['ResourceKeyword']
|
748
|
+
@BusinessCodes = params['BusinessCodes']
|
749
|
+
@ProductCodes = params['ProductCodes']
|
750
|
+
@RegionIds = params['RegionIds']
|
751
|
+
@ProjectIds = params['ProjectIds']
|
752
|
+
@PayModes = params['PayModes']
|
753
|
+
@ActionTypes = params['ActionTypes']
|
754
|
+
@HideFreeCost = params['HideFreeCost']
|
755
|
+
@OrderByCost = params['OrderByCost']
|
756
|
+
@BillIds = params['BillIds']
|
757
|
+
@ComponentCodes = params['ComponentCodes']
|
758
|
+
@FileIds = params['FileIds']
|
759
|
+
@FileTypes = params['FileTypes']
|
760
|
+
@Status = params['Status']
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
# 消耗按产品汇总详情
|
765
|
+
class ConsumptionBusinessSummaryDataItem < TencentCloud::Common::AbstractModel
|
766
|
+
# @param BusinessCode: 产品码
|
767
|
+
# @type BusinessCode: String
|
768
|
+
# @param BusinessCodeName: 产品名称
|
769
|
+
# @type BusinessCodeName: String
|
770
|
+
# @param RealTotalCost: 折后总价
|
771
|
+
# @type RealTotalCost: String
|
772
|
+
# @param Trend: 费用趋势
|
773
|
+
# @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend`
|
774
|
+
|
775
|
+
attr_accessor :BusinessCode, :BusinessCodeName, :RealTotalCost, :Trend
|
776
|
+
|
777
|
+
def initialize(businesscode=nil, businesscodename=nil, realtotalcost=nil, trend=nil)
|
778
|
+
@BusinessCode = businesscode
|
779
|
+
@BusinessCodeName = businesscodename
|
780
|
+
@RealTotalCost = realtotalcost
|
781
|
+
@Trend = trend
|
782
|
+
end
|
783
|
+
|
784
|
+
def deserialize(params)
|
785
|
+
@BusinessCode = params['BusinessCode']
|
786
|
+
@BusinessCodeName = params['BusinessCodeName']
|
787
|
+
@RealTotalCost = params['RealTotalCost']
|
788
|
+
unless params['Trend'].nil?
|
789
|
+
@Trend = ConsumptionSummaryTrend.new
|
790
|
+
@Trend.deserialize(params['Trend'])
|
791
|
+
end
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
# 消耗按项目汇总详情
|
796
|
+
class ConsumptionProjectSummaryDataItem < TencentCloud::Common::AbstractModel
|
797
|
+
# @param ProjectId: 项目ID
|
798
|
+
# @type ProjectId: String
|
799
|
+
# @param ProjectName: 项目名称
|
800
|
+
# @type ProjectName: String
|
801
|
+
# @param RealTotalCost: 折后总价
|
802
|
+
# @type RealTotalCost: String
|
803
|
+
# @param Trend: 趋势
|
804
|
+
# @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend`
|
805
|
+
# @param Business: 产品消耗详情
|
806
|
+
# @type Business: Array
|
807
|
+
|
808
|
+
attr_accessor :ProjectId, :ProjectName, :RealTotalCost, :Trend, :Business
|
809
|
+
|
810
|
+
def initialize(projectid=nil, projectname=nil, realtotalcost=nil, trend=nil, business=nil)
|
811
|
+
@ProjectId = projectid
|
812
|
+
@ProjectName = projectname
|
813
|
+
@RealTotalCost = realtotalcost
|
814
|
+
@Trend = trend
|
815
|
+
@Business = business
|
816
|
+
end
|
817
|
+
|
818
|
+
def deserialize(params)
|
819
|
+
@ProjectId = params['ProjectId']
|
820
|
+
@ProjectName = params['ProjectName']
|
821
|
+
@RealTotalCost = params['RealTotalCost']
|
822
|
+
unless params['Trend'].nil?
|
823
|
+
@Trend = ConsumptionSummaryTrend.new
|
824
|
+
@Trend.deserialize(params['Trend'])
|
825
|
+
end
|
826
|
+
unless params['Business'].nil?
|
827
|
+
@Business = []
|
828
|
+
params['Business'].each do |i|
|
829
|
+
consumptionbusinesssummarydataitem_tmp = ConsumptionBusinessSummaryDataItem.new
|
830
|
+
consumptionbusinesssummarydataitem_tmp.deserialize(i)
|
831
|
+
@Business << consumptionbusinesssummarydataitem_tmp
|
832
|
+
end
|
833
|
+
end
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
# 消耗按地域汇总详情
|
838
|
+
class ConsumptionRegionSummaryDataItem < TencentCloud::Common::AbstractModel
|
839
|
+
# @param RegionId: 地域ID
|
840
|
+
# @type RegionId: String
|
841
|
+
# @param RegionName: 地域名称
|
842
|
+
# @type RegionName: String
|
843
|
+
# @param RealTotalCost: 折后总价
|
844
|
+
# @type RealTotalCost: String
|
845
|
+
# @param Trend: 趋势
|
846
|
+
# @type Trend: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTrend`
|
847
|
+
# @param Business: 产品消费详情
|
848
|
+
# @type Business: Array
|
849
|
+
|
850
|
+
attr_accessor :RegionId, :RegionName, :RealTotalCost, :Trend, :Business
|
851
|
+
|
852
|
+
def initialize(regionid=nil, regionname=nil, realtotalcost=nil, trend=nil, business=nil)
|
853
|
+
@RegionId = regionid
|
854
|
+
@RegionName = regionname
|
855
|
+
@RealTotalCost = realtotalcost
|
856
|
+
@Trend = trend
|
857
|
+
@Business = business
|
858
|
+
end
|
859
|
+
|
860
|
+
def deserialize(params)
|
861
|
+
@RegionId = params['RegionId']
|
862
|
+
@RegionName = params['RegionName']
|
863
|
+
@RealTotalCost = params['RealTotalCost']
|
864
|
+
unless params['Trend'].nil?
|
865
|
+
@Trend = ConsumptionSummaryTrend.new
|
866
|
+
@Trend.deserialize(params['Trend'])
|
867
|
+
end
|
868
|
+
unless params['Business'].nil?
|
869
|
+
@Business = []
|
870
|
+
params['Business'].each do |i|
|
871
|
+
consumptionbusinesssummarydataitem_tmp = ConsumptionBusinessSummaryDataItem.new
|
872
|
+
consumptionbusinesssummarydataitem_tmp.deserialize(i)
|
873
|
+
@Business << consumptionbusinesssummarydataitem_tmp
|
874
|
+
end
|
875
|
+
end
|
876
|
+
end
|
877
|
+
end
|
878
|
+
|
879
|
+
# 消耗按资源汇总过滤条件
|
880
|
+
class ConsumptionResourceSummaryConditionValue < TencentCloud::Common::AbstractModel
|
881
|
+
# @param Business: 产品列表
|
882
|
+
# @type Business: Array
|
883
|
+
# @param Project: 项目列表
|
884
|
+
# @type Project: Array
|
885
|
+
# @param Region: 地域列表
|
886
|
+
# @type Region: Array
|
887
|
+
# @param PayMode: 付费模式列表
|
888
|
+
# @type PayMode: Array
|
889
|
+
|
890
|
+
attr_accessor :Business, :Project, :Region, :PayMode
|
891
|
+
|
892
|
+
def initialize(business=nil, project=nil, region=nil, paymode=nil)
|
893
|
+
@Business = business
|
894
|
+
@Project = project
|
895
|
+
@Region = region
|
896
|
+
@PayMode = paymode
|
897
|
+
end
|
898
|
+
|
899
|
+
def deserialize(params)
|
900
|
+
unless params['Business'].nil?
|
901
|
+
@Business = []
|
902
|
+
params['Business'].each do |i|
|
903
|
+
conditionbusiness_tmp = ConditionBusiness.new
|
904
|
+
conditionbusiness_tmp.deserialize(i)
|
905
|
+
@Business << conditionbusiness_tmp
|
906
|
+
end
|
907
|
+
end
|
908
|
+
unless params['Project'].nil?
|
909
|
+
@Project = []
|
910
|
+
params['Project'].each do |i|
|
911
|
+
conditionproject_tmp = ConditionProject.new
|
912
|
+
conditionproject_tmp.deserialize(i)
|
913
|
+
@Project << conditionproject_tmp
|
914
|
+
end
|
915
|
+
end
|
916
|
+
unless params['Region'].nil?
|
917
|
+
@Region = []
|
918
|
+
params['Region'].each do |i|
|
919
|
+
conditionregion_tmp = ConditionRegion.new
|
920
|
+
conditionregion_tmp.deserialize(i)
|
921
|
+
@Region << conditionregion_tmp
|
922
|
+
end
|
923
|
+
end
|
924
|
+
unless params['PayMode'].nil?
|
925
|
+
@PayMode = []
|
926
|
+
params['PayMode'].each do |i|
|
927
|
+
conditionpaymode_tmp = ConditionPayMode.new
|
928
|
+
conditionpaymode_tmp.deserialize(i)
|
929
|
+
@PayMode << conditionpaymode_tmp
|
930
|
+
end
|
931
|
+
end
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
# 消耗按资源汇总详情
|
936
|
+
class ConsumptionResourceSummaryDataItem < TencentCloud::Common::AbstractModel
|
937
|
+
# @param ResourceId: 资源ID
|
938
|
+
# @type ResourceId: String
|
939
|
+
# @param ResourceName: 资源名称
|
940
|
+
# @type ResourceName: String
|
941
|
+
# @param RealTotalCost: 折后总价
|
942
|
+
# @type RealTotalCost: String
|
943
|
+
# @param CashPayAmount: 现金花费
|
944
|
+
# @type CashPayAmount: String
|
945
|
+
# @param ProjectId: 项目ID
|
946
|
+
# @type ProjectId: String
|
947
|
+
# @param ProjectName: 项目名称
|
948
|
+
# @type ProjectName: String
|
949
|
+
# @param RegionId: 地域ID
|
950
|
+
# @type RegionId: String
|
951
|
+
# @param RegionName: 地域名称
|
952
|
+
# @type RegionName: String
|
953
|
+
# @param PayMode: 付费模式
|
954
|
+
# @type PayMode: String
|
955
|
+
# @param PayModeName: 付费模式名称
|
956
|
+
# @type PayModeName: String
|
957
|
+
# @param BusinessCode: 产品码
|
958
|
+
# @type BusinessCode: String
|
959
|
+
# @param BusinessCodeName: 产品名称
|
960
|
+
# @type BusinessCodeName: String
|
961
|
+
# @param ConsumptionTypeName: 消耗类型
|
962
|
+
# @type ConsumptionTypeName: String
|
963
|
+
|
964
|
+
attr_accessor :ResourceId, :ResourceName, :RealTotalCost, :CashPayAmount, :ProjectId, :ProjectName, :RegionId, :RegionName, :PayMode, :PayModeName, :BusinessCode, :BusinessCodeName, :ConsumptionTypeName
|
965
|
+
|
966
|
+
def initialize(resourceid=nil, resourcename=nil, realtotalcost=nil, cashpayamount=nil, projectid=nil, projectname=nil, regionid=nil, regionname=nil, paymode=nil, paymodename=nil, businesscode=nil, businesscodename=nil, consumptiontypename=nil)
|
967
|
+
@ResourceId = resourceid
|
968
|
+
@ResourceName = resourcename
|
969
|
+
@RealTotalCost = realtotalcost
|
970
|
+
@CashPayAmount = cashpayamount
|
971
|
+
@ProjectId = projectid
|
972
|
+
@ProjectName = projectname
|
973
|
+
@RegionId = regionid
|
974
|
+
@RegionName = regionname
|
975
|
+
@PayMode = paymode
|
976
|
+
@PayModeName = paymodename
|
977
|
+
@BusinessCode = businesscode
|
978
|
+
@BusinessCodeName = businesscodename
|
979
|
+
@ConsumptionTypeName = consumptiontypename
|
980
|
+
end
|
981
|
+
|
982
|
+
def deserialize(params)
|
983
|
+
@ResourceId = params['ResourceId']
|
984
|
+
@ResourceName = params['ResourceName']
|
985
|
+
@RealTotalCost = params['RealTotalCost']
|
986
|
+
@CashPayAmount = params['CashPayAmount']
|
987
|
+
@ProjectId = params['ProjectId']
|
988
|
+
@ProjectName = params['ProjectName']
|
989
|
+
@RegionId = params['RegionId']
|
990
|
+
@RegionName = params['RegionName']
|
991
|
+
@PayMode = params['PayMode']
|
992
|
+
@PayModeName = params['PayModeName']
|
993
|
+
@BusinessCode = params['BusinessCode']
|
994
|
+
@BusinessCodeName = params['BusinessCodeName']
|
995
|
+
@ConsumptionTypeName = params['ConsumptionTypeName']
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
# 消耗汇总详情
|
1000
|
+
class ConsumptionSummaryTotal < TencentCloud::Common::AbstractModel
|
1001
|
+
# @param RealTotalCost: 折后总价
|
1002
|
+
# @type RealTotalCost: String
|
1003
|
+
|
1004
|
+
attr_accessor :RealTotalCost
|
1005
|
+
|
1006
|
+
def initialize(realtotalcost=nil)
|
1007
|
+
@RealTotalCost = realtotalcost
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
def deserialize(params)
|
1011
|
+
@RealTotalCost = params['RealTotalCost']
|
1012
|
+
end
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# 消耗费用趋势
|
1016
|
+
class ConsumptionSummaryTrend < TencentCloud::Common::AbstractModel
|
1017
|
+
# @param Type: 趋势类型,upward上升/downward下降/none无
|
1018
|
+
# @type Type: String
|
1019
|
+
# @param Value: 趋势值,Type为none是该字段值为null
|
1020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1021
|
+
# @type Value: String
|
1022
|
+
|
1023
|
+
attr_accessor :Type, :Value
|
1024
|
+
|
1025
|
+
def initialize(type=nil, value=nil)
|
1026
|
+
@Type = type
|
1027
|
+
@Value = value
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
def deserialize(params)
|
1031
|
+
@Type = params['Type']
|
1032
|
+
@Value = params['Value']
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
# cos产品用量明细返回数据结构
|
1037
|
+
class CosDetailSets < TencentCloud::Common::AbstractModel
|
1038
|
+
# @param BucketName: 存储桶名称
|
1039
|
+
# @type BucketName: String
|
1040
|
+
# @param DosageBeginTime: 用量开始时间
|
1041
|
+
# @type DosageBeginTime: String
|
1042
|
+
# @param DosageEndTime: 用量结束时间
|
1043
|
+
# @type DosageEndTime: String
|
1044
|
+
# @param SubProductCodeName: 一级产品类型名称
|
1045
|
+
# @type SubProductCodeName: String
|
1046
|
+
# @param BillingItemCodeName: 二级产品类型名称
|
1047
|
+
# @type BillingItemCodeName: String
|
1048
|
+
# @param DosageValue: 用量
|
1049
|
+
# @type DosageValue: String
|
1050
|
+
# @param Unit: 单位
|
1051
|
+
# @type Unit: String
|
1052
|
+
|
1053
|
+
attr_accessor :BucketName, :DosageBeginTime, :DosageEndTime, :SubProductCodeName, :BillingItemCodeName, :DosageValue, :Unit
|
1054
|
+
|
1055
|
+
def initialize(bucketname=nil, dosagebegintime=nil, dosageendtime=nil, subproductcodename=nil, billingitemcodename=nil, dosagevalue=nil, unit=nil)
|
1056
|
+
@BucketName = bucketname
|
1057
|
+
@DosageBeginTime = dosagebegintime
|
1058
|
+
@DosageEndTime = dosageendtime
|
1059
|
+
@SubProductCodeName = subproductcodename
|
1060
|
+
@BillingItemCodeName = billingitemcodename
|
1061
|
+
@DosageValue = dosagevalue
|
1062
|
+
@Unit = unit
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
def deserialize(params)
|
1066
|
+
@BucketName = params['BucketName']
|
1067
|
+
@DosageBeginTime = params['DosageBeginTime']
|
1068
|
+
@DosageEndTime = params['DosageEndTime']
|
1069
|
+
@SubProductCodeName = params['SubProductCodeName']
|
1070
|
+
@BillingItemCodeName = params['BillingItemCodeName']
|
1071
|
+
@DosageValue = params['DosageValue']
|
1072
|
+
@Unit = params['Unit']
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
# 消耗组件明细
|
1077
|
+
class CostComponentSet < TencentCloud::Common::AbstractModel
|
1078
|
+
# @param ComponentCodeName: 组件类型名称
|
1079
|
+
# @type ComponentCodeName: String
|
1080
|
+
# @param ItemCodeName: 组件名称
|
1081
|
+
# @type ItemCodeName: String
|
1082
|
+
# @param SinglePrice: 刊例价
|
1083
|
+
# @type SinglePrice: String
|
1084
|
+
# @param PriceUnit: 刊例价单位
|
1085
|
+
# @type PriceUnit: String
|
1086
|
+
# @param UsedAmount: 用量
|
1087
|
+
# @type UsedAmount: String
|
1088
|
+
# @param UsedAmountUnit: 用量单位
|
1089
|
+
# @type UsedAmountUnit: String
|
1090
|
+
# @param Cost: 原价
|
1091
|
+
# @type Cost: String
|
1092
|
+
# @param Discount: 折扣
|
1093
|
+
# @type Discount: String
|
1094
|
+
# @param RealCost: 折后价
|
1095
|
+
# @type RealCost: String
|
1096
|
+
# @param VoucherPayAmount: 代金券支付金额
|
1097
|
+
# @type VoucherPayAmount: String
|
1098
|
+
# @param CashPayAmount: 现金支付金额
|
1099
|
+
# @type CashPayAmount: String
|
1100
|
+
# @param IncentivePayAmount: 赠送金支付金额
|
1101
|
+
# @type IncentivePayAmount: String
|
1102
|
+
|
1103
|
+
attr_accessor :ComponentCodeName, :ItemCodeName, :SinglePrice, :PriceUnit, :UsedAmount, :UsedAmountUnit, :Cost, :Discount, :RealCost, :VoucherPayAmount, :CashPayAmount, :IncentivePayAmount
|
1104
|
+
|
1105
|
+
def initialize(componentcodename=nil, itemcodename=nil, singleprice=nil, priceunit=nil, usedamount=nil, usedamountunit=nil, cost=nil, discount=nil, realcost=nil, voucherpayamount=nil, cashpayamount=nil, incentivepayamount=nil)
|
1106
|
+
@ComponentCodeName = componentcodename
|
1107
|
+
@ItemCodeName = itemcodename
|
1108
|
+
@SinglePrice = singleprice
|
1109
|
+
@PriceUnit = priceunit
|
1110
|
+
@UsedAmount = usedamount
|
1111
|
+
@UsedAmountUnit = usedamountunit
|
1112
|
+
@Cost = cost
|
1113
|
+
@Discount = discount
|
1114
|
+
@RealCost = realcost
|
1115
|
+
@VoucherPayAmount = voucherpayamount
|
1116
|
+
@CashPayAmount = cashpayamount
|
1117
|
+
@IncentivePayAmount = incentivepayamount
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def deserialize(params)
|
1121
|
+
@ComponentCodeName = params['ComponentCodeName']
|
1122
|
+
@ItemCodeName = params['ItemCodeName']
|
1123
|
+
@SinglePrice = params['SinglePrice']
|
1124
|
+
@PriceUnit = params['PriceUnit']
|
1125
|
+
@UsedAmount = params['UsedAmount']
|
1126
|
+
@UsedAmountUnit = params['UsedAmountUnit']
|
1127
|
+
@Cost = params['Cost']
|
1128
|
+
@Discount = params['Discount']
|
1129
|
+
@RealCost = params['RealCost']
|
1130
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
1131
|
+
@CashPayAmount = params['CashPayAmount']
|
1132
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# 消耗明细数据类型
|
1137
|
+
class CostDetail < TencentCloud::Common::AbstractModel
|
1138
|
+
# @param PayerUin: 支付者uin
|
1139
|
+
# @type PayerUin: String
|
1140
|
+
# @param BusinessCodeName: 业务名称
|
1141
|
+
# @type BusinessCodeName: String
|
1142
|
+
# @param ProductCodeName: 产品名称
|
1143
|
+
# @type ProductCodeName: String
|
1144
|
+
# @param PayModeName: 计费模式名称
|
1145
|
+
# @type PayModeName: String
|
1146
|
+
# @param ProjectName: 项目名称
|
1147
|
+
# @type ProjectName: String
|
1148
|
+
# @param RegionName: 区域名称
|
1149
|
+
# @type RegionName: String
|
1150
|
+
# @param ZoneName: 地区名称
|
1151
|
+
# @type ZoneName: String
|
1152
|
+
# @param ResourceId: 资源id
|
1153
|
+
# @type ResourceId: String
|
1154
|
+
# @param ResourceName: 资源名称
|
1155
|
+
# @type ResourceName: String
|
1156
|
+
# @param ActionTypeName: 类型名称
|
1157
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1158
|
+
# @type ActionTypeName: String
|
1159
|
+
# @param OrderId: 订单id
|
1160
|
+
# @type OrderId: String
|
1161
|
+
# @param BillId: 交易id
|
1162
|
+
# @type BillId: String
|
1163
|
+
# @param FeeBeginTime: 费用开始时间
|
1164
|
+
# @type FeeBeginTime: String
|
1165
|
+
# @param FeeEndTime: 费用结束时间
|
1166
|
+
# @type FeeEndTime: String
|
1167
|
+
# @param ComponentSet: 组件明细
|
1168
|
+
# @type ComponentSet: Array
|
1169
|
+
# @param ProductCode: 产品代码
|
1170
|
+
# @type ProductCode: String
|
1171
|
+
|
1172
|
+
attr_accessor :PayerUin, :BusinessCodeName, :ProductCodeName, :PayModeName, :ProjectName, :RegionName, :ZoneName, :ResourceId, :ResourceName, :ActionTypeName, :OrderId, :BillId, :FeeBeginTime, :FeeEndTime, :ComponentSet, :ProductCode
|
1173
|
+
|
1174
|
+
def initialize(payeruin=nil, businesscodename=nil, productcodename=nil, paymodename=nil, projectname=nil, regionname=nil, zonename=nil, resourceid=nil, resourcename=nil, actiontypename=nil, orderid=nil, billid=nil, feebegintime=nil, feeendtime=nil, componentset=nil, productcode=nil)
|
1175
|
+
@PayerUin = payeruin
|
1176
|
+
@BusinessCodeName = businesscodename
|
1177
|
+
@ProductCodeName = productcodename
|
1178
|
+
@PayModeName = paymodename
|
1179
|
+
@ProjectName = projectname
|
1180
|
+
@RegionName = regionname
|
1181
|
+
@ZoneName = zonename
|
1182
|
+
@ResourceId = resourceid
|
1183
|
+
@ResourceName = resourcename
|
1184
|
+
@ActionTypeName = actiontypename
|
1185
|
+
@OrderId = orderid
|
1186
|
+
@BillId = billid
|
1187
|
+
@FeeBeginTime = feebegintime
|
1188
|
+
@FeeEndTime = feeendtime
|
1189
|
+
@ComponentSet = componentset
|
1190
|
+
@ProductCode = productcode
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
def deserialize(params)
|
1194
|
+
@PayerUin = params['PayerUin']
|
1195
|
+
@BusinessCodeName = params['BusinessCodeName']
|
1196
|
+
@ProductCodeName = params['ProductCodeName']
|
1197
|
+
@PayModeName = params['PayModeName']
|
1198
|
+
@ProjectName = params['ProjectName']
|
1199
|
+
@RegionName = params['RegionName']
|
1200
|
+
@ZoneName = params['ZoneName']
|
1201
|
+
@ResourceId = params['ResourceId']
|
1202
|
+
@ResourceName = params['ResourceName']
|
1203
|
+
@ActionTypeName = params['ActionTypeName']
|
1204
|
+
@OrderId = params['OrderId']
|
1205
|
+
@BillId = params['BillId']
|
1206
|
+
@FeeBeginTime = params['FeeBeginTime']
|
1207
|
+
@FeeEndTime = params['FeeEndTime']
|
1208
|
+
unless params['ComponentSet'].nil?
|
1209
|
+
@ComponentSet = []
|
1210
|
+
params['ComponentSet'].each do |i|
|
1211
|
+
costcomponentset_tmp = CostComponentSet.new
|
1212
|
+
costcomponentset_tmp.deserialize(i)
|
1213
|
+
@ComponentSet << costcomponentset_tmp
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
@ProductCode = params['ProductCode']
|
1217
|
+
end
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# 订单数据对象
|
1221
|
+
class Deal < TencentCloud::Common::AbstractModel
|
1222
|
+
# @param OrderId: 订单号
|
1223
|
+
# @type OrderId: String
|
1224
|
+
# @param Status: 订单状态
|
1225
|
+
# @type Status: Integer
|
1226
|
+
# @param Payer: 支付者
|
1227
|
+
# @type Payer: String
|
1228
|
+
# @param CreateTime: 创建时间
|
1229
|
+
# @type CreateTime: String
|
1230
|
+
# @param Creator: 创建人
|
1231
|
+
# @type Creator: String
|
1232
|
+
# @param RealTotalCost: 实际支付金额(分)
|
1233
|
+
# @type RealTotalCost: Integer
|
1234
|
+
# @param VoucherDecline: 代金券抵扣金额(分)
|
1235
|
+
# @type VoucherDecline: Integer
|
1236
|
+
# @param ProjectId: 项目ID
|
1237
|
+
# @type ProjectId: Integer
|
1238
|
+
# @param GoodsCategoryId: 产品分类ID
|
1239
|
+
# @type GoodsCategoryId: Integer
|
1240
|
+
# @param ProductInfo: 产品详情
|
1241
|
+
# @type ProductInfo: Array
|
1242
|
+
# @param TimeSpan: 时长
|
1243
|
+
# @type TimeSpan: Float
|
1244
|
+
# @param TimeUnit: 时间单位
|
1245
|
+
# @type TimeUnit: String
|
1246
|
+
# @param Currency: 货币单位
|
1247
|
+
# @type Currency: String
|
1248
|
+
# @param Policy: 折扣率
|
1249
|
+
# @type Policy: Float
|
1250
|
+
# @param Price: 单价(分)
|
1251
|
+
# @type Price: Float
|
1252
|
+
# @param TotalCost: 原价(分)
|
1253
|
+
# @type TotalCost: Float
|
1254
|
+
# @param ProductCode: 产品编码
|
1255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1256
|
+
# @type ProductCode: String
|
1257
|
+
# @param SubProductCode: 子产品编码
|
1258
|
+
# @type SubProductCode: String
|
1259
|
+
# @param BigDealId: 大订单号
|
1260
|
+
# @type BigDealId: String
|
1261
|
+
# @param Formula: 退费公式
|
1262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1263
|
+
# @type Formula: String
|
1264
|
+
# @param RefReturnDeals: 退费涉及订单信息
|
1265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1266
|
+
# @type RefReturnDeals: String
|
1267
|
+
# @param PayMode: 付费模式:prePay 预付费 postPay后付费 riPay预留实例
|
1268
|
+
# @type PayMode: String
|
1269
|
+
|
1270
|
+
attr_accessor :OrderId, :Status, :Payer, :CreateTime, :Creator, :RealTotalCost, :VoucherDecline, :ProjectId, :GoodsCategoryId, :ProductInfo, :TimeSpan, :TimeUnit, :Currency, :Policy, :Price, :TotalCost, :ProductCode, :SubProductCode, :BigDealId, :Formula, :RefReturnDeals, :PayMode
|
1271
|
+
|
1272
|
+
def initialize(orderid=nil, status=nil, payer=nil, createtime=nil, creator=nil, realtotalcost=nil, voucherdecline=nil, projectid=nil, goodscategoryid=nil, productinfo=nil, timespan=nil, timeunit=nil, currency=nil, policy=nil, price=nil, totalcost=nil, productcode=nil, subproductcode=nil, bigdealid=nil, formula=nil, refreturndeals=nil, paymode=nil)
|
1273
|
+
@OrderId = orderid
|
1274
|
+
@Status = status
|
1275
|
+
@Payer = payer
|
1276
|
+
@CreateTime = createtime
|
1277
|
+
@Creator = creator
|
1278
|
+
@RealTotalCost = realtotalcost
|
1279
|
+
@VoucherDecline = voucherdecline
|
1280
|
+
@ProjectId = projectid
|
1281
|
+
@GoodsCategoryId = goodscategoryid
|
1282
|
+
@ProductInfo = productinfo
|
1283
|
+
@TimeSpan = timespan
|
1284
|
+
@TimeUnit = timeunit
|
1285
|
+
@Currency = currency
|
1286
|
+
@Policy = policy
|
1287
|
+
@Price = price
|
1288
|
+
@TotalCost = totalcost
|
1289
|
+
@ProductCode = productcode
|
1290
|
+
@SubProductCode = subproductcode
|
1291
|
+
@BigDealId = bigdealid
|
1292
|
+
@Formula = formula
|
1293
|
+
@RefReturnDeals = refreturndeals
|
1294
|
+
@PayMode = paymode
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
def deserialize(params)
|
1298
|
+
@OrderId = params['OrderId']
|
1299
|
+
@Status = params['Status']
|
1300
|
+
@Payer = params['Payer']
|
1301
|
+
@CreateTime = params['CreateTime']
|
1302
|
+
@Creator = params['Creator']
|
1303
|
+
@RealTotalCost = params['RealTotalCost']
|
1304
|
+
@VoucherDecline = params['VoucherDecline']
|
1305
|
+
@ProjectId = params['ProjectId']
|
1306
|
+
@GoodsCategoryId = params['GoodsCategoryId']
|
1307
|
+
unless params['ProductInfo'].nil?
|
1308
|
+
@ProductInfo = []
|
1309
|
+
params['ProductInfo'].each do |i|
|
1310
|
+
productinfo_tmp = ProductInfo.new
|
1311
|
+
productinfo_tmp.deserialize(i)
|
1312
|
+
@ProductInfo << productinfo_tmp
|
1313
|
+
end
|
1314
|
+
end
|
1315
|
+
@TimeSpan = params['TimeSpan']
|
1316
|
+
@TimeUnit = params['TimeUnit']
|
1317
|
+
@Currency = params['Currency']
|
1318
|
+
@Policy = params['Policy']
|
1319
|
+
@Price = params['Price']
|
1320
|
+
@TotalCost = params['TotalCost']
|
1321
|
+
@ProductCode = params['ProductCode']
|
1322
|
+
@SubProductCode = params['SubProductCode']
|
1323
|
+
@BigDealId = params['BigDealId']
|
1324
|
+
@Formula = params['Formula']
|
1325
|
+
@RefReturnDeals = params['RefReturnDeals']
|
1326
|
+
@PayMode = params['PayMode']
|
1327
|
+
end
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
# DescribeAccountBalance请求参数结构体
|
1331
|
+
class DescribeAccountBalanceRequest < TencentCloud::Common::AbstractModel
|
1332
|
+
|
1333
|
+
|
1334
|
+
def initialize()
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
def deserialize(params)
|
1338
|
+
end
|
1339
|
+
end
|
1340
|
+
|
1341
|
+
# DescribeAccountBalance返回参数结构体
|
1342
|
+
class DescribeAccountBalanceResponse < TencentCloud::Common::AbstractModel
|
1343
|
+
# @param Balance: 接口做过变更,为兼容老接口,本字段与RealBalance相同,为当前真实可用余额,单位 分
|
1344
|
+
# @type Balance: Integer
|
1345
|
+
# @param Uin: 查询的用户Uin
|
1346
|
+
# @type Uin: Integer
|
1347
|
+
# @param RealBalance: 当前真实可用余额,单位 分
|
1348
|
+
# @type RealBalance: Float
|
1349
|
+
# @param CashAccountBalance: 现金账户余额,单位 分
|
1350
|
+
# @type CashAccountBalance: Float
|
1351
|
+
# @param IncomeIntoAccountBalance: 收益转入账户余额,单位 分
|
1352
|
+
# @type IncomeIntoAccountBalance: Float
|
1353
|
+
# @param PresentAccountBalance: 赠送账户余额,单位 分
|
1354
|
+
# @type PresentAccountBalance: Float
|
1355
|
+
# @param FreezeAmount: 冻结金额,单位 分
|
1356
|
+
# @type FreezeAmount: Float
|
1357
|
+
# @param OweAmount: 欠费金额,单位 分
|
1358
|
+
# @type OweAmount: Float
|
1359
|
+
# @param IsAllowArrears: 是否允许欠费消费
|
1360
|
+
# @type IsAllowArrears: Boolean
|
1361
|
+
# @param IsCreditLimited: 是否限制信用额度
|
1362
|
+
# @type IsCreditLimited: Boolean
|
1363
|
+
# @param CreditAmount: 信用额度
|
1364
|
+
# @type CreditAmount: Float
|
1365
|
+
# @param CreditBalance: 可用信用额度
|
1366
|
+
# @type CreditBalance: Float
|
1367
|
+
# @param RealCreditBalance: 真实可用信用额度
|
1368
|
+
# @type RealCreditBalance: Float
|
1369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1370
|
+
# @type RequestId: String
|
1371
|
+
|
1372
|
+
attr_accessor :Balance, :Uin, :RealBalance, :CashAccountBalance, :IncomeIntoAccountBalance, :PresentAccountBalance, :FreezeAmount, :OweAmount, :IsAllowArrears, :IsCreditLimited, :CreditAmount, :CreditBalance, :RealCreditBalance, :RequestId
|
1373
|
+
|
1374
|
+
def initialize(balance=nil, uin=nil, realbalance=nil, cashaccountbalance=nil, incomeintoaccountbalance=nil, presentaccountbalance=nil, freezeamount=nil, oweamount=nil, isallowarrears=nil, iscreditlimited=nil, creditamount=nil, creditbalance=nil, realcreditbalance=nil, requestid=nil)
|
1375
|
+
@Balance = balance
|
1376
|
+
@Uin = uin
|
1377
|
+
@RealBalance = realbalance
|
1378
|
+
@CashAccountBalance = cashaccountbalance
|
1379
|
+
@IncomeIntoAccountBalance = incomeintoaccountbalance
|
1380
|
+
@PresentAccountBalance = presentaccountbalance
|
1381
|
+
@FreezeAmount = freezeamount
|
1382
|
+
@OweAmount = oweamount
|
1383
|
+
@IsAllowArrears = isallowarrears
|
1384
|
+
@IsCreditLimited = iscreditlimited
|
1385
|
+
@CreditAmount = creditamount
|
1386
|
+
@CreditBalance = creditbalance
|
1387
|
+
@RealCreditBalance = realcreditbalance
|
1388
|
+
@RequestId = requestid
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
def deserialize(params)
|
1392
|
+
@Balance = params['Balance']
|
1393
|
+
@Uin = params['Uin']
|
1394
|
+
@RealBalance = params['RealBalance']
|
1395
|
+
@CashAccountBalance = params['CashAccountBalance']
|
1396
|
+
@IncomeIntoAccountBalance = params['IncomeIntoAccountBalance']
|
1397
|
+
@PresentAccountBalance = params['PresentAccountBalance']
|
1398
|
+
@FreezeAmount = params['FreezeAmount']
|
1399
|
+
@OweAmount = params['OweAmount']
|
1400
|
+
@IsAllowArrears = params['IsAllowArrears']
|
1401
|
+
@IsCreditLimited = params['IsCreditLimited']
|
1402
|
+
@CreditAmount = params['CreditAmount']
|
1403
|
+
@CreditBalance = params['CreditBalance']
|
1404
|
+
@RealCreditBalance = params['RealCreditBalance']
|
1405
|
+
@RequestId = params['RequestId']
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# DescribeBillDetail请求参数结构体
|
1410
|
+
class DescribeBillDetailRequest < TencentCloud::Common::AbstractModel
|
1411
|
+
# @param Offset: 偏移量
|
1412
|
+
# @type Offset: Integer
|
1413
|
+
# @param Limit: 数量,最大值为100
|
1414
|
+
# @type Limit: Integer
|
1415
|
+
# @param PeriodType: 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
1416
|
+
# @type PeriodType: String
|
1417
|
+
# @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。
|
1418
|
+
# @type Month: String
|
1419
|
+
# @param BeginTime: 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)
|
1420
|
+
# @type BeginTime: String
|
1421
|
+
# @param EndTime: 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)
|
1422
|
+
# @type EndTime: String
|
1423
|
+
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
1424
|
+
# 1-表示需要, 0-表示不需要
|
1425
|
+
# @type NeedRecordNum: Integer
|
1426
|
+
# @param ProductCode: 查询指定产品信息(暂时未开放获取)
|
1427
|
+
# @type ProductCode: String
|
1428
|
+
# @param PayMode: 付费模式 prePay/postPay
|
1429
|
+
# @type PayMode: String
|
1430
|
+
# @param ResourceId: 查询指定资源信息
|
1431
|
+
# @type ResourceId: String
|
1432
|
+
# @param ActionType: 查询交易类型。如 按量计费日结,按量计费小时结 等
|
1433
|
+
# @type ActionType: String
|
1434
|
+
# @param ProjectId: 项目ID:资源所属项目ID
|
1435
|
+
# @type ProjectId: Integer
|
1436
|
+
|
1437
|
+
attr_accessor :Offset, :Limit, :PeriodType, :Month, :BeginTime, :EndTime, :NeedRecordNum, :ProductCode, :PayMode, :ResourceId, :ActionType, :ProjectId
|
1438
|
+
|
1439
|
+
def initialize(offset=nil, limit=nil, periodtype=nil, month=nil, begintime=nil, endtime=nil, needrecordnum=nil, productcode=nil, paymode=nil, resourceid=nil, actiontype=nil, projectid=nil)
|
1440
|
+
@Offset = offset
|
1441
|
+
@Limit = limit
|
1442
|
+
@PeriodType = periodtype
|
1443
|
+
@Month = month
|
1444
|
+
@BeginTime = begintime
|
1445
|
+
@EndTime = endtime
|
1446
|
+
@NeedRecordNum = needrecordnum
|
1447
|
+
@ProductCode = productcode
|
1448
|
+
@PayMode = paymode
|
1449
|
+
@ResourceId = resourceid
|
1450
|
+
@ActionType = actiontype
|
1451
|
+
@ProjectId = projectid
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
def deserialize(params)
|
1455
|
+
@Offset = params['Offset']
|
1456
|
+
@Limit = params['Limit']
|
1457
|
+
@PeriodType = params['PeriodType']
|
1458
|
+
@Month = params['Month']
|
1459
|
+
@BeginTime = params['BeginTime']
|
1460
|
+
@EndTime = params['EndTime']
|
1461
|
+
@NeedRecordNum = params['NeedRecordNum']
|
1462
|
+
@ProductCode = params['ProductCode']
|
1463
|
+
@PayMode = params['PayMode']
|
1464
|
+
@ResourceId = params['ResourceId']
|
1465
|
+
@ActionType = params['ActionType']
|
1466
|
+
@ProjectId = params['ProjectId']
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
# DescribeBillDetail返回参数结构体
|
1471
|
+
class DescribeBillDetailResponse < TencentCloud::Common::AbstractModel
|
1472
|
+
# @param DetailSet: 详情列表
|
1473
|
+
# @type DetailSet: Array
|
1474
|
+
# @param Total: 总记录数
|
1475
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1476
|
+
# @type Total: Integer
|
1477
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1478
|
+
# @type RequestId: String
|
1479
|
+
|
1480
|
+
attr_accessor :DetailSet, :Total, :RequestId
|
1481
|
+
|
1482
|
+
def initialize(detailset=nil, total=nil, requestid=nil)
|
1483
|
+
@DetailSet = detailset
|
1484
|
+
@Total = total
|
1485
|
+
@RequestId = requestid
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
def deserialize(params)
|
1489
|
+
unless params['DetailSet'].nil?
|
1490
|
+
@DetailSet = []
|
1491
|
+
params['DetailSet'].each do |i|
|
1492
|
+
billdetail_tmp = BillDetail.new
|
1493
|
+
billdetail_tmp.deserialize(i)
|
1494
|
+
@DetailSet << billdetail_tmp
|
1495
|
+
end
|
1496
|
+
end
|
1497
|
+
@Total = params['Total']
|
1498
|
+
@RequestId = params['RequestId']
|
1499
|
+
end
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
# DescribeBillList请求参数结构体
|
1503
|
+
class DescribeBillListRequest < TencentCloud::Common::AbstractModel
|
1504
|
+
# @param StartTime: 查询范围的起始时间(包含)
|
1505
|
+
# @type StartTime: String
|
1506
|
+
# @param EndTime: 查询范围的结束时间(包含)
|
1507
|
+
# @type EndTime: String
|
1508
|
+
# @param Offset: 翻页偏移量,初始值为0
|
1509
|
+
# @type Offset: Integer
|
1510
|
+
# @param Limit: 每页的限制数量
|
1511
|
+
# @type Limit: Integer
|
1512
|
+
# @param PayType: 交易类型: all所有交易类型,recharge充值,return退款,unblock解冻,agentin资金转入,advanced垫付,cash提现,deduct扣费,block冻结,agentout资金转出,repay垫付回款,repayment还款(仅国际信用账户),adj_refund调增(仅国际信用账户),adj_deduct调减(仅国际信用账户)
|
1513
|
+
# @type PayType: Array
|
1514
|
+
# @param SubPayType: 扣费模式,
|
1515
|
+
# 当所选的交易类型为扣费deduct时:
|
1516
|
+
# all所有扣费类型;trade预付费支付;hour_h按量小时结;hour_d按量日结;hour_m按量月结;decompensate调账扣费;other第三方扣费;panshi 线下项目扣费;offline 线下产品扣费;
|
1517
|
+
|
1518
|
+
# 当所选的交易类型为扣费recharge时:
|
1519
|
+
# online 在线充值;bank-enterprice 银企直连;offline 线下充值;transfer 分成充值
|
1520
|
+
|
1521
|
+
# 当所选的交易类型为扣费cash时:
|
1522
|
+
# online 线上提现;offline 线下提现;panshi 赠送金清零
|
1523
|
+
|
1524
|
+
# 当所选的交易类型为扣费advanced时:
|
1525
|
+
# advanced 垫付充值
|
1526
|
+
|
1527
|
+
# 当所选的交易类型为扣费repay时:
|
1528
|
+
# panshi 垫付回款
|
1529
|
+
|
1530
|
+
# 当所选的交易类型为扣费block时:
|
1531
|
+
# other 第三方冻结;hour 按量冻结;month按月冻结
|
1532
|
+
|
1533
|
+
# 当所选的交易类型为扣费return时:
|
1534
|
+
# compensate 调账补偿;trade 预付费退款
|
1535
|
+
|
1536
|
+
# 当所选的交易类型为扣费unblock时:
|
1537
|
+
# other 第三方解冻;hour 按量解冻;month 按月解冻
|
1538
|
+
# @type SubPayType: Array
|
1539
|
+
# @param WithZeroAmount: 是否返回0元交易金额的交易项,取值:0-不返回,1-返回。不传该参数则不返回
|
1540
|
+
# @type WithZeroAmount: Integer
|
1541
|
+
|
1542
|
+
attr_accessor :StartTime, :EndTime, :Offset, :Limit, :PayType, :SubPayType, :WithZeroAmount
|
1543
|
+
|
1544
|
+
def initialize(starttime=nil, endtime=nil, offset=nil, limit=nil, paytype=nil, subpaytype=nil, withzeroamount=nil)
|
1545
|
+
@StartTime = starttime
|
1546
|
+
@EndTime = endtime
|
1547
|
+
@Offset = offset
|
1548
|
+
@Limit = limit
|
1549
|
+
@PayType = paytype
|
1550
|
+
@SubPayType = subpaytype
|
1551
|
+
@WithZeroAmount = withzeroamount
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
def deserialize(params)
|
1555
|
+
@StartTime = params['StartTime']
|
1556
|
+
@EndTime = params['EndTime']
|
1557
|
+
@Offset = params['Offset']
|
1558
|
+
@Limit = params['Limit']
|
1559
|
+
@PayType = params['PayType']
|
1560
|
+
@SubPayType = params['SubPayType']
|
1561
|
+
@WithZeroAmount = params['WithZeroAmount']
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# DescribeBillList返回参数结构体
|
1566
|
+
class DescribeBillListResponse < TencentCloud::Common::AbstractModel
|
1567
|
+
# @param TransactionList: 收支明细列表
|
1568
|
+
# @type TransactionList: Array
|
1569
|
+
# @param Total: 总条数
|
1570
|
+
# @type Total: Integer
|
1571
|
+
# @param ReturnAmount: 退费总额,单位(分)
|
1572
|
+
# @type ReturnAmount: Float
|
1573
|
+
# @param RechargeAmount: 充值总额,单位(分)
|
1574
|
+
# @type RechargeAmount: Float
|
1575
|
+
# @param BlockAmount: 冻结总额,单位(分)
|
1576
|
+
# @type BlockAmount: Float
|
1577
|
+
# @param UnblockAmount: 解冻总额,单位(分)
|
1578
|
+
# @type UnblockAmount: Float
|
1579
|
+
# @param DeductAmount: 扣费总额,单位(分)
|
1580
|
+
# @type DeductAmount: Float
|
1581
|
+
# @param AgentInAmount: 资金转入总额,单位(分)
|
1582
|
+
# @type AgentInAmount: Float
|
1583
|
+
# @param AdvanceRechargeAmount: 垫付充值总额,单位(分)
|
1584
|
+
# @type AdvanceRechargeAmount: Float
|
1585
|
+
# @param WithdrawAmount: 提现扣减总额,单位(分)
|
1586
|
+
# @type WithdrawAmount: Float
|
1587
|
+
# @param AgentOutAmount: 资金转出总额,单位(分)
|
1588
|
+
# @type AgentOutAmount: Float
|
1589
|
+
# @param AdvancePayAmount: 还垫付总额,单位(分)
|
1590
|
+
# @type AdvancePayAmount: Float
|
1591
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1592
|
+
# @type RequestId: String
|
1593
|
+
|
1594
|
+
attr_accessor :TransactionList, :Total, :ReturnAmount, :RechargeAmount, :BlockAmount, :UnblockAmount, :DeductAmount, :AgentInAmount, :AdvanceRechargeAmount, :WithdrawAmount, :AgentOutAmount, :AdvancePayAmount, :RequestId
|
1595
|
+
|
1596
|
+
def initialize(transactionlist=nil, total=nil, returnamount=nil, rechargeamount=nil, blockamount=nil, unblockamount=nil, deductamount=nil, agentinamount=nil, advancerechargeamount=nil, withdrawamount=nil, agentoutamount=nil, advancepayamount=nil, requestid=nil)
|
1597
|
+
@TransactionList = transactionlist
|
1598
|
+
@Total = total
|
1599
|
+
@ReturnAmount = returnamount
|
1600
|
+
@RechargeAmount = rechargeamount
|
1601
|
+
@BlockAmount = blockamount
|
1602
|
+
@UnblockAmount = unblockamount
|
1603
|
+
@DeductAmount = deductamount
|
1604
|
+
@AgentInAmount = agentinamount
|
1605
|
+
@AdvanceRechargeAmount = advancerechargeamount
|
1606
|
+
@WithdrawAmount = withdrawamount
|
1607
|
+
@AgentOutAmount = agentoutamount
|
1608
|
+
@AdvancePayAmount = advancepayamount
|
1609
|
+
@RequestId = requestid
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
def deserialize(params)
|
1613
|
+
unless params['TransactionList'].nil?
|
1614
|
+
@TransactionList = []
|
1615
|
+
params['TransactionList'].each do |i|
|
1616
|
+
billtransactioninfo_tmp = BillTransactionInfo.new
|
1617
|
+
billtransactioninfo_tmp.deserialize(i)
|
1618
|
+
@TransactionList << billtransactioninfo_tmp
|
1619
|
+
end
|
1620
|
+
end
|
1621
|
+
@Total = params['Total']
|
1622
|
+
@ReturnAmount = params['ReturnAmount']
|
1623
|
+
@RechargeAmount = params['RechargeAmount']
|
1624
|
+
@BlockAmount = params['BlockAmount']
|
1625
|
+
@UnblockAmount = params['UnblockAmount']
|
1626
|
+
@DeductAmount = params['DeductAmount']
|
1627
|
+
@AgentInAmount = params['AgentInAmount']
|
1628
|
+
@AdvanceRechargeAmount = params['AdvanceRechargeAmount']
|
1629
|
+
@WithdrawAmount = params['WithdrawAmount']
|
1630
|
+
@AgentOutAmount = params['AgentOutAmount']
|
1631
|
+
@AdvancePayAmount = params['AdvancePayAmount']
|
1632
|
+
@RequestId = params['RequestId']
|
1633
|
+
end
|
1634
|
+
end
|
1635
|
+
|
1636
|
+
# DescribeBillResourceSummary请求参数结构体
|
1637
|
+
class DescribeBillResourceSummaryRequest < TencentCloud::Common::AbstractModel
|
1638
|
+
# @param Offset: 偏移量
|
1639
|
+
# @type Offset: Integer
|
1640
|
+
# @param Limit: 数量,最大值为1000
|
1641
|
+
# @type Limit: Integer
|
1642
|
+
# @param Month: 月份,格式为yyyy-mm。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。
|
1643
|
+
# @type Month: String
|
1644
|
+
# @param PeriodType: 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
1645
|
+
# @type PeriodType: String
|
1646
|
+
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
1647
|
+
# 1-表示需要, 0-表示不需要
|
1648
|
+
# @type NeedRecordNum: Integer
|
1649
|
+
# @param ActionType: 查询交易类型,如下:
|
1650
|
+
# 包年包月新购
|
1651
|
+
# 包年包月续费
|
1652
|
+
# 包年包月配置变更
|
1653
|
+
# 包年包月退款
|
1654
|
+
# 按量计费扣费
|
1655
|
+
# 按量计费小时结
|
1656
|
+
# 按量计费日结
|
1657
|
+
# 按量计费月结
|
1658
|
+
# 线下项目扣费
|
1659
|
+
# 线下产品扣费
|
1660
|
+
# 调账扣费
|
1661
|
+
# 调账补偿
|
1662
|
+
# 竞价实例小时结
|
1663
|
+
# 线下项目调账补偿
|
1664
|
+
# 线下产品调账补偿
|
1665
|
+
# 优惠扣费
|
1666
|
+
# 优惠补偿
|
1667
|
+
# 按量计费迁入资源
|
1668
|
+
# 按量计费迁出资源
|
1669
|
+
# 包年包月迁入资源
|
1670
|
+
# 包年包月迁出资源
|
1671
|
+
# 预付费用
|
1672
|
+
# 小时费用
|
1673
|
+
# 预留实例退款
|
1674
|
+
# 按量计费冲正
|
1675
|
+
# 按量计费冲正
|
1676
|
+
# 按量计费冲正
|
1677
|
+
# 按量计费冲正
|
1678
|
+
# 按量计费冲正
|
1679
|
+
# @type ActionType: String
|
1680
|
+
# @param ResourceId: 查询指定资源信息
|
1681
|
+
# @type ResourceId: String
|
1682
|
+
# @param PayMode: 付费模式 prePay/postPay
|
1683
|
+
# @type PayMode: String
|
1684
|
+
|
1685
|
+
attr_accessor :Offset, :Limit, :Month, :PeriodType, :NeedRecordNum, :ActionType, :ResourceId, :PayMode
|
1686
|
+
|
1687
|
+
def initialize(offset=nil, limit=nil, month=nil, periodtype=nil, needrecordnum=nil, actiontype=nil, resourceid=nil, paymode=nil)
|
1688
|
+
@Offset = offset
|
1689
|
+
@Limit = limit
|
1690
|
+
@Month = month
|
1691
|
+
@PeriodType = periodtype
|
1692
|
+
@NeedRecordNum = needrecordnum
|
1693
|
+
@ActionType = actiontype
|
1694
|
+
@ResourceId = resourceid
|
1695
|
+
@PayMode = paymode
|
1696
|
+
end
|
1697
|
+
|
1698
|
+
def deserialize(params)
|
1699
|
+
@Offset = params['Offset']
|
1700
|
+
@Limit = params['Limit']
|
1701
|
+
@Month = params['Month']
|
1702
|
+
@PeriodType = params['PeriodType']
|
1703
|
+
@NeedRecordNum = params['NeedRecordNum']
|
1704
|
+
@ActionType = params['ActionType']
|
1705
|
+
@ResourceId = params['ResourceId']
|
1706
|
+
@PayMode = params['PayMode']
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
# DescribeBillResourceSummary返回参数结构体
|
1711
|
+
class DescribeBillResourceSummaryResponse < TencentCloud::Common::AbstractModel
|
1712
|
+
# @param ResourceSummarySet: 资源汇总列表
|
1713
|
+
# @type ResourceSummarySet: Array
|
1714
|
+
# @param Total: 资源汇总列表总数
|
1715
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1716
|
+
# @type Total: Integer
|
1717
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1718
|
+
# @type RequestId: String
|
1719
|
+
|
1720
|
+
attr_accessor :ResourceSummarySet, :Total, :RequestId
|
1721
|
+
|
1722
|
+
def initialize(resourcesummaryset=nil, total=nil, requestid=nil)
|
1723
|
+
@ResourceSummarySet = resourcesummaryset
|
1724
|
+
@Total = total
|
1725
|
+
@RequestId = requestid
|
1726
|
+
end
|
1727
|
+
|
1728
|
+
def deserialize(params)
|
1729
|
+
unless params['ResourceSummarySet'].nil?
|
1730
|
+
@ResourceSummarySet = []
|
1731
|
+
params['ResourceSummarySet'].each do |i|
|
1732
|
+
billresourcesummary_tmp = BillResourceSummary.new
|
1733
|
+
billresourcesummary_tmp.deserialize(i)
|
1734
|
+
@ResourceSummarySet << billresourcesummary_tmp
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
@Total = params['Total']
|
1738
|
+
@RequestId = params['RequestId']
|
1739
|
+
end
|
1740
|
+
end
|
1741
|
+
|
1742
|
+
# DescribeBillSummaryByPayMode请求参数结构体
|
1743
|
+
class DescribeBillSummaryByPayModeRequest < TencentCloud::Common::AbstractModel
|
1744
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1745
|
+
# @type BeginTime: String
|
1746
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1747
|
+
# @type EndTime: String
|
1748
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
1749
|
+
# @type PayerUin: String
|
1750
|
+
|
1751
|
+
attr_accessor :BeginTime, :EndTime, :PayerUin
|
1752
|
+
|
1753
|
+
def initialize(begintime=nil, endtime=nil, payeruin=nil)
|
1754
|
+
@BeginTime = begintime
|
1755
|
+
@EndTime = endtime
|
1756
|
+
@PayerUin = payeruin
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
def deserialize(params)
|
1760
|
+
@BeginTime = params['BeginTime']
|
1761
|
+
@EndTime = params['EndTime']
|
1762
|
+
@PayerUin = params['PayerUin']
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# DescribeBillSummaryByPayMode返回参数结构体
|
1767
|
+
class DescribeBillSummaryByPayModeResponse < TencentCloud::Common::AbstractModel
|
1768
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
1769
|
+
# @type Ready: Integer
|
1770
|
+
# @param SummaryOverview: 各付费模式花费分布详情
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type SummaryOverview: Array
|
1773
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1774
|
+
# @type RequestId: String
|
1775
|
+
|
1776
|
+
attr_accessor :Ready, :SummaryOverview, :RequestId
|
1777
|
+
|
1778
|
+
def initialize(ready=nil, summaryoverview=nil, requestid=nil)
|
1779
|
+
@Ready = ready
|
1780
|
+
@SummaryOverview = summaryoverview
|
1781
|
+
@RequestId = requestid
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
def deserialize(params)
|
1785
|
+
@Ready = params['Ready']
|
1786
|
+
unless params['SummaryOverview'].nil?
|
1787
|
+
@SummaryOverview = []
|
1788
|
+
params['SummaryOverview'].each do |i|
|
1789
|
+
paymodesummaryoverviewitem_tmp = PayModeSummaryOverviewItem.new
|
1790
|
+
paymodesummaryoverviewitem_tmp.deserialize(i)
|
1791
|
+
@SummaryOverview << paymodesummaryoverviewitem_tmp
|
1792
|
+
end
|
1793
|
+
end
|
1794
|
+
@RequestId = params['RequestId']
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
# DescribeBillSummaryByProduct请求参数结构体
|
1799
|
+
class DescribeBillSummaryByProductRequest < TencentCloud::Common::AbstractModel
|
1800
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1801
|
+
# @type BeginTime: String
|
1802
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1803
|
+
# @type EndTime: String
|
1804
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
1805
|
+
# @type PayerUin: String
|
1806
|
+
# @param PayType: 款项类别,与L0账单上的汇总类别对应。
|
1807
|
+
# 此参数自账单3.0(即2021-05)之后开始生效。
|
1808
|
+
# 枚举值:
|
1809
|
+
# consume-消费
|
1810
|
+
# refund-退款
|
1811
|
+
# adjustment-调账
|
1812
|
+
# @type PayType: String
|
1813
|
+
|
1814
|
+
attr_accessor :BeginTime, :EndTime, :PayerUin, :PayType
|
1815
|
+
|
1816
|
+
def initialize(begintime=nil, endtime=nil, payeruin=nil, paytype=nil)
|
1817
|
+
@BeginTime = begintime
|
1818
|
+
@EndTime = endtime
|
1819
|
+
@PayerUin = payeruin
|
1820
|
+
@PayType = paytype
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
def deserialize(params)
|
1824
|
+
@BeginTime = params['BeginTime']
|
1825
|
+
@EndTime = params['EndTime']
|
1826
|
+
@PayerUin = params['PayerUin']
|
1827
|
+
@PayType = params['PayType']
|
1828
|
+
end
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# DescribeBillSummaryByProduct返回参数结构体
|
1832
|
+
class DescribeBillSummaryByProductResponse < TencentCloud::Common::AbstractModel
|
1833
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
1834
|
+
# @type Ready: Integer
|
1835
|
+
# @param SummaryTotal: 总花费详情
|
1836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1837
|
+
# @type SummaryTotal: :class:`Tencentcloud::Billing.v20180709.models.BusinessSummaryTotal`
|
1838
|
+
# @param SummaryOverview: 各产品花费分布
|
1839
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1840
|
+
# @type SummaryOverview: Array
|
1841
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1842
|
+
# @type RequestId: String
|
1843
|
+
|
1844
|
+
attr_accessor :Ready, :SummaryTotal, :SummaryOverview, :RequestId
|
1845
|
+
|
1846
|
+
def initialize(ready=nil, summarytotal=nil, summaryoverview=nil, requestid=nil)
|
1847
|
+
@Ready = ready
|
1848
|
+
@SummaryTotal = summarytotal
|
1849
|
+
@SummaryOverview = summaryoverview
|
1850
|
+
@RequestId = requestid
|
1851
|
+
end
|
1852
|
+
|
1853
|
+
def deserialize(params)
|
1854
|
+
@Ready = params['Ready']
|
1855
|
+
unless params['SummaryTotal'].nil?
|
1856
|
+
@SummaryTotal = BusinessSummaryTotal.new
|
1857
|
+
@SummaryTotal.deserialize(params['SummaryTotal'])
|
1858
|
+
end
|
1859
|
+
unless params['SummaryOverview'].nil?
|
1860
|
+
@SummaryOverview = []
|
1861
|
+
params['SummaryOverview'].each do |i|
|
1862
|
+
businesssummaryoverviewitem_tmp = BusinessSummaryOverviewItem.new
|
1863
|
+
businesssummaryoverviewitem_tmp.deserialize(i)
|
1864
|
+
@SummaryOverview << businesssummaryoverviewitem_tmp
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
@RequestId = params['RequestId']
|
1868
|
+
end
|
1869
|
+
end
|
1870
|
+
|
1871
|
+
# DescribeBillSummaryByProject请求参数结构体
|
1872
|
+
class DescribeBillSummaryByProjectRequest < TencentCloud::Common::AbstractModel
|
1873
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1874
|
+
# @type BeginTime: String
|
1875
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1876
|
+
# @type EndTime: String
|
1877
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
1878
|
+
# @type PayerUin: String
|
1879
|
+
|
1880
|
+
attr_accessor :BeginTime, :EndTime, :PayerUin
|
1881
|
+
|
1882
|
+
def initialize(begintime=nil, endtime=nil, payeruin=nil)
|
1883
|
+
@BeginTime = begintime
|
1884
|
+
@EndTime = endtime
|
1885
|
+
@PayerUin = payeruin
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@BeginTime = params['BeginTime']
|
1890
|
+
@EndTime = params['EndTime']
|
1891
|
+
@PayerUin = params['PayerUin']
|
1892
|
+
end
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
# DescribeBillSummaryByProject返回参数结构体
|
1896
|
+
class DescribeBillSummaryByProjectResponse < TencentCloud::Common::AbstractModel
|
1897
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
1898
|
+
# @type Ready: Integer
|
1899
|
+
# @param SummaryOverview: 各项目花费分布详情
|
1900
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1901
|
+
# @type SummaryOverview: Array
|
1902
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1903
|
+
# @type RequestId: String
|
1904
|
+
|
1905
|
+
attr_accessor :Ready, :SummaryOverview, :RequestId
|
1906
|
+
|
1907
|
+
def initialize(ready=nil, summaryoverview=nil, requestid=nil)
|
1908
|
+
@Ready = ready
|
1909
|
+
@SummaryOverview = summaryoverview
|
1910
|
+
@RequestId = requestid
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
def deserialize(params)
|
1914
|
+
@Ready = params['Ready']
|
1915
|
+
unless params['SummaryOverview'].nil?
|
1916
|
+
@SummaryOverview = []
|
1917
|
+
params['SummaryOverview'].each do |i|
|
1918
|
+
projectsummaryoverviewitem_tmp = ProjectSummaryOverviewItem.new
|
1919
|
+
projectsummaryoverviewitem_tmp.deserialize(i)
|
1920
|
+
@SummaryOverview << projectsummaryoverviewitem_tmp
|
1921
|
+
end
|
1922
|
+
end
|
1923
|
+
@RequestId = params['RequestId']
|
1924
|
+
end
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# DescribeBillSummaryByRegion请求参数结构体
|
1928
|
+
class DescribeBillSummaryByRegionRequest < TencentCloud::Common::AbstractModel
|
1929
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1930
|
+
# @type BeginTime: String
|
1931
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1932
|
+
# @type EndTime: String
|
1933
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
1934
|
+
# @type PayerUin: String
|
1935
|
+
|
1936
|
+
attr_accessor :BeginTime, :EndTime, :PayerUin
|
1937
|
+
|
1938
|
+
def initialize(begintime=nil, endtime=nil, payeruin=nil)
|
1939
|
+
@BeginTime = begintime
|
1940
|
+
@EndTime = endtime
|
1941
|
+
@PayerUin = payeruin
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
def deserialize(params)
|
1945
|
+
@BeginTime = params['BeginTime']
|
1946
|
+
@EndTime = params['EndTime']
|
1947
|
+
@PayerUin = params['PayerUin']
|
1948
|
+
end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
# DescribeBillSummaryByRegion返回参数结构体
|
1952
|
+
class DescribeBillSummaryByRegionResponse < TencentCloud::Common::AbstractModel
|
1953
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
1954
|
+
# @type Ready: Integer
|
1955
|
+
# @param SummaryOverview: 各地域花费分布详情
|
1956
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1957
|
+
# @type SummaryOverview: Array
|
1958
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1959
|
+
# @type RequestId: String
|
1960
|
+
|
1961
|
+
attr_accessor :Ready, :SummaryOverview, :RequestId
|
1962
|
+
|
1963
|
+
def initialize(ready=nil, summaryoverview=nil, requestid=nil)
|
1964
|
+
@Ready = ready
|
1965
|
+
@SummaryOverview = summaryoverview
|
1966
|
+
@RequestId = requestid
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
def deserialize(params)
|
1970
|
+
@Ready = params['Ready']
|
1971
|
+
unless params['SummaryOverview'].nil?
|
1972
|
+
@SummaryOverview = []
|
1973
|
+
params['SummaryOverview'].each do |i|
|
1974
|
+
regionsummaryoverviewitem_tmp = RegionSummaryOverviewItem.new
|
1975
|
+
regionsummaryoverviewitem_tmp.deserialize(i)
|
1976
|
+
@SummaryOverview << regionsummaryoverviewitem_tmp
|
1977
|
+
end
|
1978
|
+
end
|
1979
|
+
@RequestId = params['RequestId']
|
1980
|
+
end
|
1981
|
+
end
|
1982
|
+
|
1983
|
+
# DescribeBillSummaryByTag请求参数结构体
|
1984
|
+
class DescribeBillSummaryByTagRequest < TencentCloud::Common::AbstractModel
|
1985
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1986
|
+
# @type BeginTime: String
|
1987
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
1988
|
+
# @type EndTime: String
|
1989
|
+
# @param TagKey: 分账标签键
|
1990
|
+
# @type TagKey: String
|
1991
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
1992
|
+
# @type PayerUin: String
|
1993
|
+
# @param TagValue: 分账标签值
|
1994
|
+
# @type TagValue: String
|
1995
|
+
|
1996
|
+
attr_accessor :BeginTime, :EndTime, :TagKey, :PayerUin, :TagValue
|
1997
|
+
|
1998
|
+
def initialize(begintime=nil, endtime=nil, tagkey=nil, payeruin=nil, tagvalue=nil)
|
1999
|
+
@BeginTime = begintime
|
2000
|
+
@EndTime = endtime
|
2001
|
+
@TagKey = tagkey
|
2002
|
+
@PayerUin = payeruin
|
2003
|
+
@TagValue = tagvalue
|
2004
|
+
end
|
2005
|
+
|
2006
|
+
def deserialize(params)
|
2007
|
+
@BeginTime = params['BeginTime']
|
2008
|
+
@EndTime = params['EndTime']
|
2009
|
+
@TagKey = params['TagKey']
|
2010
|
+
@PayerUin = params['PayerUin']
|
2011
|
+
@TagValue = params['TagValue']
|
2012
|
+
end
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
# DescribeBillSummaryByTag返回参数结构体
|
2016
|
+
class DescribeBillSummaryByTagResponse < TencentCloud::Common::AbstractModel
|
2017
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2018
|
+
# @type Ready: Integer
|
2019
|
+
# @param SummaryOverview: 各标签值花费分布详情
|
2020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2021
|
+
# @type SummaryOverview: Array
|
2022
|
+
# @param SummaryTotal: 总数
|
2023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2024
|
+
# @type SummaryTotal: :class:`Tencentcloud::Billing.v20180709.models.SummaryTotal`
|
2025
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2026
|
+
# @type RequestId: String
|
2027
|
+
|
2028
|
+
attr_accessor :Ready, :SummaryOverview, :SummaryTotal, :RequestId
|
2029
|
+
|
2030
|
+
def initialize(ready=nil, summaryoverview=nil, summarytotal=nil, requestid=nil)
|
2031
|
+
@Ready = ready
|
2032
|
+
@SummaryOverview = summaryoverview
|
2033
|
+
@SummaryTotal = summarytotal
|
2034
|
+
@RequestId = requestid
|
2035
|
+
end
|
2036
|
+
|
2037
|
+
def deserialize(params)
|
2038
|
+
@Ready = params['Ready']
|
2039
|
+
unless params['SummaryOverview'].nil?
|
2040
|
+
@SummaryOverview = []
|
2041
|
+
params['SummaryOverview'].each do |i|
|
2042
|
+
tagsummaryoverviewitem_tmp = TagSummaryOverviewItem.new
|
2043
|
+
tagsummaryoverviewitem_tmp.deserialize(i)
|
2044
|
+
@SummaryOverview << tagsummaryoverviewitem_tmp
|
2045
|
+
end
|
2046
|
+
end
|
2047
|
+
unless params['SummaryTotal'].nil?
|
2048
|
+
@SummaryTotal = SummaryTotal.new
|
2049
|
+
@SummaryTotal.deserialize(params['SummaryTotal'])
|
2050
|
+
end
|
2051
|
+
@RequestId = params['RequestId']
|
2052
|
+
end
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
# DescribeCostDetail请求参数结构体
|
2056
|
+
class DescribeCostDetailRequest < TencentCloud::Common::AbstractModel
|
2057
|
+
# @param Limit: 数量,最大值为100
|
2058
|
+
# @type Limit: Integer
|
2059
|
+
# @param Offset: 偏移量
|
2060
|
+
# @type Offset: Integer
|
2061
|
+
# @param BeginTime: 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
|
2062
|
+
# @type BeginTime: String
|
2063
|
+
# @param EndTime: 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
|
2064
|
+
# @type EndTime: String
|
2065
|
+
# @param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
2066
|
+
# 1-表示需要, 0-表示不需要
|
2067
|
+
# @type NeedRecordNum: Integer
|
2068
|
+
# @param Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
|
2069
|
+
# @type Month: String
|
2070
|
+
# @param ProductCode: 查询指定产品信息(暂时未开放获取)
|
2071
|
+
# @type ProductCode: String
|
2072
|
+
# @param PayMode: 付费模式 prePay/postPay
|
2073
|
+
# @type PayMode: String
|
2074
|
+
# @param ResourceId: 查询指定资源信息
|
2075
|
+
# @type ResourceId: String
|
2076
|
+
|
2077
|
+
attr_accessor :Limit, :Offset, :BeginTime, :EndTime, :NeedRecordNum, :Month, :ProductCode, :PayMode, :ResourceId
|
2078
|
+
|
2079
|
+
def initialize(limit=nil, offset=nil, begintime=nil, endtime=nil, needrecordnum=nil, month=nil, productcode=nil, paymode=nil, resourceid=nil)
|
2080
|
+
@Limit = limit
|
2081
|
+
@Offset = offset
|
2082
|
+
@BeginTime = begintime
|
2083
|
+
@EndTime = endtime
|
2084
|
+
@NeedRecordNum = needrecordnum
|
2085
|
+
@Month = month
|
2086
|
+
@ProductCode = productcode
|
2087
|
+
@PayMode = paymode
|
2088
|
+
@ResourceId = resourceid
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
def deserialize(params)
|
2092
|
+
@Limit = params['Limit']
|
2093
|
+
@Offset = params['Offset']
|
2094
|
+
@BeginTime = params['BeginTime']
|
2095
|
+
@EndTime = params['EndTime']
|
2096
|
+
@NeedRecordNum = params['NeedRecordNum']
|
2097
|
+
@Month = params['Month']
|
2098
|
+
@ProductCode = params['ProductCode']
|
2099
|
+
@PayMode = params['PayMode']
|
2100
|
+
@ResourceId = params['ResourceId']
|
2101
|
+
end
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
# DescribeCostDetail返回参数结构体
|
2105
|
+
class DescribeCostDetailResponse < TencentCloud::Common::AbstractModel
|
2106
|
+
# @param DetailSet: 消耗明细
|
2107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2108
|
+
# @type DetailSet: Array
|
2109
|
+
# @param Total: 记录数
|
2110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2111
|
+
# @type Total: Integer
|
2112
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2113
|
+
# @type RequestId: String
|
2114
|
+
|
2115
|
+
attr_accessor :DetailSet, :Total, :RequestId
|
2116
|
+
|
2117
|
+
def initialize(detailset=nil, total=nil, requestid=nil)
|
2118
|
+
@DetailSet = detailset
|
2119
|
+
@Total = total
|
2120
|
+
@RequestId = requestid
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
def deserialize(params)
|
2124
|
+
unless params['DetailSet'].nil?
|
2125
|
+
@DetailSet = []
|
2126
|
+
params['DetailSet'].each do |i|
|
2127
|
+
costdetail_tmp = CostDetail.new
|
2128
|
+
costdetail_tmp.deserialize(i)
|
2129
|
+
@DetailSet << costdetail_tmp
|
2130
|
+
end
|
2131
|
+
end
|
2132
|
+
@Total = params['Total']
|
2133
|
+
@RequestId = params['RequestId']
|
2134
|
+
end
|
2135
|
+
end
|
2136
|
+
|
2137
|
+
# DescribeCostSummaryByProduct请求参数结构体
|
2138
|
+
class DescribeCostSummaryByProductRequest < TencentCloud::Common::AbstractModel
|
2139
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2140
|
+
# @type BeginTime: String
|
2141
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2142
|
+
# @type EndTime: String
|
2143
|
+
# @param Limit: 每次获取数据量
|
2144
|
+
# @type Limit: Integer
|
2145
|
+
# @param Offset: 偏移量
|
2146
|
+
# @type Offset: Integer
|
2147
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
2148
|
+
# @type PayerUin: String
|
2149
|
+
# @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要
|
2150
|
+
# @type NeedRecordNum: Integer
|
2151
|
+
|
2152
|
+
attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum
|
2153
|
+
|
2154
|
+
def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil)
|
2155
|
+
@BeginTime = begintime
|
2156
|
+
@EndTime = endtime
|
2157
|
+
@Limit = limit
|
2158
|
+
@Offset = offset
|
2159
|
+
@PayerUin = payeruin
|
2160
|
+
@NeedRecordNum = needrecordnum
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
def deserialize(params)
|
2164
|
+
@BeginTime = params['BeginTime']
|
2165
|
+
@EndTime = params['EndTime']
|
2166
|
+
@Limit = params['Limit']
|
2167
|
+
@Offset = params['Offset']
|
2168
|
+
@PayerUin = params['PayerUin']
|
2169
|
+
@NeedRecordNum = params['NeedRecordNum']
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# DescribeCostSummaryByProduct返回参数结构体
|
2174
|
+
class DescribeCostSummaryByProductResponse < TencentCloud::Common::AbstractModel
|
2175
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2176
|
+
# @type Ready: Integer
|
2177
|
+
# @param Total: 消耗详情
|
2178
|
+
# @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
|
2179
|
+
# @param Data: 消耗按产品汇总详情
|
2180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2181
|
+
# @type Data: Array
|
2182
|
+
# @param RecordNum: 记录数量,NeedRecordNum为0是返回null
|
2183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2184
|
+
# @type RecordNum: Integer
|
2185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2186
|
+
# @type RequestId: String
|
2187
|
+
|
2188
|
+
attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId
|
2189
|
+
|
2190
|
+
def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil)
|
2191
|
+
@Ready = ready
|
2192
|
+
@Total = total
|
2193
|
+
@Data = data
|
2194
|
+
@RecordNum = recordnum
|
2195
|
+
@RequestId = requestid
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
def deserialize(params)
|
2199
|
+
@Ready = params['Ready']
|
2200
|
+
unless params['Total'].nil?
|
2201
|
+
@Total = ConsumptionSummaryTotal.new
|
2202
|
+
@Total.deserialize(params['Total'])
|
2203
|
+
end
|
2204
|
+
unless params['Data'].nil?
|
2205
|
+
@Data = []
|
2206
|
+
params['Data'].each do |i|
|
2207
|
+
consumptionbusinesssummarydataitem_tmp = ConsumptionBusinessSummaryDataItem.new
|
2208
|
+
consumptionbusinesssummarydataitem_tmp.deserialize(i)
|
2209
|
+
@Data << consumptionbusinesssummarydataitem_tmp
|
2210
|
+
end
|
2211
|
+
end
|
2212
|
+
@RecordNum = params['RecordNum']
|
2213
|
+
@RequestId = params['RequestId']
|
2214
|
+
end
|
2215
|
+
end
|
2216
|
+
|
2217
|
+
# DescribeCostSummaryByProject请求参数结构体
|
2218
|
+
class DescribeCostSummaryByProjectRequest < TencentCloud::Common::AbstractModel
|
2219
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2220
|
+
# @type BeginTime: String
|
2221
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2222
|
+
# @type EndTime: String
|
2223
|
+
# @param Limit: 每次获取数据量
|
2224
|
+
# @type Limit: Integer
|
2225
|
+
# @param Offset: 偏移量
|
2226
|
+
# @type Offset: Integer
|
2227
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
2228
|
+
# @type PayerUin: String
|
2229
|
+
# @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要
|
2230
|
+
# @type NeedRecordNum: Integer
|
2231
|
+
|
2232
|
+
attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum
|
2233
|
+
|
2234
|
+
def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil)
|
2235
|
+
@BeginTime = begintime
|
2236
|
+
@EndTime = endtime
|
2237
|
+
@Limit = limit
|
2238
|
+
@Offset = offset
|
2239
|
+
@PayerUin = payeruin
|
2240
|
+
@NeedRecordNum = needrecordnum
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
def deserialize(params)
|
2244
|
+
@BeginTime = params['BeginTime']
|
2245
|
+
@EndTime = params['EndTime']
|
2246
|
+
@Limit = params['Limit']
|
2247
|
+
@Offset = params['Offset']
|
2248
|
+
@PayerUin = params['PayerUin']
|
2249
|
+
@NeedRecordNum = params['NeedRecordNum']
|
2250
|
+
end
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# DescribeCostSummaryByProject返回参数结构体
|
2254
|
+
class DescribeCostSummaryByProjectResponse < TencentCloud::Common::AbstractModel
|
2255
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2256
|
+
# @type Ready: Integer
|
2257
|
+
# @param Total: 消耗详情
|
2258
|
+
# @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
|
2259
|
+
# @param Data: 消耗按业务汇总详情
|
2260
|
+
# @type Data: Array
|
2261
|
+
# @param RecordNum: 记录数量,NeedRecordNum为0是返回null
|
2262
|
+
# @type RecordNum: Integer
|
2263
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2264
|
+
# @type RequestId: String
|
2265
|
+
|
2266
|
+
attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId
|
2267
|
+
|
2268
|
+
def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil)
|
2269
|
+
@Ready = ready
|
2270
|
+
@Total = total
|
2271
|
+
@Data = data
|
2272
|
+
@RecordNum = recordnum
|
2273
|
+
@RequestId = requestid
|
2274
|
+
end
|
2275
|
+
|
2276
|
+
def deserialize(params)
|
2277
|
+
@Ready = params['Ready']
|
2278
|
+
unless params['Total'].nil?
|
2279
|
+
@Total = ConsumptionSummaryTotal.new
|
2280
|
+
@Total.deserialize(params['Total'])
|
2281
|
+
end
|
2282
|
+
unless params['Data'].nil?
|
2283
|
+
@Data = []
|
2284
|
+
params['Data'].each do |i|
|
2285
|
+
consumptionprojectsummarydataitem_tmp = ConsumptionProjectSummaryDataItem.new
|
2286
|
+
consumptionprojectsummarydataitem_tmp.deserialize(i)
|
2287
|
+
@Data << consumptionprojectsummarydataitem_tmp
|
2288
|
+
end
|
2289
|
+
end
|
2290
|
+
@RecordNum = params['RecordNum']
|
2291
|
+
@RequestId = params['RequestId']
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
# DescribeCostSummaryByRegion请求参数结构体
|
2296
|
+
class DescribeCostSummaryByRegionRequest < TencentCloud::Common::AbstractModel
|
2297
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2298
|
+
# @type BeginTime: String
|
2299
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2300
|
+
# @type EndTime: String
|
2301
|
+
# @param Limit: 每次获取数据量
|
2302
|
+
# @type Limit: Integer
|
2303
|
+
# @param Offset: 偏移量
|
2304
|
+
# @type Offset: Integer
|
2305
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
2306
|
+
# @type PayerUin: String
|
2307
|
+
# @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要
|
2308
|
+
# @type NeedRecordNum: Integer
|
2309
|
+
|
2310
|
+
attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum
|
2311
|
+
|
2312
|
+
def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil)
|
2313
|
+
@BeginTime = begintime
|
2314
|
+
@EndTime = endtime
|
2315
|
+
@Limit = limit
|
2316
|
+
@Offset = offset
|
2317
|
+
@PayerUin = payeruin
|
2318
|
+
@NeedRecordNum = needrecordnum
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
def deserialize(params)
|
2322
|
+
@BeginTime = params['BeginTime']
|
2323
|
+
@EndTime = params['EndTime']
|
2324
|
+
@Limit = params['Limit']
|
2325
|
+
@Offset = params['Offset']
|
2326
|
+
@PayerUin = params['PayerUin']
|
2327
|
+
@NeedRecordNum = params['NeedRecordNum']
|
2328
|
+
end
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# DescribeCostSummaryByRegion返回参数结构体
|
2332
|
+
class DescribeCostSummaryByRegionResponse < TencentCloud::Common::AbstractModel
|
2333
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2334
|
+
# @type Ready: Integer
|
2335
|
+
# @param Total: 消耗详情
|
2336
|
+
# @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
|
2337
|
+
# @param Data: 消耗按地域汇总详情
|
2338
|
+
# @type Data: Array
|
2339
|
+
# @param RecordNum: 记录数量,NeedRecordNum为0是返回null
|
2340
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2341
|
+
# @type RecordNum: Integer
|
2342
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2343
|
+
# @type RequestId: String
|
2344
|
+
|
2345
|
+
attr_accessor :Ready, :Total, :Data, :RecordNum, :RequestId
|
2346
|
+
|
2347
|
+
def initialize(ready=nil, total=nil, data=nil, recordnum=nil, requestid=nil)
|
2348
|
+
@Ready = ready
|
2349
|
+
@Total = total
|
2350
|
+
@Data = data
|
2351
|
+
@RecordNum = recordnum
|
2352
|
+
@RequestId = requestid
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
def deserialize(params)
|
2356
|
+
@Ready = params['Ready']
|
2357
|
+
unless params['Total'].nil?
|
2358
|
+
@Total = ConsumptionSummaryTotal.new
|
2359
|
+
@Total.deserialize(params['Total'])
|
2360
|
+
end
|
2361
|
+
unless params['Data'].nil?
|
2362
|
+
@Data = []
|
2363
|
+
params['Data'].each do |i|
|
2364
|
+
consumptionregionsummarydataitem_tmp = ConsumptionRegionSummaryDataItem.new
|
2365
|
+
consumptionregionsummarydataitem_tmp.deserialize(i)
|
2366
|
+
@Data << consumptionregionsummarydataitem_tmp
|
2367
|
+
end
|
2368
|
+
end
|
2369
|
+
@RecordNum = params['RecordNum']
|
2370
|
+
@RequestId = params['RequestId']
|
2371
|
+
end
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# DescribeCostSummaryByResource请求参数结构体
|
2375
|
+
class DescribeCostSummaryByResourceRequest < TencentCloud::Common::AbstractModel
|
2376
|
+
# @param BeginTime: 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2377
|
+
# @type BeginTime: String
|
2378
|
+
# @param EndTime: 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
2379
|
+
# @type EndTime: String
|
2380
|
+
# @param Limit: 每次获取数据量
|
2381
|
+
# @type Limit: Integer
|
2382
|
+
# @param Offset: 偏移量
|
2383
|
+
# @type Offset: Integer
|
2384
|
+
# @param PayerUin: 查询账单数据的用户UIN
|
2385
|
+
# @type PayerUin: String
|
2386
|
+
# @param NeedRecordNum: 是否需要返回记录数量,0不需要,1需要,默认不需要
|
2387
|
+
# @type NeedRecordNum: Integer
|
2388
|
+
# @param NeedConditionValue: 是否需要返回过滤条件,0不需要,1需要,默认不需要
|
2389
|
+
# @type NeedConditionValue: Integer
|
2390
|
+
# @param Conditions: 过滤条件,只支持ResourceKeyword(资源关键字,支持资源id及资源名称模糊查询),ProjectIds(项目id),RegionIds(地域id),PayModes(付费模式,可选prePay和postPay),HideFreeCost(是否隐藏0元流水,可选0和1),OrderByCost(按费用排序规则,可选desc和asc)
|
2391
|
+
# @type Conditions: :class:`Tencentcloud::Billing.v20180709.models.Conditions`
|
2392
|
+
|
2393
|
+
attr_accessor :BeginTime, :EndTime, :Limit, :Offset, :PayerUin, :NeedRecordNum, :NeedConditionValue, :Conditions
|
2394
|
+
|
2395
|
+
def initialize(begintime=nil, endtime=nil, limit=nil, offset=nil, payeruin=nil, needrecordnum=nil, needconditionvalue=nil, conditions=nil)
|
2396
|
+
@BeginTime = begintime
|
2397
|
+
@EndTime = endtime
|
2398
|
+
@Limit = limit
|
2399
|
+
@Offset = offset
|
2400
|
+
@PayerUin = payeruin
|
2401
|
+
@NeedRecordNum = needrecordnum
|
2402
|
+
@NeedConditionValue = needconditionvalue
|
2403
|
+
@Conditions = conditions
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
def deserialize(params)
|
2407
|
+
@BeginTime = params['BeginTime']
|
2408
|
+
@EndTime = params['EndTime']
|
2409
|
+
@Limit = params['Limit']
|
2410
|
+
@Offset = params['Offset']
|
2411
|
+
@PayerUin = params['PayerUin']
|
2412
|
+
@NeedRecordNum = params['NeedRecordNum']
|
2413
|
+
@NeedConditionValue = params['NeedConditionValue']
|
2414
|
+
unless params['Conditions'].nil?
|
2415
|
+
@Conditions = Conditions.new
|
2416
|
+
@Conditions.deserialize(params['Conditions'])
|
2417
|
+
end
|
2418
|
+
end
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# DescribeCostSummaryByResource返回参数结构体
|
2422
|
+
class DescribeCostSummaryByResourceResponse < TencentCloud::Common::AbstractModel
|
2423
|
+
# @param Ready: 数据是否准备好,0未准备好,1准备好
|
2424
|
+
# @type Ready: Integer
|
2425
|
+
# @param Total: 消耗详情
|
2426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2427
|
+
# @type Total: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionSummaryTotal`
|
2428
|
+
# @param ConditionValue: 过滤条件
|
2429
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2430
|
+
# @type ConditionValue: :class:`Tencentcloud::Billing.v20180709.models.ConsumptionResourceSummaryConditionValue`
|
2431
|
+
# @param RecordNum: 记录数量
|
2432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2433
|
+
# @type RecordNum: Integer
|
2434
|
+
# @param Data: 资源消耗详情
|
2435
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2436
|
+
# @type Data: Array
|
2437
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2438
|
+
# @type RequestId: String
|
2439
|
+
|
2440
|
+
attr_accessor :Ready, :Total, :ConditionValue, :RecordNum, :Data, :RequestId
|
2441
|
+
|
2442
|
+
def initialize(ready=nil, total=nil, conditionvalue=nil, recordnum=nil, data=nil, requestid=nil)
|
2443
|
+
@Ready = ready
|
2444
|
+
@Total = total
|
2445
|
+
@ConditionValue = conditionvalue
|
2446
|
+
@RecordNum = recordnum
|
2447
|
+
@Data = data
|
2448
|
+
@RequestId = requestid
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
def deserialize(params)
|
2452
|
+
@Ready = params['Ready']
|
2453
|
+
unless params['Total'].nil?
|
2454
|
+
@Total = ConsumptionSummaryTotal.new
|
2455
|
+
@Total.deserialize(params['Total'])
|
2456
|
+
end
|
2457
|
+
unless params['ConditionValue'].nil?
|
2458
|
+
@ConditionValue = ConsumptionResourceSummaryConditionValue.new
|
2459
|
+
@ConditionValue.deserialize(params['ConditionValue'])
|
2460
|
+
end
|
2461
|
+
@RecordNum = params['RecordNum']
|
2462
|
+
unless params['Data'].nil?
|
2463
|
+
@Data = []
|
2464
|
+
params['Data'].each do |i|
|
2465
|
+
consumptionresourcesummarydataitem_tmp = ConsumptionResourceSummaryDataItem.new
|
2466
|
+
consumptionresourcesummarydataitem_tmp.deserialize(i)
|
2467
|
+
@Data << consumptionresourcesummarydataitem_tmp
|
2468
|
+
end
|
2469
|
+
end
|
2470
|
+
@RequestId = params['RequestId']
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
|
2474
|
+
# DescribeDealsByCond请求参数结构体
|
2475
|
+
class DescribeDealsByCondRequest < TencentCloud::Common::AbstractModel
|
2476
|
+
# @param StartTime: 开始时间
|
2477
|
+
# @type StartTime: String
|
2478
|
+
# @param EndTime: 结束时间
|
2479
|
+
# @type EndTime: String
|
2480
|
+
# @param Limit: 一页多少条数据,默认是20条,最大不超过1000
|
2481
|
+
# @type Limit: Integer
|
2482
|
+
# @param Offset: 第多少页,从0开始,默认是0
|
2483
|
+
# @type Offset: Integer
|
2484
|
+
# @param Status: 订单状态,默认为4(成功的订单)
|
2485
|
+
# 订单的状态
|
2486
|
+
# 1:未支付
|
2487
|
+
# 2:已支付3:发货中
|
2488
|
+
# 4:已发货
|
2489
|
+
# 5:发货失败
|
2490
|
+
# 6:已退款
|
2491
|
+
# 7:已关单
|
2492
|
+
# 8:订单过期
|
2493
|
+
# 9:订单已失效
|
2494
|
+
# 10:产品已失效
|
2495
|
+
# 11:代付拒绝
|
2496
|
+
# 12:支付中
|
2497
|
+
# @type Status: Integer
|
2498
|
+
# @param OrderId: 订单号
|
2499
|
+
# @type OrderId: String
|
2500
|
+
# @param BigDealId: 大订单号
|
2501
|
+
# @type BigDealId: String
|
2502
|
+
|
2503
|
+
attr_accessor :StartTime, :EndTime, :Limit, :Offset, :Status, :OrderId, :BigDealId
|
2504
|
+
|
2505
|
+
def initialize(starttime=nil, endtime=nil, limit=nil, offset=nil, status=nil, orderid=nil, bigdealid=nil)
|
2506
|
+
@StartTime = starttime
|
2507
|
+
@EndTime = endtime
|
2508
|
+
@Limit = limit
|
2509
|
+
@Offset = offset
|
2510
|
+
@Status = status
|
2511
|
+
@OrderId = orderid
|
2512
|
+
@BigDealId = bigdealid
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
def deserialize(params)
|
2516
|
+
@StartTime = params['StartTime']
|
2517
|
+
@EndTime = params['EndTime']
|
2518
|
+
@Limit = params['Limit']
|
2519
|
+
@Offset = params['Offset']
|
2520
|
+
@Status = params['Status']
|
2521
|
+
@OrderId = params['OrderId']
|
2522
|
+
@BigDealId = params['BigDealId']
|
2523
|
+
end
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
# DescribeDealsByCond返回参数结构体
|
2527
|
+
class DescribeDealsByCondResponse < TencentCloud::Common::AbstractModel
|
2528
|
+
# @param Deals: 订单列表
|
2529
|
+
# @type Deals: Array
|
2530
|
+
# @param TotalCount: 订单总数
|
2531
|
+
# @type TotalCount: Integer
|
2532
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2533
|
+
# @type RequestId: String
|
2534
|
+
|
2535
|
+
attr_accessor :Deals, :TotalCount, :RequestId
|
2536
|
+
|
2537
|
+
def initialize(deals=nil, totalcount=nil, requestid=nil)
|
2538
|
+
@Deals = deals
|
2539
|
+
@TotalCount = totalcount
|
2540
|
+
@RequestId = requestid
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
def deserialize(params)
|
2544
|
+
unless params['Deals'].nil?
|
2545
|
+
@Deals = []
|
2546
|
+
params['Deals'].each do |i|
|
2547
|
+
deal_tmp = Deal.new
|
2548
|
+
deal_tmp.deserialize(i)
|
2549
|
+
@Deals << deal_tmp
|
2550
|
+
end
|
2551
|
+
end
|
2552
|
+
@TotalCount = params['TotalCount']
|
2553
|
+
@RequestId = params['RequestId']
|
2554
|
+
end
|
2555
|
+
end
|
2556
|
+
|
2557
|
+
# DescribeDosageCosDetailByDate请求参数结构体
|
2558
|
+
class DescribeDosageCosDetailByDateRequest < TencentCloud::Common::AbstractModel
|
2559
|
+
# @param StartDate: 查询用量开始时间
|
2560
|
+
# @type StartDate: String
|
2561
|
+
# @param EndDate: 查询用量结束时间(与开始时间同月,不支持跨月查询)
|
2562
|
+
# @type EndDate: String
|
2563
|
+
# @param BucketName: COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)https://cloud.tencent.com/document/product/436/8291
|
2564
|
+
# @type BucketName: String
|
2565
|
+
|
2566
|
+
attr_accessor :StartDate, :EndDate, :BucketName
|
2567
|
+
|
2568
|
+
def initialize(startdate=nil, enddate=nil, bucketname=nil)
|
2569
|
+
@StartDate = startdate
|
2570
|
+
@EndDate = enddate
|
2571
|
+
@BucketName = bucketname
|
2572
|
+
end
|
2573
|
+
|
2574
|
+
def deserialize(params)
|
2575
|
+
@StartDate = params['StartDate']
|
2576
|
+
@EndDate = params['EndDate']
|
2577
|
+
@BucketName = params['BucketName']
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# DescribeDosageCosDetailByDate返回参数结构体
|
2582
|
+
class DescribeDosageCosDetailByDateResponse < TencentCloud::Common::AbstractModel
|
2583
|
+
# @param DetailSets: 用量数组
|
2584
|
+
# @type DetailSets: Array
|
2585
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2586
|
+
# @type RequestId: String
|
2587
|
+
|
2588
|
+
attr_accessor :DetailSets, :RequestId
|
2589
|
+
|
2590
|
+
def initialize(detailsets=nil, requestid=nil)
|
2591
|
+
@DetailSets = detailsets
|
2592
|
+
@RequestId = requestid
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
def deserialize(params)
|
2596
|
+
unless params['DetailSets'].nil?
|
2597
|
+
@DetailSets = []
|
2598
|
+
params['DetailSets'].each do |i|
|
2599
|
+
cosdetailsets_tmp = CosDetailSets.new
|
2600
|
+
cosdetailsets_tmp.deserialize(i)
|
2601
|
+
@DetailSets << cosdetailsets_tmp
|
2602
|
+
end
|
2603
|
+
end
|
2604
|
+
@RequestId = params['RequestId']
|
2605
|
+
end
|
2606
|
+
end
|
2607
|
+
|
2608
|
+
# DescribeDosageDetailByDate请求参数结构体
|
2609
|
+
class DescribeDosageDetailByDateRequest < TencentCloud::Common::AbstractModel
|
2610
|
+
# @param StartDate: 查询账单开始日期,如 2019-01-01
|
2611
|
+
# @type StartDate: String
|
2612
|
+
# @param EndDate: 查询账单结束日期,如 2019-01-01, 时间跨度不超过7天
|
2613
|
+
# @type EndDate: String
|
2614
|
+
# @param ProductCode: 互动直播:
|
2615
|
+
# 10194 互动直播-核心机房 :
|
2616
|
+
# 10195 互动直播-边缘机房
|
2617
|
+
|
2618
|
+
# cdn业务:
|
2619
|
+
# 10180:CDN静态加速流量(国内)
|
2620
|
+
# 10181:CDN静态加速带宽(国内)
|
2621
|
+
# 10182:CDN静态加速普通流量
|
2622
|
+
# 10183:CDN静态加速普通带宽
|
2623
|
+
# 10231:CDN静态加速流量(海外)
|
2624
|
+
# 10232:CDN静态加速带宽(海外)
|
2625
|
+
|
2626
|
+
# 100967:弹性公网IP-按流量计费
|
2627
|
+
# 101065:公网负载均衡-按流量计费
|
2628
|
+
|
2629
|
+
# 视频直播
|
2630
|
+
# 10226 视频直播流量(国内)
|
2631
|
+
# 10227 视频直播带宽(国内)
|
2632
|
+
# 100763 视频直播流量(海外)
|
2633
|
+
# 100762 视频直播宽带(海外)
|
2634
|
+
# @type ProductCode: String
|
2635
|
+
# @param Domain: 查询域名 例如 www.qq.com
|
2636
|
+
# 非CDN业务查询时值为空
|
2637
|
+
# @type Domain: String
|
2638
|
+
# @param InstanceID: 1、如果为空,则返回EIP或CLB所有实例的明细;
|
2639
|
+
# 2、如果传入实例名,则返回该实例明细
|
2640
|
+
# @type InstanceID: String
|
2641
|
+
|
2642
|
+
attr_accessor :StartDate, :EndDate, :ProductCode, :Domain, :InstanceID
|
2643
|
+
|
2644
|
+
def initialize(startdate=nil, enddate=nil, productcode=nil, domain=nil, instanceid=nil)
|
2645
|
+
@StartDate = startdate
|
2646
|
+
@EndDate = enddate
|
2647
|
+
@ProductCode = productcode
|
2648
|
+
@Domain = domain
|
2649
|
+
@InstanceID = instanceid
|
2650
|
+
end
|
2651
|
+
|
2652
|
+
def deserialize(params)
|
2653
|
+
@StartDate = params['StartDate']
|
2654
|
+
@EndDate = params['EndDate']
|
2655
|
+
@ProductCode = params['ProductCode']
|
2656
|
+
@Domain = params['Domain']
|
2657
|
+
@InstanceID = params['InstanceID']
|
2658
|
+
end
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
# DescribeDosageDetailByDate返回参数结构体
|
2662
|
+
class DescribeDosageDetailByDateResponse < TencentCloud::Common::AbstractModel
|
2663
|
+
# @param Unit: 计量单位
|
2664
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2665
|
+
# @type Unit: String
|
2666
|
+
# @param DetailSets: 用量数组
|
2667
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2668
|
+
# @type DetailSets: Array
|
2669
|
+
# @param RetCode: 错误码
|
2670
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2671
|
+
# @type RetCode: Integer
|
2672
|
+
# @param RetMsg: 错误信息
|
2673
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2674
|
+
# @type RetMsg: String
|
2675
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2676
|
+
# @type RequestId: String
|
2677
|
+
|
2678
|
+
attr_accessor :Unit, :DetailSets, :RetCode, :RetMsg, :RequestId
|
2679
|
+
|
2680
|
+
def initialize(unit=nil, detailsets=nil, retcode=nil, retmsg=nil, requestid=nil)
|
2681
|
+
@Unit = unit
|
2682
|
+
@DetailSets = detailsets
|
2683
|
+
@RetCode = retcode
|
2684
|
+
@RetMsg = retmsg
|
2685
|
+
@RequestId = requestid
|
2686
|
+
end
|
2687
|
+
|
2688
|
+
def deserialize(params)
|
2689
|
+
@Unit = params['Unit']
|
2690
|
+
unless params['DetailSets'].nil?
|
2691
|
+
@DetailSets = []
|
2692
|
+
params['DetailSets'].each do |i|
|
2693
|
+
detailset_tmp = DetailSet.new
|
2694
|
+
detailset_tmp.deserialize(i)
|
2695
|
+
@DetailSets << detailset_tmp
|
2696
|
+
end
|
2697
|
+
end
|
2698
|
+
@RetCode = params['RetCode']
|
2699
|
+
@RetMsg = params['RetMsg']
|
2700
|
+
@RequestId = params['RequestId']
|
2701
|
+
end
|
2702
|
+
end
|
2703
|
+
|
2704
|
+
# 由时间和值组成的数据结构
|
2705
|
+
class DetailPoint < TencentCloud::Common::AbstractModel
|
2706
|
+
# @param Time: 时间
|
2707
|
+
# @type Time: String
|
2708
|
+
# @param Value: 值
|
2709
|
+
# @type Value: String
|
2710
|
+
|
2711
|
+
attr_accessor :Time, :Value
|
2712
|
+
|
2713
|
+
def initialize(time=nil, value=nil)
|
2714
|
+
@Time = time
|
2715
|
+
@Value = value
|
2716
|
+
end
|
2717
|
+
|
2718
|
+
def deserialize(params)
|
2719
|
+
@Time = params['Time']
|
2720
|
+
@Value = params['Value']
|
2721
|
+
end
|
2722
|
+
end
|
2723
|
+
|
2724
|
+
# 由域名和使用明细组成的数据结构
|
2725
|
+
class DetailSet < TencentCloud::Common::AbstractModel
|
2726
|
+
# @param Domain: 域名
|
2727
|
+
# @type Domain: String
|
2728
|
+
# @param DetailPoints: 使用数据明细
|
2729
|
+
# @type DetailPoints: Array
|
2730
|
+
# @param InstanceID: 实例ID
|
2731
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2732
|
+
# @type InstanceID: String
|
2733
|
+
|
2734
|
+
attr_accessor :Domain, :DetailPoints, :InstanceID
|
2735
|
+
|
2736
|
+
def initialize(domain=nil, detailpoints=nil, instanceid=nil)
|
2737
|
+
@Domain = domain
|
2738
|
+
@DetailPoints = detailpoints
|
2739
|
+
@InstanceID = instanceid
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
def deserialize(params)
|
2743
|
+
@Domain = params['Domain']
|
2744
|
+
unless params['DetailPoints'].nil?
|
2745
|
+
@DetailPoints = []
|
2746
|
+
params['DetailPoints'].each do |i|
|
2747
|
+
detailpoint_tmp = DetailPoint.new
|
2748
|
+
detailpoint_tmp.deserialize(i)
|
2749
|
+
@DetailPoints << detailpoint_tmp
|
2750
|
+
end
|
2751
|
+
end
|
2752
|
+
@InstanceID = params['InstanceID']
|
2753
|
+
end
|
2754
|
+
end
|
2755
|
+
|
2756
|
+
# PayDeals请求参数结构体
|
2757
|
+
class PayDealsRequest < TencentCloud::Common::AbstractModel
|
2758
|
+
# @param OrderIds: 需要支付的一个或者多个子订单号,与BigDealIds字段两者必须且仅传一个参数
|
2759
|
+
# @type OrderIds: Array
|
2760
|
+
# @param AutoVoucher: 是否自动使用代金券,1:是,0否,默认0
|
2761
|
+
# @type AutoVoucher: Integer
|
2762
|
+
# @param VoucherIds: 代金券ID列表,目前仅支持指定一张代金券
|
2763
|
+
# @type VoucherIds: Array
|
2764
|
+
# @param BigDealIds: 需要支付的一个或者多个大订单号,与OrderIds字段两者必须且仅传一个参数
|
2765
|
+
# @type BigDealIds: Array
|
2766
|
+
|
2767
|
+
attr_accessor :OrderIds, :AutoVoucher, :VoucherIds, :BigDealIds
|
2768
|
+
|
2769
|
+
def initialize(orderids=nil, autovoucher=nil, voucherids=nil, bigdealids=nil)
|
2770
|
+
@OrderIds = orderids
|
2771
|
+
@AutoVoucher = autovoucher
|
2772
|
+
@VoucherIds = voucherids
|
2773
|
+
@BigDealIds = bigdealids
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
def deserialize(params)
|
2777
|
+
@OrderIds = params['OrderIds']
|
2778
|
+
@AutoVoucher = params['AutoVoucher']
|
2779
|
+
@VoucherIds = params['VoucherIds']
|
2780
|
+
@BigDealIds = params['BigDealIds']
|
2781
|
+
end
|
2782
|
+
end
|
2783
|
+
|
2784
|
+
# PayDeals返回参数结构体
|
2785
|
+
class PayDealsResponse < TencentCloud::Common::AbstractModel
|
2786
|
+
# @param OrderIds: 此次操作支付成功的子订单号数组
|
2787
|
+
# @type OrderIds: Array
|
2788
|
+
# @param ResourceIds: 此次操作支付成功的资源Id数组
|
2789
|
+
# @type ResourceIds: Array
|
2790
|
+
# @param BigDealIds: 此次操作支付成功的大订单号数组
|
2791
|
+
# @type BigDealIds: Array
|
2792
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2793
|
+
# @type RequestId: String
|
2794
|
+
|
2795
|
+
attr_accessor :OrderIds, :ResourceIds, :BigDealIds, :RequestId
|
2796
|
+
|
2797
|
+
def initialize(orderids=nil, resourceids=nil, bigdealids=nil, requestid=nil)
|
2798
|
+
@OrderIds = orderids
|
2799
|
+
@ResourceIds = resourceids
|
2800
|
+
@BigDealIds = bigdealids
|
2801
|
+
@RequestId = requestid
|
2802
|
+
end
|
2803
|
+
|
2804
|
+
def deserialize(params)
|
2805
|
+
@OrderIds = params['OrderIds']
|
2806
|
+
@ResourceIds = params['ResourceIds']
|
2807
|
+
@BigDealIds = params['BigDealIds']
|
2808
|
+
@RequestId = params['RequestId']
|
2809
|
+
end
|
2810
|
+
end
|
2811
|
+
|
2812
|
+
# 按付费模式汇总消费详情
|
2813
|
+
class PayModeSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
2814
|
+
# @param PayMode: 付费模式
|
2815
|
+
# @type PayMode: String
|
2816
|
+
# @param PayModeName: 付费模式名称
|
2817
|
+
# @type PayModeName: String
|
2818
|
+
# @param RealTotalCost: 实际花费
|
2819
|
+
# @type RealTotalCost: String
|
2820
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
2821
|
+
# @type RealTotalCostRatio: String
|
2822
|
+
# @param Detail: 按交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型汇总消费详情
|
2823
|
+
# @type Detail: Array
|
2824
|
+
# @param CashPayAmount: 现金金额
|
2825
|
+
# @type CashPayAmount: String
|
2826
|
+
# @param IncentivePayAmount: 赠送金金额
|
2827
|
+
# @type IncentivePayAmount: String
|
2828
|
+
# @param VoucherPayAmount: 代金券金额
|
2829
|
+
# @type VoucherPayAmount: String
|
2830
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
2831
|
+
# @type TotalCost: String
|
2832
|
+
|
2833
|
+
attr_accessor :PayMode, :PayModeName, :RealTotalCost, :RealTotalCostRatio, :Detail, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :TotalCost
|
2834
|
+
|
2835
|
+
def initialize(paymode=nil, paymodename=nil, realtotalcost=nil, realtotalcostratio=nil, detail=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, totalcost=nil)
|
2836
|
+
@PayMode = paymode
|
2837
|
+
@PayModeName = paymodename
|
2838
|
+
@RealTotalCost = realtotalcost
|
2839
|
+
@RealTotalCostRatio = realtotalcostratio
|
2840
|
+
@Detail = detail
|
2841
|
+
@CashPayAmount = cashpayamount
|
2842
|
+
@IncentivePayAmount = incentivepayamount
|
2843
|
+
@VoucherPayAmount = voucherpayamount
|
2844
|
+
@TotalCost = totalcost
|
2845
|
+
end
|
2846
|
+
|
2847
|
+
def deserialize(params)
|
2848
|
+
@PayMode = params['PayMode']
|
2849
|
+
@PayModeName = params['PayModeName']
|
2850
|
+
@RealTotalCost = params['RealTotalCost']
|
2851
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
2852
|
+
unless params['Detail'].nil?
|
2853
|
+
@Detail = []
|
2854
|
+
params['Detail'].each do |i|
|
2855
|
+
actionsummaryoverviewitem_tmp = ActionSummaryOverviewItem.new
|
2856
|
+
actionsummaryoverviewitem_tmp.deserialize(i)
|
2857
|
+
@Detail << actionsummaryoverviewitem_tmp
|
2858
|
+
end
|
2859
|
+
end
|
2860
|
+
@CashPayAmount = params['CashPayAmount']
|
2861
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
2862
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
2863
|
+
@TotalCost = params['TotalCost']
|
2864
|
+
end
|
2865
|
+
end
|
2866
|
+
|
2867
|
+
# 商品详细信息
|
2868
|
+
class ProductInfo < TencentCloud::Common::AbstractModel
|
2869
|
+
# @param Name: 商品详情名称标识
|
2870
|
+
# @type Name: String
|
2871
|
+
# @param Value: 商品详情
|
2872
|
+
# @type Value: String
|
2873
|
+
|
2874
|
+
attr_accessor :Name, :Value
|
2875
|
+
|
2876
|
+
def initialize(name=nil, value=nil)
|
2877
|
+
@Name = name
|
2878
|
+
@Value = value
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
def deserialize(params)
|
2882
|
+
@Name = params['Name']
|
2883
|
+
@Value = params['Value']
|
2884
|
+
end
|
2885
|
+
end
|
2886
|
+
|
2887
|
+
# 按项目汇总消费详情
|
2888
|
+
class ProjectSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
2889
|
+
# @param ProjectId: 项目ID
|
2890
|
+
# @type ProjectId: String
|
2891
|
+
# @param ProjectName: 项目名称
|
2892
|
+
# @type ProjectName: String
|
2893
|
+
# @param RealTotalCost: 实际花费
|
2894
|
+
# @type RealTotalCost: String
|
2895
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
2896
|
+
# @type RealTotalCostRatio: String
|
2897
|
+
# @param CashPayAmount: 现金金额
|
2898
|
+
# @type CashPayAmount: String
|
2899
|
+
# @param IncentivePayAmount: 赠送金金额
|
2900
|
+
# @type IncentivePayAmount: String
|
2901
|
+
# @param VoucherPayAmount: 代金券金额
|
2902
|
+
# @type VoucherPayAmount: String
|
2903
|
+
# @param BillMonth: 账单月份,格式2019-08
|
2904
|
+
# @type BillMonth: String
|
2905
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
2906
|
+
# @type TotalCost: String
|
2907
|
+
|
2908
|
+
attr_accessor :ProjectId, :ProjectName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost
|
2909
|
+
|
2910
|
+
def initialize(projectid=nil, projectname=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil)
|
2911
|
+
@ProjectId = projectid
|
2912
|
+
@ProjectName = projectname
|
2913
|
+
@RealTotalCost = realtotalcost
|
2914
|
+
@RealTotalCostRatio = realtotalcostratio
|
2915
|
+
@CashPayAmount = cashpayamount
|
2916
|
+
@IncentivePayAmount = incentivepayamount
|
2917
|
+
@VoucherPayAmount = voucherpayamount
|
2918
|
+
@BillMonth = billmonth
|
2919
|
+
@TotalCost = totalcost
|
2920
|
+
end
|
2921
|
+
|
2922
|
+
def deserialize(params)
|
2923
|
+
@ProjectId = params['ProjectId']
|
2924
|
+
@ProjectName = params['ProjectName']
|
2925
|
+
@RealTotalCost = params['RealTotalCost']
|
2926
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
2927
|
+
@CashPayAmount = params['CashPayAmount']
|
2928
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
2929
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
2930
|
+
@BillMonth = params['BillMonth']
|
2931
|
+
@TotalCost = params['TotalCost']
|
2932
|
+
end
|
2933
|
+
end
|
2934
|
+
|
2935
|
+
# 按地域汇总消费详情
|
2936
|
+
class RegionSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
2937
|
+
# @param RegionId: 地域ID
|
2938
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2939
|
+
# @type RegionId: String
|
2940
|
+
# @param RegionName: 地域名称
|
2941
|
+
# @type RegionName: String
|
2942
|
+
# @param RealTotalCost: 实际花费
|
2943
|
+
# @type RealTotalCost: String
|
2944
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
2945
|
+
# @type RealTotalCostRatio: String
|
2946
|
+
# @param CashPayAmount: 现金金额
|
2947
|
+
# @type CashPayAmount: String
|
2948
|
+
# @param IncentivePayAmount: 赠送金金额
|
2949
|
+
# @type IncentivePayAmount: String
|
2950
|
+
# @param VoucherPayAmount: 代金券金额
|
2951
|
+
# @type VoucherPayAmount: String
|
2952
|
+
# @param BillMonth: 账单月份,格式2019-08
|
2953
|
+
# @type BillMonth: String
|
2954
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
2955
|
+
# @type TotalCost: String
|
2956
|
+
|
2957
|
+
attr_accessor :RegionId, :RegionName, :RealTotalCost, :RealTotalCostRatio, :CashPayAmount, :IncentivePayAmount, :VoucherPayAmount, :BillMonth, :TotalCost
|
2958
|
+
|
2959
|
+
def initialize(regionid=nil, regionname=nil, realtotalcost=nil, realtotalcostratio=nil, cashpayamount=nil, incentivepayamount=nil, voucherpayamount=nil, billmonth=nil, totalcost=nil)
|
2960
|
+
@RegionId = regionid
|
2961
|
+
@RegionName = regionname
|
2962
|
+
@RealTotalCost = realtotalcost
|
2963
|
+
@RealTotalCostRatio = realtotalcostratio
|
2964
|
+
@CashPayAmount = cashpayamount
|
2965
|
+
@IncentivePayAmount = incentivepayamount
|
2966
|
+
@VoucherPayAmount = voucherpayamount
|
2967
|
+
@BillMonth = billmonth
|
2968
|
+
@TotalCost = totalcost
|
2969
|
+
end
|
2970
|
+
|
2971
|
+
def deserialize(params)
|
2972
|
+
@RegionId = params['RegionId']
|
2973
|
+
@RegionName = params['RegionName']
|
2974
|
+
@RealTotalCost = params['RealTotalCost']
|
2975
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
2976
|
+
@CashPayAmount = params['CashPayAmount']
|
2977
|
+
@IncentivePayAmount = params['IncentivePayAmount']
|
2978
|
+
@VoucherPayAmount = params['VoucherPayAmount']
|
2979
|
+
@BillMonth = params['BillMonth']
|
2980
|
+
@TotalCost = params['TotalCost']
|
2981
|
+
end
|
2982
|
+
end
|
2983
|
+
|
2984
|
+
# 总数
|
2985
|
+
class SummaryTotal < TencentCloud::Common::AbstractModel
|
2986
|
+
# @param RealTotalCost: 总数
|
2987
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2988
|
+
# @type RealTotalCost: String
|
2989
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
2990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2991
|
+
# @type TotalCost: String
|
2992
|
+
|
2993
|
+
attr_accessor :RealTotalCost, :TotalCost
|
2994
|
+
|
2995
|
+
def initialize(realtotalcost=nil, totalcost=nil)
|
2996
|
+
@RealTotalCost = realtotalcost
|
2997
|
+
@TotalCost = totalcost
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
def deserialize(params)
|
3001
|
+
@RealTotalCost = params['RealTotalCost']
|
3002
|
+
@TotalCost = params['TotalCost']
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
# 按标签汇总消费详情
|
3007
|
+
class TagSummaryOverviewItem < TencentCloud::Common::AbstractModel
|
3008
|
+
# @param TagValue: 标签值
|
3009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3010
|
+
# @type TagValue: String
|
3011
|
+
# @param RealTotalCost: 实际花费
|
3012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3013
|
+
# @type RealTotalCost: String
|
3014
|
+
# @param RealTotalCostRatio: 费用所占百分比,两位小数
|
3015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3016
|
+
# @type RealTotalCostRatio: String
|
3017
|
+
# @param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
3018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3019
|
+
# @type TotalCost: String
|
3020
|
+
|
3021
|
+
attr_accessor :TagValue, :RealTotalCost, :RealTotalCostRatio, :TotalCost
|
3022
|
+
|
3023
|
+
def initialize(tagvalue=nil, realtotalcost=nil, realtotalcostratio=nil, totalcost=nil)
|
3024
|
+
@TagValue = tagvalue
|
3025
|
+
@RealTotalCost = realtotalcost
|
3026
|
+
@RealTotalCostRatio = realtotalcostratio
|
3027
|
+
@TotalCost = totalcost
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
def deserialize(params)
|
3031
|
+
@TagValue = params['TagValue']
|
3032
|
+
@RealTotalCost = params['RealTotalCost']
|
3033
|
+
@RealTotalCostRatio = params['RealTotalCostRatio']
|
3034
|
+
@TotalCost = params['TotalCost']
|
3035
|
+
end
|
3036
|
+
end
|
3037
|
+
|
3038
|
+
end
|
3039
|
+
end
|
3040
|
+
end
|
3041
|
+
|