tencentcloud-sdk-python-billing 3.0.895__tar.gz → 3.0.900__tar.gz
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.
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/billing/v20180709/billing_client.py +1 -1
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/billing/v20180709/models.py +224 -215
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud_sdk_python_billing.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/README.rst +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/setup.cfg +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/setup.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/billing/__init__.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/billing/v20180709/__init__.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud/billing/v20180709/errorcodes.py +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud_sdk_python_billing.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud_sdk_python_billing.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/tencentcloud_sdk_python_billing.egg-info/top_level.txt +0 -0
|
@@ -122,7 +122,7 @@ class BillingClient(AbstractClient):
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
def DescribeBillSummaryByPayMode(self, request):
|
|
125
|
-
"""
|
|
125
|
+
"""获取按计费模式汇总费用分布
|
|
126
126
|
|
|
127
127
|
:param request: Request instance for DescribeBillSummaryByPayMode.
|
|
128
128
|
:type request: :class:`tencentcloud.billing.v20180709.models.DescribeBillSummaryByPayModeRequest`
|
|
@@ -25,51 +25,51 @@ class ActionSummaryOverviewItem(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param ActionType:
|
|
28
|
+
:param ActionType: 交易类型编码
|
|
29
29
|
:type ActionType: str
|
|
30
|
-
:param ActionTypeName:
|
|
30
|
+
:param ActionTypeName: 交易类型:如包年包月新购、包年包月续费、按量计费扣费等类型
|
|
31
31
|
:type ActionTypeName: str
|
|
32
|
-
:param RealTotalCost: 实际花费
|
|
33
|
-
:type RealTotalCost: str
|
|
34
32
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
35
33
|
:type RealTotalCostRatio: str
|
|
36
|
-
:param
|
|
34
|
+
:param RealTotalCost: 优惠后总价
|
|
35
|
+
:type RealTotalCost: str
|
|
36
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
37
37
|
:type CashPayAmount: str
|
|
38
|
-
:param IncentivePayAmount:
|
|
38
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
39
39
|
:type IncentivePayAmount: str
|
|
40
|
-
:param VoucherPayAmount:
|
|
40
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
41
41
|
:type VoucherPayAmount: str
|
|
42
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
43
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
44
|
+
:type TransferPayAmount: str
|
|
42
45
|
:param BillMonth: 账单月份,格式2019-08
|
|
43
46
|
:type BillMonth: str
|
|
44
47
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
45
48
|
:type TotalCost: str
|
|
46
|
-
:param TransferPayAmount: 分成金金额
|
|
47
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
-
:type TransferPayAmount: str
|
|
49
49
|
"""
|
|
50
50
|
self.ActionType = None
|
|
51
51
|
self.ActionTypeName = None
|
|
52
|
-
self.RealTotalCost = None
|
|
53
52
|
self.RealTotalCostRatio = None
|
|
53
|
+
self.RealTotalCost = None
|
|
54
54
|
self.CashPayAmount = None
|
|
55
55
|
self.IncentivePayAmount = None
|
|
56
56
|
self.VoucherPayAmount = None
|
|
57
|
+
self.TransferPayAmount = None
|
|
57
58
|
self.BillMonth = None
|
|
58
59
|
self.TotalCost = None
|
|
59
|
-
self.TransferPayAmount = None
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
def _deserialize(self, params):
|
|
63
63
|
self.ActionType = params.get("ActionType")
|
|
64
64
|
self.ActionTypeName = params.get("ActionTypeName")
|
|
65
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
66
65
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
66
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
67
67
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
68
68
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
69
69
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
70
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
70
71
|
self.BillMonth = params.get("BillMonth")
|
|
71
72
|
self.TotalCost = params.get("TotalCost")
|
|
72
|
-
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
73
73
|
memeber_set = set(params.keys())
|
|
74
74
|
for name, value in vars(self).items():
|
|
75
75
|
if name in memeber_set:
|
|
@@ -114,58 +114,58 @@ class BillDetail(AbstractModel):
|
|
|
114
114
|
|
|
115
115
|
def __init__(self):
|
|
116
116
|
r"""
|
|
117
|
-
:param BusinessCodeName:
|
|
117
|
+
:param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
|
118
118
|
:type BusinessCodeName: str
|
|
119
|
-
:param ProductCodeName:
|
|
119
|
+
:param ProductCodeName: 子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1
|
|
120
120
|
:type ProductCodeName: str
|
|
121
|
-
:param PayModeName:
|
|
121
|
+
:param PayModeName: 计费模式:资源的计费模式,区分为包年包月和按量计费
|
|
122
122
|
:type PayModeName: str
|
|
123
|
-
:param ProjectName:
|
|
123
|
+
:param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
|
124
124
|
:type ProjectName: str
|
|
125
|
-
:param RegionName:
|
|
125
|
+
:param RegionName: 地域:资源所属地域,如华南地区(广州)
|
|
126
126
|
:type RegionName: str
|
|
127
127
|
:param ZoneName: 可用区:资源所属可用区,如广州三区
|
|
128
128
|
:type ZoneName: str
|
|
129
|
-
:param ResourceId:
|
|
129
|
+
:param ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
|
130
130
|
:type ResourceId: str
|
|
131
|
-
:param ResourceName:
|
|
131
|
+
:param ResourceName: 资源别名:用户在控制台为资源设置的名称,如果未设置,则默认为空
|
|
132
132
|
:type ResourceName: str
|
|
133
|
-
:param ActionTypeName:
|
|
133
|
+
:param ActionTypeName: 交易类型,如包年包月新购、包年包月续费、按量计费扣费等类型
|
|
134
134
|
:type ActionTypeName: str
|
|
135
|
-
:param OrderId: 订单ID
|
|
135
|
+
:param OrderId: 订单ID:包年包月计费模式下订购的订单号
|
|
136
136
|
:type OrderId: str
|
|
137
|
-
:param BillId: 交易ID
|
|
137
|
+
:param BillId: 交易ID:结算扣费单号
|
|
138
138
|
:type BillId: str
|
|
139
|
-
:param PayTime:
|
|
139
|
+
:param PayTime: 扣费时间:结算扣费时间
|
|
140
140
|
:type PayTime: str
|
|
141
|
-
:param FeeBeginTime:
|
|
141
|
+
:param FeeBeginTime: 开始使用时间:产品服务开始使用时间
|
|
142
142
|
:type FeeBeginTime: str
|
|
143
|
-
:param FeeEndTime:
|
|
143
|
+
:param FeeEndTime: 结束使用时间:产品服务结束使用时间
|
|
144
144
|
:type FeeEndTime: str
|
|
145
145
|
:param ComponentSet: 组件列表
|
|
146
146
|
:type ComponentSet: list of BillDetailComponent
|
|
147
|
-
:param PayerUin: 支付者UIN
|
|
147
|
+
:param PayerUin: 支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识
|
|
148
148
|
:type PayerUin: str
|
|
149
|
-
:param OwnerUin: 使用者UIN
|
|
149
|
+
:param OwnerUin: 使用者UIN:实际使用资源的账号 ID
|
|
150
150
|
:type OwnerUin: str
|
|
151
|
-
:param OperateUin: 操作者UIN
|
|
151
|
+
:param OperateUin: 操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )
|
|
152
152
|
:type OperateUin: str
|
|
153
|
-
:param Tags:
|
|
153
|
+
:param Tags: 标签信息
|
|
154
154
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
155
155
|
:type Tags: list of BillTagInfo
|
|
156
|
-
:param BusinessCode:
|
|
156
|
+
:param BusinessCode: 产品编码
|
|
157
157
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
158
158
|
:type BusinessCode: str
|
|
159
|
-
:param ProductCode:
|
|
159
|
+
:param ProductCode: 子产品编码
|
|
160
160
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
161
161
|
:type ProductCode: str
|
|
162
|
-
:param ActionType:
|
|
162
|
+
:param ActionType: 交易类型编码
|
|
163
163
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
164
164
|
:type ActionType: str
|
|
165
|
-
:param RegionId:
|
|
165
|
+
:param RegionId: 地域ID
|
|
166
166
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
167
167
|
:type RegionId: str
|
|
168
|
-
:param ProjectId: 项目ID
|
|
168
|
+
:param ProjectId: 项目ID
|
|
169
169
|
:type ProjectId: int
|
|
170
170
|
:param PriceInfo: 价格属性
|
|
171
171
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -250,66 +250,69 @@ class BillDetailComponent(AbstractModel):
|
|
|
250
250
|
|
|
251
251
|
def __init__(self):
|
|
252
252
|
r"""
|
|
253
|
-
:param ComponentCodeName:
|
|
253
|
+
:param ComponentCodeName: 组件类型:用户购买的产品或服务对应的组件大类,例如:云服务器 CVM 的组件:CPU、内存等
|
|
254
254
|
:type ComponentCodeName: str
|
|
255
|
-
:param ItemCodeName:
|
|
255
|
+
:param ItemCodeName: 组件名称:用户购买的产品或服务,所包含的具体组件
|
|
256
256
|
:type ItemCodeName: str
|
|
257
|
-
:param SinglePrice:
|
|
257
|
+
:param SinglePrice: 组件刊例价:组件的官网原始单价(如果客户享受一口价/合同价则默认不展示)
|
|
258
258
|
:type SinglePrice: str
|
|
259
|
-
:param SpecifiedPrice:
|
|
259
|
+
:param SpecifiedPrice: 组件指定价(已废弃)
|
|
260
260
|
:type SpecifiedPrice: str
|
|
261
|
-
:param PriceUnit:
|
|
261
|
+
:param PriceUnit: 组件价格单位:组件价格的单位,单位构成:元/用量单位/时长单位
|
|
262
262
|
:type PriceUnit: str
|
|
263
|
-
:param UsedAmount:
|
|
263
|
+
:param UsedAmount: 组件用量:该组件实际结算用量,组件用量 = 组件原始用量 - 抵扣用量(含资源包
|
|
264
264
|
:type UsedAmount: str
|
|
265
|
-
:param UsedAmountUnit:
|
|
265
|
+
:param UsedAmountUnit: 组件用量单位:组件用量对应的单位
|
|
266
266
|
:type UsedAmountUnit: str
|
|
267
|
-
:param TimeSpan:
|
|
267
|
+
:param TimeSpan: 使用时长:资源使用的时长
|
|
268
268
|
:type TimeSpan: str
|
|
269
|
-
:param TimeUnitName:
|
|
269
|
+
:param TimeUnitName: 时长单位:资源使用时长的单位
|
|
270
270
|
:type TimeUnitName: str
|
|
271
|
-
:param Cost:
|
|
271
|
+
:param Cost: 组件原价:原价 = 组件刊例价 * 组件用量 * 使用时长(如果客户享受一口价/合同价则默认不展示,退费类场景也默认不展示)
|
|
272
272
|
:type Cost: str
|
|
273
|
-
:param Discount:
|
|
273
|
+
:param Discount: 折扣率:本资源享受的折扣率(如果客户享受一口价/合同价则默认不展示,退费场景也默认不展示)
|
|
274
274
|
:type Discount: str
|
|
275
275
|
:param ReduceType: 优惠类型
|
|
276
276
|
:type ReduceType: str
|
|
277
|
-
:param RealCost:
|
|
277
|
+
:param RealCost: 优惠后总价:优惠后总价=(原价 - 预留实例抵扣原价 - 节省计划抵扣原价)* 折扣率
|
|
278
278
|
:type RealCost: str
|
|
279
|
-
:param VoucherPayAmount:
|
|
279
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
280
280
|
:type VoucherPayAmount: str
|
|
281
|
-
:param CashPayAmount:
|
|
281
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
282
282
|
:type CashPayAmount: str
|
|
283
|
-
:param IncentivePayAmount:
|
|
283
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
284
284
|
:type IncentivePayAmount: str
|
|
285
|
-
:param
|
|
285
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
287
|
+
:type TransferPayAmount: str
|
|
288
|
+
:param ItemCode: 组件类型编码
|
|
286
289
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
287
290
|
:type ItemCode: str
|
|
288
|
-
:param ComponentCode:
|
|
291
|
+
:param ComponentCode: 组件名称编码
|
|
289
292
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
290
293
|
:type ComponentCode: str
|
|
291
|
-
:param ContractPrice:
|
|
294
|
+
:param ContractPrice: 组件单价:组件的折后单价,组件单价 = 刊例价 * 折扣
|
|
292
295
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
293
296
|
:type ContractPrice: str
|
|
294
|
-
:param InstanceType:
|
|
297
|
+
:param InstanceType: 实例类型:购买的产品服务对应的实例类型,包括资源包、RI、SP、竞价实例。正常的实例展示默认为不展示
|
|
295
298
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
296
299
|
:type InstanceType: str
|
|
297
|
-
:param RiTimeSpan:
|
|
300
|
+
:param RiTimeSpan: 预留实例抵扣的使用时长:本产品或服务使用预留实例抵扣的使用时长
|
|
298
301
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
299
302
|
:type RiTimeSpan: str
|
|
300
|
-
:param OriginalCostWithRI:
|
|
303
|
+
:param OriginalCostWithRI: 预留实例抵扣组件原价:本产品或服务使用预留实例抵扣的组件原价金额
|
|
301
304
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
302
305
|
:type OriginalCostWithRI: str
|
|
303
|
-
:param SPDeductionRate:
|
|
306
|
+
:param SPDeductionRate: 节省计划抵扣率:节省计划可用余额额度范围内,节省计划对于此组件打的折扣率
|
|
304
307
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
305
308
|
:type SPDeductionRate: str
|
|
306
|
-
:param SPDeduction:
|
|
309
|
+
:param SPDeduction: 节省计划抵扣金额(已废弃)
|
|
307
310
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
308
311
|
:type SPDeduction: str
|
|
309
|
-
:param OriginalCostWithSP:
|
|
312
|
+
:param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率
|
|
310
313
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
311
314
|
:type OriginalCostWithSP: str
|
|
312
|
-
:param BlendedDiscount:
|
|
315
|
+
:param BlendedDiscount: 混合折扣率:综合各类折扣抵扣信息后的最终折扣率,混合折扣率 = 优惠后总价 / 组件原价
|
|
313
316
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
314
317
|
:type BlendedDiscount: str
|
|
315
318
|
"""
|
|
@@ -329,6 +332,7 @@ class BillDetailComponent(AbstractModel):
|
|
|
329
332
|
self.VoucherPayAmount = None
|
|
330
333
|
self.CashPayAmount = None
|
|
331
334
|
self.IncentivePayAmount = None
|
|
335
|
+
self.TransferPayAmount = None
|
|
332
336
|
self.ItemCode = None
|
|
333
337
|
self.ComponentCode = None
|
|
334
338
|
self.ContractPrice = None
|
|
@@ -358,6 +362,7 @@ class BillDetailComponent(AbstractModel):
|
|
|
358
362
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
359
363
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
360
364
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
365
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
361
366
|
self.ItemCode = params.get("ItemCode")
|
|
362
367
|
self.ComponentCode = params.get("ComponentCode")
|
|
363
368
|
self.ContractPrice = params.get("ContractPrice")
|
|
@@ -384,89 +389,83 @@ class BillResourceSummary(AbstractModel):
|
|
|
384
389
|
|
|
385
390
|
def __init__(self):
|
|
386
391
|
r"""
|
|
387
|
-
:param BusinessCodeName:
|
|
392
|
+
:param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
|
388
393
|
:type BusinessCodeName: str
|
|
389
|
-
:param ProductCodeName:
|
|
394
|
+
:param ProductCodeName: 子产品名称:用户采购的具体产品细分类型,例如:云服务器 CVM-标准型 S1
|
|
390
395
|
:type ProductCodeName: str
|
|
391
|
-
:param PayModeName:
|
|
396
|
+
:param PayModeName: 计费模式:资源的计费模式,区分为包年包月和按量计费
|
|
392
397
|
:type PayModeName: str
|
|
393
|
-
:param ProjectName:
|
|
398
|
+
:param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
|
394
399
|
:type ProjectName: str
|
|
395
|
-
:param RegionName:
|
|
400
|
+
:param RegionName: 地域:资源所属地域,如华南地区(广州)
|
|
396
401
|
:type RegionName: str
|
|
397
|
-
:param ZoneName:
|
|
402
|
+
:param ZoneName: 可用区:资源所属可用区,如广州三区
|
|
398
403
|
:type ZoneName: str
|
|
399
|
-
:param ResourceId:
|
|
404
|
+
:param ResourceId: 资源 ID:账单中出账对象 ID,不同产品因资源形态不同,资源内容不完全相同,如云服务器 CVM 为对应的实例 ID
|
|
400
405
|
:type ResourceId: str
|
|
401
|
-
:param ResourceName:
|
|
406
|
+
:param ResourceName: 资源别名:用户在控制台为资源设置的名称,如果未设置,则默认为空
|
|
402
407
|
:type ResourceName: str
|
|
403
|
-
:param ActionTypeName:
|
|
408
|
+
:param ActionTypeName: 交易类型:如包年包月新购、包年包月续费、按量计费扣费等类型
|
|
404
409
|
:type ActionTypeName: str
|
|
405
|
-
:param OrderId: 订单ID
|
|
410
|
+
:param OrderId: 订单ID:包年包月计费模式下订购的订单号
|
|
406
411
|
:type OrderId: str
|
|
407
|
-
:param PayTime:
|
|
412
|
+
:param PayTime: 扣费时间:结算扣费时间
|
|
408
413
|
:type PayTime: str
|
|
409
|
-
:param FeeBeginTime:
|
|
414
|
+
:param FeeBeginTime: 开始使用时间:产品服务开始使用时间
|
|
410
415
|
:type FeeBeginTime: str
|
|
411
|
-
:param FeeEndTime:
|
|
416
|
+
:param FeeEndTime: 结束使用时间:产品服务结束使用时间
|
|
412
417
|
:type FeeEndTime: str
|
|
413
|
-
:param ConfigDesc:
|
|
418
|
+
:param ConfigDesc: 配置描述:该资源下的计费项名称和用量合并展示,仅在资源账单体现
|
|
414
419
|
:type ConfigDesc: str
|
|
415
|
-
:param ExtendField1: 扩展字段1
|
|
420
|
+
:param ExtendField1: 扩展字段1:产品对应的扩展属性信息,仅在资源账单体现
|
|
416
421
|
:type ExtendField1: str
|
|
417
|
-
:param ExtendField2: 扩展字段2
|
|
422
|
+
:param ExtendField2: 扩展字段2:产品对应的扩展属性信息,仅在资源账单体现
|
|
418
423
|
:type ExtendField2: str
|
|
419
|
-
:param TotalCost:
|
|
424
|
+
:param TotalCost: 原价:原价 = 组件刊例价 * 组件用量 * 使用时长(如果客户享受一口价/合同价则默认不展示,退费类场景也默认不展示)
|
|
420
425
|
:type TotalCost: str
|
|
421
|
-
:param Discount:
|
|
422
|
-
当聚合之后折扣不唯一或者合同价的情况下,返回“-”
|
|
426
|
+
:param Discount: 折扣率:本资源享受的折扣率(如果客户享受一口价/合同价则默认不展示,退费场景也默认不展示)
|
|
423
427
|
:type Discount: str
|
|
424
428
|
:param ReduceType: 优惠类型
|
|
425
429
|
:type ReduceType: str
|
|
426
|
-
:param RealTotalCost:
|
|
430
|
+
:param RealTotalCost: 优惠后总价
|
|
427
431
|
:type RealTotalCost: str
|
|
428
|
-
:param VoucherPayAmount:
|
|
432
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
429
433
|
:type VoucherPayAmount: str
|
|
430
|
-
:param CashPayAmount:
|
|
434
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
431
435
|
:type CashPayAmount: str
|
|
432
|
-
:param IncentivePayAmount:
|
|
436
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
433
437
|
:type IncentivePayAmount: str
|
|
434
|
-
:param
|
|
438
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
439
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
440
|
+
:type TransferPayAmount: str
|
|
441
|
+
:param ExtendField3: 扩展字段3:产品对应的扩展属性信息,仅在资源账单体现
|
|
435
442
|
:type ExtendField3: str
|
|
436
|
-
:param ExtendField4: 扩展字段4
|
|
443
|
+
:param ExtendField4: 扩展字段4:产品对应的扩展属性信息,仅在资源账单体现
|
|
437
444
|
:type ExtendField4: str
|
|
438
|
-
:param ExtendField5: 扩展字段5
|
|
445
|
+
:param ExtendField5: 扩展字段5:产品对应的扩展属性信息,仅在资源账单体现
|
|
439
446
|
:type ExtendField5: str
|
|
440
|
-
:param Tags:
|
|
447
|
+
:param Tags: 标签信息
|
|
441
448
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
442
449
|
:type Tags: list of BillTagInfo
|
|
443
|
-
:param PayerUin:
|
|
450
|
+
:param PayerUin: 支付者UIN:支付者的账号 ID,账号 ID 是用户在腾讯云的唯一账号标识
|
|
444
451
|
:type PayerUin: str
|
|
445
|
-
:param OwnerUin:
|
|
452
|
+
:param OwnerUin: 使用者UIN:实际使用资源的账号 ID
|
|
446
453
|
:type OwnerUin: str
|
|
447
|
-
:param OperateUin: 操作者
|
|
454
|
+
:param OperateUin: 操作者UIN:操作者账号 ID(预付费资源下单或后付费操作开通资源账号的 ID 或者角色 ID )
|
|
448
455
|
:type OperateUin: str
|
|
449
|
-
:param BusinessCode:
|
|
456
|
+
:param BusinessCode: 产品编码
|
|
450
457
|
:type BusinessCode: str
|
|
451
|
-
:param ProductCode:
|
|
458
|
+
:param ProductCode: 子产品编码
|
|
452
459
|
:type ProductCode: str
|
|
453
|
-
:param RegionId:
|
|
460
|
+
:param RegionId: 地域ID
|
|
454
461
|
:type RegionId: int
|
|
455
|
-
:param InstanceType:
|
|
456
|
-
|
|
457
|
-
ri=Standard RI
|
|
458
|
-
|
|
459
|
-
svp=Savings Plan
|
|
460
|
-
|
|
461
|
-
si=Spot Instances
|
|
462
|
-
|
|
463
|
-
rp=Resource Pack
|
|
462
|
+
:param InstanceType: 实例类型:购买的产品服务对应的实例类型,包括资源包、RI、SP、竞价实例。正常的实例展示默认为不展示
|
|
464
463
|
:type InstanceType: str
|
|
465
|
-
:param OriginalCostWithRI:
|
|
464
|
+
:param OriginalCostWithRI: 预留实例抵扣组件原价:本产品或服务使用预留实例抵扣的组件原价金额
|
|
466
465
|
:type OriginalCostWithRI: str
|
|
467
|
-
:param SPDeduction:
|
|
466
|
+
:param SPDeduction: 节省计划抵扣金额(已废弃)
|
|
468
467
|
:type SPDeduction: str
|
|
469
|
-
:param OriginalCostWithSP:
|
|
468
|
+
:param OriginalCostWithSP: 节省计划抵扣组件原价:节省计划抵扣原价=节省计划包抵扣金额/节省计划抵扣率
|
|
470
469
|
:type OriginalCostWithSP: str
|
|
471
470
|
"""
|
|
472
471
|
self.BusinessCodeName = None
|
|
@@ -492,6 +491,7 @@ rp=Resource Pack
|
|
|
492
491
|
self.VoucherPayAmount = None
|
|
493
492
|
self.CashPayAmount = None
|
|
494
493
|
self.IncentivePayAmount = None
|
|
494
|
+
self.TransferPayAmount = None
|
|
495
495
|
self.ExtendField3 = None
|
|
496
496
|
self.ExtendField4 = None
|
|
497
497
|
self.ExtendField5 = None
|
|
@@ -532,6 +532,7 @@ rp=Resource Pack
|
|
|
532
532
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
533
533
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
534
534
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
535
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
535
536
|
self.ExtendField3 = params.get("ExtendField3")
|
|
536
537
|
self.ExtendField4 = params.get("ExtendField4")
|
|
537
538
|
self.ExtendField5 = params.get("ExtendField5")
|
|
@@ -659,51 +660,51 @@ class BusinessSummaryOverviewItem(AbstractModel):
|
|
|
659
660
|
|
|
660
661
|
def __init__(self):
|
|
661
662
|
r"""
|
|
662
|
-
:param BusinessCode:
|
|
663
|
+
:param BusinessCode: 产品编码
|
|
663
664
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
664
665
|
:type BusinessCode: str
|
|
665
|
-
:param BusinessCodeName:
|
|
666
|
+
:param BusinessCodeName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
|
|
666
667
|
:type BusinessCodeName: str
|
|
667
|
-
:param RealTotalCost: 实际花费
|
|
668
|
-
:type RealTotalCost: str
|
|
669
668
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
670
669
|
:type RealTotalCostRatio: str
|
|
671
|
-
:param
|
|
670
|
+
:param RealTotalCost: 优惠后总价
|
|
671
|
+
:type RealTotalCost: str
|
|
672
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
672
673
|
:type CashPayAmount: str
|
|
673
|
-
:param IncentivePayAmount:
|
|
674
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
674
675
|
:type IncentivePayAmount: str
|
|
675
|
-
:param VoucherPayAmount:
|
|
676
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
676
677
|
:type VoucherPayAmount: str
|
|
678
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
679
|
+
:type TransferPayAmount: str
|
|
677
680
|
:param BillMonth: 账单月份,格式2019-08
|
|
678
681
|
:type BillMonth: str
|
|
679
682
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
680
683
|
:type TotalCost: str
|
|
681
|
-
:param TransferPayAmount: 分成金金额
|
|
682
|
-
:type TransferPayAmount: str
|
|
683
684
|
"""
|
|
684
685
|
self.BusinessCode = None
|
|
685
686
|
self.BusinessCodeName = None
|
|
686
|
-
self.RealTotalCost = None
|
|
687
687
|
self.RealTotalCostRatio = None
|
|
688
|
+
self.RealTotalCost = None
|
|
688
689
|
self.CashPayAmount = None
|
|
689
690
|
self.IncentivePayAmount = None
|
|
690
691
|
self.VoucherPayAmount = None
|
|
692
|
+
self.TransferPayAmount = None
|
|
691
693
|
self.BillMonth = None
|
|
692
694
|
self.TotalCost = None
|
|
693
|
-
self.TransferPayAmount = None
|
|
694
695
|
|
|
695
696
|
|
|
696
697
|
def _deserialize(self, params):
|
|
697
698
|
self.BusinessCode = params.get("BusinessCode")
|
|
698
699
|
self.BusinessCodeName = params.get("BusinessCodeName")
|
|
699
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
700
700
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
701
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
701
702
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
702
703
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
703
704
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
705
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
704
706
|
self.BillMonth = params.get("BillMonth")
|
|
705
707
|
self.TotalCost = params.get("TotalCost")
|
|
706
|
-
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
707
708
|
memeber_set = set(params.keys())
|
|
708
709
|
for name, value in vars(self).items():
|
|
709
710
|
if name in memeber_set:
|
|
@@ -720,25 +721,26 @@ class BusinessSummaryTotal(AbstractModel):
|
|
|
720
721
|
|
|
721
722
|
def __init__(self):
|
|
722
723
|
r"""
|
|
723
|
-
:param RealTotalCost:
|
|
724
|
+
:param RealTotalCost: 优惠后总价
|
|
725
|
+
|
|
724
726
|
:type RealTotalCost: str
|
|
725
|
-
:param VoucherPayAmount:
|
|
727
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
726
728
|
:type VoucherPayAmount: str
|
|
727
|
-
:param IncentivePayAmount:
|
|
729
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
728
730
|
:type IncentivePayAmount: str
|
|
729
|
-
:param CashPayAmount:
|
|
731
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
730
732
|
:type CashPayAmount: str
|
|
733
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
734
|
+
:type TransferPayAmount: str
|
|
731
735
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
732
736
|
:type TotalCost: str
|
|
733
|
-
:param TransferPayAmount: 分成金金额
|
|
734
|
-
:type TransferPayAmount: str
|
|
735
737
|
"""
|
|
736
738
|
self.RealTotalCost = None
|
|
737
739
|
self.VoucherPayAmount = None
|
|
738
740
|
self.IncentivePayAmount = None
|
|
739
741
|
self.CashPayAmount = None
|
|
740
|
-
self.TotalCost = None
|
|
741
742
|
self.TransferPayAmount = None
|
|
743
|
+
self.TotalCost = None
|
|
742
744
|
|
|
743
745
|
|
|
744
746
|
def _deserialize(self, params):
|
|
@@ -746,8 +748,8 @@ class BusinessSummaryTotal(AbstractModel):
|
|
|
746
748
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
747
749
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
748
750
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
749
|
-
self.TotalCost = params.get("TotalCost")
|
|
750
751
|
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
752
|
+
self.TotalCost = params.get("TotalCost")
|
|
751
753
|
memeber_set = set(params.keys())
|
|
752
754
|
for name, value in vars(self).items():
|
|
753
755
|
if name in memeber_set:
|
|
@@ -1995,44 +1997,46 @@ class DescribeBillResourceSummaryRequest(AbstractModel):
|
|
|
1995
1997
|
|
|
1996
1998
|
def __init__(self):
|
|
1997
1999
|
r"""
|
|
1998
|
-
:param Offset:
|
|
2000
|
+
:param Offset: 分页偏移量,Offset=0表示第一页,如果Limit=100,则Offset=100表示第二页,Offset=200表示第三页,依次类推
|
|
1999
2001
|
:type Offset: int
|
|
2000
2002
|
:param Limit: 数量,最大值为1000
|
|
2001
2003
|
:type Limit: int
|
|
2002
|
-
:param Month: 月份,格式为yyyy-mm。不能早于开通账单2.0
|
|
2004
|
+
:param Month: 月份,格式为yyyy-mm。不能早于开通账单2.0的月份
|
|
2003
2005
|
:type Month: str
|
|
2004
2006
|
:param PeriodType: 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
|
2005
2007
|
:type PeriodType: str
|
|
2006
2008
|
:param NeedRecordNum: 是否需要访问列表的总记录数,用于前端分页
|
|
2007
2009
|
1-表示需要, 0-表示不需要
|
|
2008
2010
|
:type NeedRecordNum: int
|
|
2009
|
-
:param ActionType:
|
|
2011
|
+
:param ActionType: 查询交易类型(请使用交易类型名称入参),入参示例枚举如下:
|
|
2010
2012
|
包年包月新购
|
|
2011
2013
|
包年包月续费
|
|
2012
2014
|
包年包月配置变更
|
|
2013
|
-
包年包月退款
|
|
2014
|
-
按量计费扣费
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
竞价实例小时结
|
|
2023
|
-
线下项目调账补偿
|
|
2024
|
-
线下产品调账补偿
|
|
2025
|
-
优惠扣费
|
|
2026
|
-
优惠补偿
|
|
2027
|
-
按量计费迁入资源
|
|
2028
|
-
按量计费迁出资源
|
|
2029
|
-
包年包月迁入资源
|
|
2030
|
-
包年包月迁出资源
|
|
2031
|
-
预付费用
|
|
2032
|
-
小时费用
|
|
2033
|
-
预留实例退款
|
|
2034
|
-
按量计费冲正
|
|
2035
|
-
包年包月转按量
|
|
2015
|
+
包年包月退款
|
|
2016
|
+
按量计费扣费
|
|
2017
|
+
线下项目扣费
|
|
2018
|
+
线下产品扣费
|
|
2019
|
+
调账扣费
|
|
2020
|
+
调账补偿
|
|
2021
|
+
按量计费小时结
|
|
2022
|
+
按量计费日结
|
|
2023
|
+
按量计费月结
|
|
2024
|
+
竞价实例小时结
|
|
2025
|
+
线下项目调账补偿
|
|
2026
|
+
线下产品调账补偿
|
|
2027
|
+
优惠扣费
|
|
2028
|
+
优惠补偿
|
|
2029
|
+
按量计费迁入资源
|
|
2030
|
+
按量计费迁出资源
|
|
2031
|
+
包年包月迁入资源
|
|
2032
|
+
包年包月迁出资源
|
|
2033
|
+
预付费用
|
|
2034
|
+
小时费用
|
|
2035
|
+
预留实例退款
|
|
2036
|
+
按量计费冲正
|
|
2037
|
+
包年包月转按量
|
|
2038
|
+
保底扣款
|
|
2039
|
+
节省计划小时费用
|
|
2036
2040
|
:type ActionType: str
|
|
2037
2041
|
:param ResourceId: 查询指定资源信息
|
|
2038
2042
|
:type ResourceId: str
|
|
@@ -2081,7 +2085,7 @@ class DescribeBillResourceSummaryResponse(AbstractModel):
|
|
|
2081
2085
|
r"""
|
|
2082
2086
|
:param ResourceSummarySet: 资源汇总列表
|
|
2083
2087
|
:type ResourceSummarySet: list of BillResourceSummary
|
|
2084
|
-
:param Total:
|
|
2088
|
+
:param Total: 资源汇总列表总数,入参NeedRecordNum为0时不返回
|
|
2085
2089
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2086
2090
|
:type Total: int
|
|
2087
2091
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -2142,7 +2146,8 @@ class DescribeBillSummaryByPayModeResponse(AbstractModel):
|
|
|
2142
2146
|
|
|
2143
2147
|
def __init__(self):
|
|
2144
2148
|
r"""
|
|
2145
|
-
:param Ready: 数据是否准备好,0未准备好,1
|
|
2149
|
+
:param Ready: 数据是否准备好,0未准备好,1准备好。
|
|
2150
|
+
Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
|
2146
2151
|
:type Ready: int
|
|
2147
2152
|
:param SummaryOverview: 各付费模式花费分布详情
|
|
2148
2153
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2214,7 +2219,8 @@ class DescribeBillSummaryByProductResponse(AbstractModel):
|
|
|
2214
2219
|
|
|
2215
2220
|
def __init__(self):
|
|
2216
2221
|
r"""
|
|
2217
|
-
:param Ready: 数据是否准备好,0未准备好,1
|
|
2222
|
+
:param Ready: 数据是否准备好,0未准备好,1准备好。
|
|
2223
|
+
Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
|
2218
2224
|
:type Ready: int
|
|
2219
2225
|
:param SummaryTotal: 总花费详情
|
|
2220
2226
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2285,6 +2291,7 @@ class DescribeBillSummaryByProjectResponse(AbstractModel):
|
|
|
2285
2291
|
def __init__(self):
|
|
2286
2292
|
r"""
|
|
2287
2293
|
:param Ready: 数据是否准备好,0未准备好,1准备好
|
|
2294
|
+
Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
|
2288
2295
|
:type Ready: int
|
|
2289
2296
|
:param SummaryOverview: 各项目花费分布详情
|
|
2290
2297
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2348,6 +2355,7 @@ class DescribeBillSummaryByRegionResponse(AbstractModel):
|
|
|
2348
2355
|
def __init__(self):
|
|
2349
2356
|
r"""
|
|
2350
2357
|
:param Ready: 数据是否准备好,0未准备好,1准备好
|
|
2358
|
+
Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
|
2351
2359
|
:type Ready: int
|
|
2352
2360
|
:param SummaryOverview: 各地域花费分布详情
|
|
2353
2361
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -2419,6 +2427,7 @@ class DescribeBillSummaryByTagResponse(AbstractModel):
|
|
|
2419
2427
|
def __init__(self):
|
|
2420
2428
|
r"""
|
|
2421
2429
|
:param Ready: 数据是否准备好,0未准备好,1准备好
|
|
2430
|
+
Ready=0,为当前UIN首次进行初始化出账,预计需要5~10分钟,请于10分钟后重试
|
|
2422
2431
|
:type Ready: int
|
|
2423
2432
|
:param SummaryOverview: 各标签值花费分布详情
|
|
2424
2433
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3496,61 +3505,61 @@ class PayDealsResponse(AbstractModel):
|
|
|
3496
3505
|
|
|
3497
3506
|
|
|
3498
3507
|
class PayModeSummaryOverviewItem(AbstractModel):
|
|
3499
|
-
"""
|
|
3508
|
+
"""按计费模式汇总消费详情
|
|
3500
3509
|
|
|
3501
3510
|
"""
|
|
3502
3511
|
|
|
3503
3512
|
def __init__(self):
|
|
3504
3513
|
r"""
|
|
3505
|
-
:param PayMode:
|
|
3514
|
+
:param PayMode: 计费模式编码
|
|
3506
3515
|
:type PayMode: str
|
|
3507
|
-
:param PayModeName:
|
|
3516
|
+
:param PayModeName: 计费模式:区分为包年包月和按量计费
|
|
3508
3517
|
:type PayModeName: str
|
|
3509
|
-
:param RealTotalCost: 实际花费
|
|
3510
|
-
:type RealTotalCost: str
|
|
3511
3518
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
3512
3519
|
:type RealTotalCostRatio: str
|
|
3513
|
-
:param
|
|
3514
|
-
:type
|
|
3515
|
-
:param CashPayAmount:
|
|
3520
|
+
:param RealTotalCost: 优惠后总价
|
|
3521
|
+
:type RealTotalCost: str
|
|
3522
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
3516
3523
|
:type CashPayAmount: str
|
|
3517
|
-
:param IncentivePayAmount:
|
|
3524
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
3518
3525
|
:type IncentivePayAmount: str
|
|
3519
|
-
:param VoucherPayAmount:
|
|
3526
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
3520
3527
|
:type VoucherPayAmount: str
|
|
3528
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
3529
|
+
:type TransferPayAmount: str
|
|
3521
3530
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
3522
3531
|
:type TotalCost: str
|
|
3523
|
-
:param
|
|
3524
|
-
:type
|
|
3532
|
+
:param Detail: 按交易类型汇总消费详情
|
|
3533
|
+
:type Detail: list of ActionSummaryOverviewItem
|
|
3525
3534
|
"""
|
|
3526
3535
|
self.PayMode = None
|
|
3527
3536
|
self.PayModeName = None
|
|
3528
|
-
self.RealTotalCost = None
|
|
3529
3537
|
self.RealTotalCostRatio = None
|
|
3530
|
-
self.
|
|
3538
|
+
self.RealTotalCost = None
|
|
3531
3539
|
self.CashPayAmount = None
|
|
3532
3540
|
self.IncentivePayAmount = None
|
|
3533
3541
|
self.VoucherPayAmount = None
|
|
3534
|
-
self.TotalCost = None
|
|
3535
3542
|
self.TransferPayAmount = None
|
|
3543
|
+
self.TotalCost = None
|
|
3544
|
+
self.Detail = None
|
|
3536
3545
|
|
|
3537
3546
|
|
|
3538
3547
|
def _deserialize(self, params):
|
|
3539
3548
|
self.PayMode = params.get("PayMode")
|
|
3540
3549
|
self.PayModeName = params.get("PayModeName")
|
|
3541
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
3542
3550
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
3551
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
3552
|
+
self.CashPayAmount = params.get("CashPayAmount")
|
|
3553
|
+
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
3554
|
+
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
3555
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3556
|
+
self.TotalCost = params.get("TotalCost")
|
|
3543
3557
|
if params.get("Detail") is not None:
|
|
3544
3558
|
self.Detail = []
|
|
3545
3559
|
for item in params.get("Detail"):
|
|
3546
3560
|
obj = ActionSummaryOverviewItem()
|
|
3547
3561
|
obj._deserialize(item)
|
|
3548
3562
|
self.Detail.append(obj)
|
|
3549
|
-
self.CashPayAmount = params.get("CashPayAmount")
|
|
3550
|
-
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
3551
|
-
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
3552
|
-
self.TotalCost = params.get("TotalCost")
|
|
3553
|
-
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3554
3563
|
memeber_set = set(params.keys())
|
|
3555
3564
|
for name, value in vars(self).items():
|
|
3556
3565
|
if name in memeber_set:
|
|
@@ -3597,48 +3606,48 @@ class ProjectSummaryOverviewItem(AbstractModel):
|
|
|
3597
3606
|
r"""
|
|
3598
3607
|
:param ProjectId: 项目ID
|
|
3599
3608
|
:type ProjectId: str
|
|
3600
|
-
:param ProjectName:
|
|
3609
|
+
:param ProjectName: 项目名称:资源归属的项目,用户在控制台给资源自主分配项目,未分配则是默认项目
|
|
3601
3610
|
:type ProjectName: str
|
|
3602
|
-
:param RealTotalCost: 实际花费
|
|
3603
|
-
:type RealTotalCost: str
|
|
3604
3611
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
3605
3612
|
:type RealTotalCostRatio: str
|
|
3606
|
-
:param
|
|
3613
|
+
:param RealTotalCost: 优惠后总价
|
|
3614
|
+
:type RealTotalCost: str
|
|
3615
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
3607
3616
|
:type CashPayAmount: str
|
|
3608
|
-
:param IncentivePayAmount:
|
|
3617
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
3609
3618
|
:type IncentivePayAmount: str
|
|
3610
|
-
:param VoucherPayAmount:
|
|
3619
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
3611
3620
|
:type VoucherPayAmount: str
|
|
3621
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
3622
|
+
:type TransferPayAmount: str
|
|
3612
3623
|
:param BillMonth: 账单月份,格式2019-08
|
|
3613
3624
|
:type BillMonth: str
|
|
3614
3625
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
3615
3626
|
:type TotalCost: str
|
|
3616
|
-
:param TransferPayAmount: 分成金金额
|
|
3617
|
-
:type TransferPayAmount: str
|
|
3618
3627
|
"""
|
|
3619
3628
|
self.ProjectId = None
|
|
3620
3629
|
self.ProjectName = None
|
|
3621
|
-
self.RealTotalCost = None
|
|
3622
3630
|
self.RealTotalCostRatio = None
|
|
3631
|
+
self.RealTotalCost = None
|
|
3623
3632
|
self.CashPayAmount = None
|
|
3624
3633
|
self.IncentivePayAmount = None
|
|
3625
3634
|
self.VoucherPayAmount = None
|
|
3635
|
+
self.TransferPayAmount = None
|
|
3626
3636
|
self.BillMonth = None
|
|
3627
3637
|
self.TotalCost = None
|
|
3628
|
-
self.TransferPayAmount = None
|
|
3629
3638
|
|
|
3630
3639
|
|
|
3631
3640
|
def _deserialize(self, params):
|
|
3632
3641
|
self.ProjectId = params.get("ProjectId")
|
|
3633
3642
|
self.ProjectName = params.get("ProjectName")
|
|
3634
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
3635
3643
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
3644
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
3636
3645
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
3637
3646
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
3638
3647
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
3648
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3639
3649
|
self.BillMonth = params.get("BillMonth")
|
|
3640
3650
|
self.TotalCost = params.get("TotalCost")
|
|
3641
|
-
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3642
3651
|
memeber_set = set(params.keys())
|
|
3643
3652
|
for name, value in vars(self).items():
|
|
3644
3653
|
if name in memeber_set:
|
|
@@ -3658,48 +3667,48 @@ class RegionSummaryOverviewItem(AbstractModel):
|
|
|
3658
3667
|
:param RegionId: 地域ID
|
|
3659
3668
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3660
3669
|
:type RegionId: str
|
|
3661
|
-
:param RegionName:
|
|
3670
|
+
:param RegionName: 地域名称:资源所属地域,例如华南地区(广州)
|
|
3662
3671
|
:type RegionName: str
|
|
3663
|
-
:param RealTotalCost: 实际花费
|
|
3664
|
-
:type RealTotalCost: str
|
|
3665
3672
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
3666
3673
|
:type RealTotalCostRatio: str
|
|
3667
|
-
:param
|
|
3674
|
+
:param RealTotalCost: 优惠后总价
|
|
3675
|
+
:type RealTotalCost: str
|
|
3676
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
3668
3677
|
:type CashPayAmount: str
|
|
3669
|
-
:param IncentivePayAmount:
|
|
3678
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
3670
3679
|
:type IncentivePayAmount: str
|
|
3671
|
-
:param VoucherPayAmount:
|
|
3680
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
3672
3681
|
:type VoucherPayAmount: str
|
|
3682
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
3683
|
+
:type TransferPayAmount: str
|
|
3673
3684
|
:param BillMonth: 账单月份,格式2019-08
|
|
3674
3685
|
:type BillMonth: str
|
|
3675
3686
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
3676
3687
|
:type TotalCost: str
|
|
3677
|
-
:param TransferPayAmount: 分成金金额
|
|
3678
|
-
:type TransferPayAmount: str
|
|
3679
3688
|
"""
|
|
3680
3689
|
self.RegionId = None
|
|
3681
3690
|
self.RegionName = None
|
|
3682
|
-
self.RealTotalCost = None
|
|
3683
3691
|
self.RealTotalCostRatio = None
|
|
3692
|
+
self.RealTotalCost = None
|
|
3684
3693
|
self.CashPayAmount = None
|
|
3685
3694
|
self.IncentivePayAmount = None
|
|
3686
3695
|
self.VoucherPayAmount = None
|
|
3696
|
+
self.TransferPayAmount = None
|
|
3687
3697
|
self.BillMonth = None
|
|
3688
3698
|
self.TotalCost = None
|
|
3689
|
-
self.TransferPayAmount = None
|
|
3690
3699
|
|
|
3691
3700
|
|
|
3692
3701
|
def _deserialize(self, params):
|
|
3693
3702
|
self.RegionId = params.get("RegionId")
|
|
3694
3703
|
self.RegionName = params.get("RegionName")
|
|
3695
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
3696
3704
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
3705
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
3697
3706
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
3698
3707
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
3699
3708
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
3709
|
+
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3700
3710
|
self.BillMonth = params.get("BillMonth")
|
|
3701
3711
|
self.TotalCost = params.get("TotalCost")
|
|
3702
|
-
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3703
3712
|
memeber_set = set(params.keys())
|
|
3704
3713
|
for name, value in vars(self).items():
|
|
3705
3714
|
if name in memeber_set:
|
|
@@ -3716,7 +3725,7 @@ class SummaryTotal(AbstractModel):
|
|
|
3716
3725
|
|
|
3717
3726
|
def __init__(self):
|
|
3718
3727
|
r"""
|
|
3719
|
-
:param RealTotalCost:
|
|
3728
|
+
:param RealTotalCost: 优惠后总价
|
|
3720
3729
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3721
3730
|
:type RealTotalCost: str
|
|
3722
3731
|
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
@@ -3749,47 +3758,47 @@ class TagSummaryOverviewItem(AbstractModel):
|
|
|
3749
3758
|
:param TagValue: 标签值
|
|
3750
3759
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3751
3760
|
:type TagValue: str
|
|
3752
|
-
:param RealTotalCost: 实际花费
|
|
3753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3754
|
-
:type RealTotalCost: str
|
|
3755
3761
|
:param RealTotalCostRatio: 费用所占百分比,两位小数
|
|
3756
3762
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3757
3763
|
:type RealTotalCostRatio: str
|
|
3758
|
-
:param
|
|
3764
|
+
:param RealTotalCost: 优惠后总价
|
|
3759
3765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3760
|
-
:type
|
|
3761
|
-
:param CashPayAmount:
|
|
3766
|
+
:type RealTotalCost: str
|
|
3767
|
+
:param CashPayAmount: 现金账户支出:通过现金账户支付的金额
|
|
3762
3768
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3763
3769
|
:type CashPayAmount: str
|
|
3764
|
-
:param IncentivePayAmount:
|
|
3770
|
+
:param IncentivePayAmount: 赠送账户支出:使用赠送金支付的金额
|
|
3765
3771
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3766
3772
|
:type IncentivePayAmount: str
|
|
3767
|
-
:param VoucherPayAmount:
|
|
3773
|
+
:param VoucherPayAmount: 优惠券支出:使用各类优惠券(如代金券、现金券等)支付的金额
|
|
3768
3774
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3769
3775
|
:type VoucherPayAmount: str
|
|
3770
|
-
:param TransferPayAmount:
|
|
3776
|
+
:param TransferPayAmount: 分成金账户支出:通过分成金账户支付的金额
|
|
3771
3777
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3772
3778
|
:type TransferPayAmount: str
|
|
3779
|
+
:param TotalCost: 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
3780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3781
|
+
:type TotalCost: str
|
|
3773
3782
|
"""
|
|
3774
3783
|
self.TagValue = None
|
|
3775
|
-
self.RealTotalCost = None
|
|
3776
3784
|
self.RealTotalCostRatio = None
|
|
3777
|
-
self.
|
|
3785
|
+
self.RealTotalCost = None
|
|
3778
3786
|
self.CashPayAmount = None
|
|
3779
3787
|
self.IncentivePayAmount = None
|
|
3780
3788
|
self.VoucherPayAmount = None
|
|
3781
3789
|
self.TransferPayAmount = None
|
|
3790
|
+
self.TotalCost = None
|
|
3782
3791
|
|
|
3783
3792
|
|
|
3784
3793
|
def _deserialize(self, params):
|
|
3785
3794
|
self.TagValue = params.get("TagValue")
|
|
3786
|
-
self.RealTotalCost = params.get("RealTotalCost")
|
|
3787
3795
|
self.RealTotalCostRatio = params.get("RealTotalCostRatio")
|
|
3788
|
-
self.
|
|
3796
|
+
self.RealTotalCost = params.get("RealTotalCost")
|
|
3789
3797
|
self.CashPayAmount = params.get("CashPayAmount")
|
|
3790
3798
|
self.IncentivePayAmount = params.get("IncentivePayAmount")
|
|
3791
3799
|
self.VoucherPayAmount = params.get("VoucherPayAmount")
|
|
3792
3800
|
self.TransferPayAmount = params.get("TransferPayAmount")
|
|
3801
|
+
self.TotalCost = params.get("TotalCost")
|
|
3793
3802
|
memeber_set = set(params.keys())
|
|
3794
3803
|
for name, value in vars(self).items():
|
|
3795
3804
|
if name in memeber_set:
|
{tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/setup.cfg
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-billing-3.0.895 → tencentcloud-sdk-python-billing-3.0.900}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|