tencentcloud-sdk-nodejs-billing 4.0.431 → 4.0.432
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.
- package/CHANGELOG.md +1 -1
- package/package.json +1 -1
- package/src/services/billing/index.ts +4 -7
- package/src/services/billing/v20180709/billing_client.ts +277 -221
- package/src/services/billing/v20180709/billing_models.ts +2369 -2446
- package/src/services/billing/v20180709/index.ts +3 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +1268 -1268
- package/tencentcloud/services/billing/v20180709/index.js +1 -1
|
@@ -3,52 +3,52 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface CostComponentSet {
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
* 组件类型名称
|
|
7
|
+
*/
|
|
8
8
|
ComponentCodeName: string;
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
* 组件名称
|
|
11
|
+
*/
|
|
12
12
|
ItemCodeName: string;
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* 刊例价
|
|
15
|
+
*/
|
|
16
16
|
SinglePrice: string;
|
|
17
17
|
/**
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
* 刊例价单位
|
|
19
|
+
*/
|
|
20
20
|
PriceUnit: string;
|
|
21
21
|
/**
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
* 用量
|
|
23
|
+
*/
|
|
24
24
|
UsedAmount: string;
|
|
25
25
|
/**
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
* 用量单位
|
|
27
|
+
*/
|
|
28
28
|
UsedAmountUnit: string;
|
|
29
29
|
/**
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
* 原价
|
|
31
|
+
*/
|
|
32
32
|
Cost: string;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
* 折扣
|
|
35
|
+
*/
|
|
36
36
|
Discount: string;
|
|
37
37
|
/**
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
* 折后价
|
|
39
|
+
*/
|
|
40
40
|
RealCost: string;
|
|
41
41
|
/**
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
* 代金券支付金额
|
|
43
|
+
*/
|
|
44
44
|
VoucherPayAmount: string;
|
|
45
45
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
* 现金支付金额
|
|
47
|
+
*/
|
|
48
48
|
CashPayAmount: string;
|
|
49
49
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
* 赠送金支付金额
|
|
51
|
+
*/
|
|
52
52
|
IncentivePayAmount: string;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
@@ -56,50 +56,50 @@ export interface CostComponentSet {
|
|
|
56
56
|
*/
|
|
57
57
|
export interface VoucherInfos {
|
|
58
58
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
* 代金券拥有者
|
|
60
|
+
*/
|
|
61
61
|
OwnerUin: string;
|
|
62
62
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
64
|
+
*/
|
|
65
65
|
Status: string;
|
|
66
66
|
/**
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
* 代金券面额(微分)
|
|
68
|
+
*/
|
|
69
69
|
NominalValue: number;
|
|
70
70
|
/**
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
* 剩余金额(微分)
|
|
72
|
+
*/
|
|
73
73
|
Balance: number;
|
|
74
74
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
* 代金券id
|
|
76
|
+
*/
|
|
77
77
|
VoucherId: string;
|
|
78
78
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
|
|
80
|
+
*/
|
|
81
81
|
PayMode: string;
|
|
82
82
|
/**
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
84
|
+
*/
|
|
85
85
|
PayScene: string;
|
|
86
86
|
/**
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
* 有效期生效时间
|
|
88
|
+
*/
|
|
89
89
|
BeginTime: string;
|
|
90
90
|
/**
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
* 有效期截止时间
|
|
92
|
+
*/
|
|
93
93
|
EndTime: string;
|
|
94
94
|
/**
|
|
95
|
-
|
|
96
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
|
-
|
|
95
|
+
* 适用商品信息
|
|
96
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
|
+
*/
|
|
98
98
|
ApplicableProducts: ApplicableProducts;
|
|
99
99
|
/**
|
|
100
|
-
|
|
101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
102
|
-
|
|
100
|
+
* 不适用商品信息
|
|
101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
102
|
+
*/
|
|
103
103
|
ExcludedProducts: Array<ExcludedProducts>;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
@@ -107,28 +107,28 @@ export interface VoucherInfos {
|
|
|
107
107
|
*/
|
|
108
108
|
export interface DescribeCostSummaryByProductRequest {
|
|
109
109
|
/**
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
111
|
+
*/
|
|
112
112
|
BeginTime: string;
|
|
113
113
|
/**
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
115
|
+
*/
|
|
116
116
|
EndTime: string;
|
|
117
117
|
/**
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
* 每次获取数据量
|
|
119
|
+
*/
|
|
120
120
|
Limit: number;
|
|
121
121
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
* 偏移量
|
|
123
|
+
*/
|
|
124
124
|
Offset: number;
|
|
125
125
|
/**
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
* 查询账单数据的用户UIN
|
|
127
|
+
*/
|
|
128
128
|
PayerUin?: string;
|
|
129
129
|
/**
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
* 是否需要返回记录数量,0不需要,1需要,默认不需要
|
|
131
|
+
*/
|
|
132
132
|
NeedRecordNum?: number;
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
@@ -136,8 +136,8 @@ export interface DescribeCostSummaryByProductRequest {
|
|
|
136
136
|
*/
|
|
137
137
|
export interface ConsumptionSummaryTotal {
|
|
138
138
|
/**
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
* 折后总价
|
|
140
|
+
*/
|
|
141
141
|
RealTotalCost: string;
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
@@ -145,24 +145,24 @@ export interface ConsumptionSummaryTotal {
|
|
|
145
145
|
*/
|
|
146
146
|
export interface DescribeCostSummaryByProjectResponse {
|
|
147
147
|
/**
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
149
|
+
*/
|
|
150
150
|
Ready?: number;
|
|
151
151
|
/**
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
* 消耗详情
|
|
153
|
+
*/
|
|
154
154
|
Total?: ConsumptionSummaryTotal;
|
|
155
155
|
/**
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
* 消耗按业务汇总详情
|
|
157
|
+
*/
|
|
158
158
|
Data?: Array<ConsumptionProjectSummaryDataItem>;
|
|
159
159
|
/**
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
* 记录数量,NeedRecordNum为0是返回null
|
|
161
|
+
*/
|
|
162
162
|
RecordNum?: number;
|
|
163
163
|
/**
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
165
|
+
*/
|
|
166
166
|
RequestId?: string;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
@@ -170,45 +170,45 @@ export interface DescribeCostSummaryByProjectResponse {
|
|
|
170
170
|
*/
|
|
171
171
|
export interface DescribeDosageDetailByDateRequest {
|
|
172
172
|
/**
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
* 查询账单开始日期,如 2019-01-01
|
|
174
|
+
*/
|
|
175
175
|
StartDate: string;
|
|
176
176
|
/**
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
* 查询账单结束日期,如 2019-01-01, 时间跨度不超过7天
|
|
178
|
+
*/
|
|
179
179
|
EndDate: string;
|
|
180
180
|
/**
|
|
181
|
-
|
|
182
|
-
10194 互动直播-核心机房 :
|
|
183
|
-
10195 互动直播-边缘机房
|
|
184
|
-
|
|
185
|
-
cdn业务:
|
|
186
|
-
10180:CDN静态加速流量(国内)
|
|
187
|
-
10181:CDN静态加速带宽(国内)
|
|
188
|
-
10182:CDN静态加速普通流量
|
|
189
|
-
10183:CDN静态加速普通带宽
|
|
190
|
-
10231:CDN静态加速流量(海外)
|
|
191
|
-
10232:CDN静态加速带宽(海外)
|
|
192
|
-
|
|
193
|
-
100967:弹性公网IP-按流量计费
|
|
194
|
-
101065:公网负载均衡-按流量计费
|
|
195
|
-
|
|
196
|
-
视频直播
|
|
197
|
-
10226 视频直播流量(国内)
|
|
198
|
-
10227 视频直播带宽(国内)
|
|
199
|
-
100763 视频直播流量(海外)
|
|
200
|
-
100762 视频直播宽带(海外)
|
|
201
|
-
|
|
181
|
+
* 互动直播:
|
|
182
|
+
10194 互动直播-核心机房 :
|
|
183
|
+
10195 互动直播-边缘机房
|
|
184
|
+
|
|
185
|
+
cdn业务:
|
|
186
|
+
10180:CDN静态加速流量(国内)
|
|
187
|
+
10181:CDN静态加速带宽(国内)
|
|
188
|
+
10182:CDN静态加速普通流量
|
|
189
|
+
10183:CDN静态加速普通带宽
|
|
190
|
+
10231:CDN静态加速流量(海外)
|
|
191
|
+
10232:CDN静态加速带宽(海外)
|
|
192
|
+
|
|
193
|
+
100967:弹性公网IP-按流量计费
|
|
194
|
+
101065:公网负载均衡-按流量计费
|
|
195
|
+
|
|
196
|
+
视频直播
|
|
197
|
+
10226 视频直播流量(国内)
|
|
198
|
+
10227 视频直播带宽(国内)
|
|
199
|
+
100763 视频直播流量(海外)
|
|
200
|
+
100762 视频直播宽带(海外)
|
|
201
|
+
*/
|
|
202
202
|
ProductCode: string;
|
|
203
203
|
/**
|
|
204
|
-
|
|
205
|
-
非CDN业务查询时传入空字符串,返回的值为空
|
|
206
|
-
|
|
204
|
+
* 查询域名 例如 www.qq.com
|
|
205
|
+
非CDN业务查询时传入空字符串,返回的值为空
|
|
206
|
+
*/
|
|
207
207
|
Domain: string;
|
|
208
208
|
/**
|
|
209
|
-
|
|
210
|
-
2、如果传入实例名,则返回该实例明细
|
|
211
|
-
|
|
209
|
+
* 1、如果为空,则返回EIP或CLB所有实例的明细;
|
|
210
|
+
2、如果传入实例名,则返回该实例明细
|
|
211
|
+
*/
|
|
212
212
|
InstanceID?: string;
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
@@ -216,44 +216,44 @@ cdn业务:
|
|
|
216
216
|
*/
|
|
217
217
|
export interface ProjectSummaryOverviewItem {
|
|
218
218
|
/**
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
* 项目ID
|
|
220
|
+
*/
|
|
221
221
|
ProjectId: string;
|
|
222
222
|
/**
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
* 项目名称
|
|
224
|
+
*/
|
|
225
225
|
ProjectName: string;
|
|
226
226
|
/**
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
* 实际花费
|
|
228
|
+
*/
|
|
229
229
|
RealTotalCost: string;
|
|
230
230
|
/**
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
* 费用所占百分比,两位小数
|
|
232
|
+
*/
|
|
233
233
|
RealTotalCostRatio: string;
|
|
234
234
|
/**
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
* 现金金额
|
|
236
|
+
*/
|
|
237
237
|
CashPayAmount: string;
|
|
238
238
|
/**
|
|
239
|
-
|
|
240
|
-
|
|
239
|
+
* 赠送金金额
|
|
240
|
+
*/
|
|
241
241
|
IncentivePayAmount: string;
|
|
242
242
|
/**
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
* 代金券金额
|
|
244
|
+
*/
|
|
245
245
|
VoucherPayAmount: string;
|
|
246
246
|
/**
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
* 账单月份,格式2019-08
|
|
248
|
+
*/
|
|
249
249
|
BillMonth: string;
|
|
250
250
|
/**
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
252
|
+
*/
|
|
253
253
|
TotalCost: string;
|
|
254
254
|
/**
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
* 分成金金额
|
|
256
|
+
*/
|
|
257
257
|
TransferPayAmount: string;
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
@@ -261,12 +261,12 @@ export interface ProjectSummaryOverviewItem {
|
|
|
261
261
|
*/
|
|
262
262
|
export interface ConditionRegion {
|
|
263
263
|
/**
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
* 地域ID
|
|
265
|
+
*/
|
|
266
266
|
RegionId: string;
|
|
267
267
|
/**
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
* 地域名称
|
|
269
|
+
*/
|
|
270
270
|
RegionName: string;
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
@@ -274,25 +274,25 @@ export interface ConditionRegion {
|
|
|
274
274
|
*/
|
|
275
275
|
export interface DescribeBillSummaryByProductRequest {
|
|
276
276
|
/**
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
278
|
+
*/
|
|
279
279
|
BeginTime: string;
|
|
280
280
|
/**
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
282
|
+
*/
|
|
283
283
|
EndTime: string;
|
|
284
284
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
* 查询账单数据的用户UIN
|
|
286
|
+
*/
|
|
287
287
|
PayerUin?: string;
|
|
288
288
|
/**
|
|
289
|
-
|
|
290
|
-
此参数自账单3.0(即2021-05)之后开始生效。
|
|
291
|
-
枚举值:
|
|
292
|
-
consume-消费
|
|
293
|
-
refund-退款
|
|
294
|
-
adjustment-调账
|
|
295
|
-
|
|
289
|
+
* 款项类别,与L0账单上的汇总类别对应。
|
|
290
|
+
此参数自账单3.0(即2021-05)之后开始生效。
|
|
291
|
+
枚举值:
|
|
292
|
+
consume-消费
|
|
293
|
+
refund-退款
|
|
294
|
+
adjustment-调账
|
|
295
|
+
*/
|
|
296
296
|
PayType?: string;
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
@@ -300,20 +300,20 @@ adjustment-调账
|
|
|
300
300
|
*/
|
|
301
301
|
export interface ConsumptionBusinessSummaryDataItem {
|
|
302
302
|
/**
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
* 产品名称代码
|
|
304
|
+
*/
|
|
305
305
|
BusinessCode: string;
|
|
306
306
|
/**
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
* 产品名称
|
|
308
|
+
*/
|
|
309
309
|
BusinessCodeName: string;
|
|
310
310
|
/**
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
* 折后总价
|
|
312
|
+
*/
|
|
313
313
|
RealTotalCost: string;
|
|
314
314
|
/**
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
* 费用趋势
|
|
316
|
+
*/
|
|
317
317
|
Trend: ConsumptionSummaryTrend;
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
@@ -321,12 +321,12 @@ export interface ConsumptionBusinessSummaryDataItem {
|
|
|
321
321
|
*/
|
|
322
322
|
export interface DetailPoint {
|
|
323
323
|
/**
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
* 时间
|
|
325
|
+
*/
|
|
326
326
|
Time: string;
|
|
327
327
|
/**
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
* 值
|
|
329
|
+
*/
|
|
330
330
|
Value: string;
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
@@ -334,69 +334,69 @@ export interface DetailPoint {
|
|
|
334
334
|
*/
|
|
335
335
|
export interface CostDetail {
|
|
336
336
|
/**
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
* 支付者uin
|
|
338
|
+
*/
|
|
339
339
|
PayerUin: string;
|
|
340
340
|
/**
|
|
341
|
-
|
|
342
|
-
|
|
341
|
+
* 产品名称
|
|
342
|
+
*/
|
|
343
343
|
BusinessCodeName: string;
|
|
344
344
|
/**
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
* 子产品名称
|
|
346
|
+
*/
|
|
347
347
|
ProductCodeName: string;
|
|
348
348
|
/**
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
* 计费模式名称
|
|
350
|
+
*/
|
|
351
351
|
PayModeName: string;
|
|
352
352
|
/**
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
* 项目名称
|
|
354
|
+
*/
|
|
355
355
|
ProjectName: string;
|
|
356
356
|
/**
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
* 区域名称
|
|
358
|
+
*/
|
|
359
359
|
RegionName: string;
|
|
360
360
|
/**
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
* 地区名称
|
|
362
|
+
*/
|
|
363
363
|
ZoneName: string;
|
|
364
364
|
/**
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
* 资源id
|
|
366
|
+
*/
|
|
367
367
|
ResourceId: string;
|
|
368
368
|
/**
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
* 资源名称
|
|
370
|
+
*/
|
|
371
371
|
ResourceName: string;
|
|
372
372
|
/**
|
|
373
|
-
|
|
374
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
-
|
|
373
|
+
* 类型名称
|
|
374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
+
*/
|
|
376
376
|
ActionTypeName: string;
|
|
377
377
|
/**
|
|
378
|
-
|
|
379
|
-
|
|
378
|
+
* 订单id
|
|
379
|
+
*/
|
|
380
380
|
OrderId: string;
|
|
381
381
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
* 交易id
|
|
383
|
+
*/
|
|
384
384
|
BillId: string;
|
|
385
385
|
/**
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
* 费用开始时间
|
|
387
|
+
*/
|
|
388
388
|
FeeBeginTime: string;
|
|
389
389
|
/**
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
* 费用结束时间
|
|
391
|
+
*/
|
|
392
392
|
FeeEndTime: string;
|
|
393
393
|
/**
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
* 组件明细
|
|
395
|
+
*/
|
|
396
396
|
ComponentSet: Array<CostComponentSet>;
|
|
397
397
|
/**
|
|
398
|
-
|
|
399
|
-
|
|
398
|
+
* 子产品名称代码
|
|
399
|
+
*/
|
|
400
400
|
ProductCode: string;
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
@@ -404,17 +404,17 @@ export interface CostDetail {
|
|
|
404
404
|
*/
|
|
405
405
|
export interface DescribeBillSummaryByPayModeResponse {
|
|
406
406
|
/**
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
408
|
+
*/
|
|
409
409
|
Ready: number;
|
|
410
410
|
/**
|
|
411
|
-
|
|
412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
|
-
|
|
411
|
+
* 各付费模式花费分布详情
|
|
412
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
|
+
*/
|
|
414
414
|
SummaryOverview: Array<PayModeSummaryOverviewItem>;
|
|
415
415
|
/**
|
|
416
|
-
|
|
417
|
-
|
|
416
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
417
|
+
*/
|
|
418
418
|
RequestId?: string;
|
|
419
419
|
}
|
|
420
420
|
/**
|
|
@@ -422,162 +422,162 @@ export interface DescribeBillSummaryByPayModeResponse {
|
|
|
422
422
|
*/
|
|
423
423
|
export interface BillResourceSummary {
|
|
424
424
|
/**
|
|
425
|
-
|
|
426
|
-
|
|
425
|
+
* 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
|
426
|
+
*/
|
|
427
427
|
BusinessCodeName: string;
|
|
428
428
|
/**
|
|
429
|
-
|
|
430
|
-
|
|
429
|
+
* 子产品名称:云产品子类,如云服务器CVM-标准型S1, 当没有获取到子产品名称时,返回"-"
|
|
430
|
+
*/
|
|
431
431
|
ProductCodeName: string;
|
|
432
432
|
/**
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
* 计费模式:包年包月和按量计费
|
|
434
|
+
*/
|
|
435
435
|
PayModeName: string;
|
|
436
436
|
/**
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
* 项目
|
|
438
|
+
*/
|
|
439
439
|
ProjectName: string;
|
|
440
440
|
/**
|
|
441
|
-
|
|
442
|
-
|
|
441
|
+
* 地域
|
|
442
|
+
*/
|
|
443
443
|
RegionName: string;
|
|
444
444
|
/**
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
* 可用区
|
|
446
|
+
*/
|
|
447
447
|
ZoneName: string;
|
|
448
448
|
/**
|
|
449
|
-
|
|
450
|
-
|
|
449
|
+
* 资源实例ID
|
|
450
|
+
*/
|
|
451
451
|
ResourceId: string;
|
|
452
452
|
/**
|
|
453
|
-
|
|
454
|
-
|
|
453
|
+
* 资源实例名称
|
|
454
|
+
*/
|
|
455
455
|
ResourceName: string;
|
|
456
456
|
/**
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
* 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型
|
|
458
|
+
*/
|
|
459
459
|
ActionTypeName: string;
|
|
460
460
|
/**
|
|
461
|
-
|
|
462
|
-
|
|
461
|
+
* 订单ID
|
|
462
|
+
*/
|
|
463
463
|
OrderId: string;
|
|
464
464
|
/**
|
|
465
|
-
|
|
466
|
-
|
|
465
|
+
* 扣费时间
|
|
466
|
+
*/
|
|
467
467
|
PayTime: string;
|
|
468
468
|
/**
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
* 开始使用时间
|
|
470
|
+
*/
|
|
471
471
|
FeeBeginTime: string;
|
|
472
472
|
/**
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
* 结束使用时间
|
|
474
|
+
*/
|
|
475
475
|
FeeEndTime: string;
|
|
476
476
|
/**
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
* 配置描述
|
|
478
|
+
*/
|
|
479
479
|
ConfigDesc: string;
|
|
480
480
|
/**
|
|
481
|
-
|
|
482
|
-
|
|
481
|
+
* 扩展字段1
|
|
482
|
+
*/
|
|
483
483
|
ExtendField1: string;
|
|
484
484
|
/**
|
|
485
|
-
|
|
486
|
-
|
|
485
|
+
* 扩展字段2
|
|
486
|
+
*/
|
|
487
487
|
ExtendField2: string;
|
|
488
488
|
/**
|
|
489
|
-
|
|
490
|
-
|
|
489
|
+
* 原价,单位为元
|
|
490
|
+
*/
|
|
491
491
|
TotalCost: string;
|
|
492
492
|
/**
|
|
493
|
-
|
|
494
|
-
当聚合之后折扣不唯一或者合同价的情况下,返回“-”
|
|
495
|
-
|
|
493
|
+
* 折扣率
|
|
494
|
+
当聚合之后折扣不唯一或者合同价的情况下,返回“-”
|
|
495
|
+
*/
|
|
496
496
|
Discount: string;
|
|
497
497
|
/**
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
* 优惠类型
|
|
499
|
+
*/
|
|
500
500
|
ReduceType: string;
|
|
501
501
|
/**
|
|
502
|
-
|
|
503
|
-
|
|
502
|
+
* 优惠后总价,单位为元
|
|
503
|
+
*/
|
|
504
504
|
RealTotalCost: string;
|
|
505
505
|
/**
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
* 代金券支付金额,单位为元
|
|
507
|
+
*/
|
|
508
508
|
VoucherPayAmount: string;
|
|
509
509
|
/**
|
|
510
|
-
|
|
511
|
-
|
|
510
|
+
* 现金账户支付金额,单位为元
|
|
511
|
+
*/
|
|
512
512
|
CashPayAmount: string;
|
|
513
513
|
/**
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
* 赠送账户支付金额,单位为元
|
|
515
|
+
*/
|
|
516
516
|
IncentivePayAmount: string;
|
|
517
517
|
/**
|
|
518
|
-
|
|
519
|
-
|
|
518
|
+
* 扩展字段3
|
|
519
|
+
*/
|
|
520
520
|
ExtendField3: string;
|
|
521
521
|
/**
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
* 扩展字段4
|
|
523
|
+
*/
|
|
524
524
|
ExtendField4: string;
|
|
525
525
|
/**
|
|
526
|
-
|
|
527
|
-
|
|
526
|
+
* 扩展字段5
|
|
527
|
+
*/
|
|
528
528
|
ExtendField5: string;
|
|
529
529
|
/**
|
|
530
|
-
|
|
531
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
532
|
-
|
|
530
|
+
* Tag 信息
|
|
531
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
532
|
+
*/
|
|
533
533
|
Tags: Array<BillTagInfo>;
|
|
534
534
|
/**
|
|
535
|
-
|
|
536
|
-
|
|
535
|
+
* 付款方uin
|
|
536
|
+
*/
|
|
537
537
|
PayerUin: string;
|
|
538
538
|
/**
|
|
539
|
-
|
|
540
|
-
|
|
539
|
+
* 资源所有者uin,无值则返回"-"
|
|
540
|
+
*/
|
|
541
541
|
OwnerUin: string;
|
|
542
542
|
/**
|
|
543
|
-
|
|
544
|
-
|
|
543
|
+
* 操作者uin,无值则返回"-"
|
|
544
|
+
*/
|
|
545
545
|
OperateUin: string;
|
|
546
546
|
/**
|
|
547
|
-
|
|
548
|
-
|
|
547
|
+
* 产品名称代码
|
|
548
|
+
*/
|
|
549
549
|
BusinessCode: string;
|
|
550
550
|
/**
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
* 子产品名称代码
|
|
552
|
+
*/
|
|
553
553
|
ProductCode: string;
|
|
554
554
|
/**
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
* 区域ID
|
|
556
|
+
*/
|
|
557
557
|
RegionId: number;
|
|
558
558
|
/**
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
ri=Standard RI
|
|
562
|
-
|
|
563
|
-
svp=Savings Plan
|
|
564
|
-
|
|
565
|
-
si=Spot Instances
|
|
566
|
-
|
|
567
|
-
rp=Resource Pack
|
|
568
|
-
|
|
559
|
+
* 资源包、预留实例、节省计划、竞价实例这四类特殊实例本身的扣费行为,此字段体现对应的实例类型。枚举值如下:
|
|
560
|
+
|
|
561
|
+
ri=Standard RI
|
|
562
|
+
|
|
563
|
+
svp=Savings Plan
|
|
564
|
+
|
|
565
|
+
si=Spot Instances
|
|
566
|
+
|
|
567
|
+
rp=Resource Pack
|
|
568
|
+
*/
|
|
569
569
|
InstanceType: string;
|
|
570
570
|
/**
|
|
571
|
-
|
|
572
|
-
|
|
571
|
+
* 按组件原价的口径换算的预留实例抵扣金额
|
|
572
|
+
*/
|
|
573
573
|
OriginalCostWithRI: string;
|
|
574
574
|
/**
|
|
575
|
-
|
|
576
|
-
|
|
575
|
+
* 节省计划抵扣的SP包面值
|
|
576
|
+
*/
|
|
577
577
|
SPDeduction: string;
|
|
578
578
|
/**
|
|
579
|
-
|
|
580
|
-
|
|
579
|
+
* 按组件原价的口径换算的节省计划抵扣金额
|
|
580
|
+
*/
|
|
581
581
|
OriginalCostWithSP: string;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
@@ -585,24 +585,24 @@ rp=Resource Pack
|
|
|
585
585
|
*/
|
|
586
586
|
export interface DescribeBillSummaryByTagRequest {
|
|
587
587
|
/**
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
589
|
+
*/
|
|
590
590
|
BeginTime: string;
|
|
591
591
|
/**
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
593
|
+
*/
|
|
594
594
|
EndTime: string;
|
|
595
595
|
/**
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
* 分账标签键
|
|
597
|
+
*/
|
|
598
598
|
TagKey: string;
|
|
599
599
|
/**
|
|
600
|
-
|
|
601
|
-
|
|
600
|
+
* 查询账单数据的用户UIN
|
|
601
|
+
*/
|
|
602
602
|
PayerUin?: string;
|
|
603
603
|
/**
|
|
604
|
-
|
|
605
|
-
|
|
604
|
+
* 分账标签值
|
|
605
|
+
*/
|
|
606
606
|
TagValue?: string;
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
@@ -610,80 +610,80 @@ export interface DescribeBillSummaryByTagRequest {
|
|
|
610
610
|
*/
|
|
611
611
|
export interface Conditions {
|
|
612
612
|
/**
|
|
613
|
-
|
|
614
|
-
|
|
613
|
+
* 只支持6和12两个值
|
|
614
|
+
*/
|
|
615
615
|
TimeRange?: number;
|
|
616
616
|
/**
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
* 产品名称代码
|
|
618
|
+
*/
|
|
619
619
|
BusinessCode?: string;
|
|
620
620
|
/**
|
|
621
|
-
|
|
622
|
-
|
|
621
|
+
* 项目ID
|
|
622
|
+
*/
|
|
623
623
|
ProjectId?: number;
|
|
624
624
|
/**
|
|
625
|
-
|
|
626
|
-
|
|
625
|
+
* 地域ID
|
|
626
|
+
*/
|
|
627
627
|
RegionId?: number;
|
|
628
628
|
/**
|
|
629
|
-
|
|
630
|
-
|
|
629
|
+
* 付费模式,可选prePay和postPay
|
|
630
|
+
*/
|
|
631
631
|
PayMode?: string;
|
|
632
632
|
/**
|
|
633
|
-
|
|
634
|
-
|
|
633
|
+
* 资源关键字
|
|
634
|
+
*/
|
|
635
635
|
ResourceKeyword?: string;
|
|
636
636
|
/**
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
* 产品名称代码
|
|
638
|
+
*/
|
|
639
639
|
BusinessCodes?: Array<string>;
|
|
640
640
|
/**
|
|
641
|
-
|
|
642
|
-
|
|
641
|
+
* 子产品名称代码
|
|
642
|
+
*/
|
|
643
643
|
ProductCodes?: Array<string>;
|
|
644
644
|
/**
|
|
645
|
-
|
|
646
|
-
|
|
645
|
+
* 地域ID
|
|
646
|
+
*/
|
|
647
647
|
RegionIds?: Array<number>;
|
|
648
648
|
/**
|
|
649
|
-
|
|
650
|
-
|
|
649
|
+
* 项目ID
|
|
650
|
+
*/
|
|
651
651
|
ProjectIds?: Array<number>;
|
|
652
652
|
/**
|
|
653
|
-
|
|
654
|
-
|
|
653
|
+
* 付费模式,可选prePay和postPay
|
|
654
|
+
*/
|
|
655
655
|
PayModes?: Array<string>;
|
|
656
656
|
/**
|
|
657
|
-
|
|
658
|
-
|
|
657
|
+
* 交易类型
|
|
658
|
+
*/
|
|
659
659
|
ActionTypes?: Array<string>;
|
|
660
660
|
/**
|
|
661
|
-
|
|
662
|
-
|
|
661
|
+
* 是否隐藏0元流水
|
|
662
|
+
*/
|
|
663
663
|
HideFreeCost?: number;
|
|
664
664
|
/**
|
|
665
|
-
|
|
666
|
-
|
|
665
|
+
* 排序规则,可选desc和asc
|
|
666
|
+
*/
|
|
667
667
|
OrderByCost?: string;
|
|
668
668
|
/**
|
|
669
|
-
|
|
670
|
-
|
|
669
|
+
* 交易ID
|
|
670
|
+
*/
|
|
671
671
|
BillIds?: Array<string>;
|
|
672
672
|
/**
|
|
673
|
-
|
|
674
|
-
|
|
673
|
+
* 组件编码
|
|
674
|
+
*/
|
|
675
675
|
ComponentCodes?: Array<string>;
|
|
676
676
|
/**
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
* 文件ID
|
|
678
|
+
*/
|
|
679
679
|
FileIds?: Array<string>;
|
|
680
680
|
/**
|
|
681
|
-
|
|
682
|
-
|
|
681
|
+
* 文件类型
|
|
682
|
+
*/
|
|
683
683
|
FileTypes?: Array<string>;
|
|
684
684
|
/**
|
|
685
|
-
|
|
686
|
-
|
|
685
|
+
* 状态
|
|
686
|
+
*/
|
|
687
687
|
Status?: Array<number>;
|
|
688
688
|
}
|
|
689
689
|
/**
|
|
@@ -691,22 +691,22 @@ export interface Conditions {
|
|
|
691
691
|
*/
|
|
692
692
|
export interface DescribeBillSummaryByProductResponse {
|
|
693
693
|
/**
|
|
694
|
-
|
|
695
|
-
|
|
694
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
695
|
+
*/
|
|
696
696
|
Ready: number;
|
|
697
697
|
/**
|
|
698
|
-
|
|
699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
700
|
-
|
|
698
|
+
* 总花费详情
|
|
699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
700
|
+
*/
|
|
701
701
|
SummaryTotal: BusinessSummaryTotal;
|
|
702
702
|
/**
|
|
703
|
-
|
|
704
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
705
|
-
|
|
703
|
+
* 各产品花费分布
|
|
704
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
705
|
+
*/
|
|
706
706
|
SummaryOverview: Array<BusinessSummaryOverviewItem>;
|
|
707
707
|
/**
|
|
708
|
-
|
|
709
|
-
|
|
708
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
709
|
+
*/
|
|
710
710
|
RequestId?: string;
|
|
711
711
|
}
|
|
712
712
|
/**
|
|
@@ -714,12 +714,12 @@ export interface DescribeBillSummaryByProductResponse {
|
|
|
714
714
|
*/
|
|
715
715
|
export interface BillTagInfo {
|
|
716
716
|
/**
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
* 分账标签键
|
|
718
|
+
*/
|
|
719
719
|
TagKey: string;
|
|
720
720
|
/**
|
|
721
|
-
|
|
722
|
-
|
|
721
|
+
* 标签值
|
|
722
|
+
*/
|
|
723
723
|
TagValue: string;
|
|
724
724
|
}
|
|
725
725
|
/**
|
|
@@ -727,17 +727,17 @@ export interface BillTagInfo {
|
|
|
727
727
|
*/
|
|
728
728
|
export interface DescribeBillSummaryByRegionResponse {
|
|
729
729
|
/**
|
|
730
|
-
|
|
731
|
-
|
|
730
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
731
|
+
*/
|
|
732
732
|
Ready: number;
|
|
733
733
|
/**
|
|
734
|
-
|
|
735
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
736
|
-
|
|
734
|
+
* 各地域花费分布详情
|
|
735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
736
|
+
*/
|
|
737
737
|
SummaryOverview: Array<RegionSummaryOverviewItem>;
|
|
738
738
|
/**
|
|
739
|
-
|
|
740
|
-
|
|
739
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
740
|
+
*/
|
|
741
741
|
RequestId?: string;
|
|
742
742
|
}
|
|
743
743
|
/**
|
|
@@ -745,17 +745,17 @@ export interface DescribeBillSummaryByRegionResponse {
|
|
|
745
745
|
*/
|
|
746
746
|
export interface DetailSet {
|
|
747
747
|
/**
|
|
748
|
-
|
|
749
|
-
|
|
748
|
+
* 域名
|
|
749
|
+
*/
|
|
750
750
|
Domain: string;
|
|
751
751
|
/**
|
|
752
|
-
|
|
753
|
-
|
|
752
|
+
* 使用数据明细
|
|
753
|
+
*/
|
|
754
754
|
DetailPoints: Array<DetailPoint>;
|
|
755
755
|
/**
|
|
756
|
-
|
|
757
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
758
|
-
|
|
756
|
+
* 实例ID
|
|
757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
758
|
+
*/
|
|
759
759
|
InstanceID: string;
|
|
760
760
|
}
|
|
761
761
|
/**
|
|
@@ -763,48 +763,48 @@ export interface DetailSet {
|
|
|
763
763
|
*/
|
|
764
764
|
export interface BillTransactionInfo {
|
|
765
765
|
/**
|
|
766
|
-
|
|
767
|
-
|
|
766
|
+
* 收支类型:deduct 扣费, recharge 充值, return 退费, block 冻结, unblock 解冻
|
|
767
|
+
*/
|
|
768
768
|
ActionType: string;
|
|
769
769
|
/**
|
|
770
|
-
|
|
771
|
-
|
|
770
|
+
* 流水金额,单位(分);正数表示入账,负数表示出账
|
|
771
|
+
*/
|
|
772
772
|
Amount: number;
|
|
773
773
|
/**
|
|
774
|
-
|
|
775
|
-
|
|
774
|
+
* 可用余额,单位(分);正数表示入账,负数表示出账
|
|
775
|
+
*/
|
|
776
776
|
Balance: number;
|
|
777
777
|
/**
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
* 流水号,如20190131020000236005203583326401
|
|
779
|
+
*/
|
|
780
780
|
BillId: string;
|
|
781
781
|
/**
|
|
782
|
-
|
|
783
|
-
|
|
782
|
+
* 描述信息
|
|
783
|
+
*/
|
|
784
784
|
OperationInfo: string;
|
|
785
785
|
/**
|
|
786
|
-
|
|
787
|
-
|
|
786
|
+
* 操作时间"2019-01-31 23:35:10.000"
|
|
787
|
+
*/
|
|
788
788
|
OperationTime: string;
|
|
789
789
|
/**
|
|
790
|
-
|
|
791
|
-
|
|
790
|
+
* 现金账户余额,单位(分)
|
|
791
|
+
*/
|
|
792
792
|
Cash: number;
|
|
793
793
|
/**
|
|
794
|
-
|
|
795
|
-
|
|
794
|
+
* 赠送金余额,单位(分)
|
|
795
|
+
*/
|
|
796
796
|
Incentive: number;
|
|
797
797
|
/**
|
|
798
|
-
|
|
799
|
-
|
|
798
|
+
* 冻结余额,单位(分)
|
|
799
|
+
*/
|
|
800
800
|
Freezing: number;
|
|
801
801
|
/**
|
|
802
|
-
|
|
803
|
-
|
|
802
|
+
* 交易渠道
|
|
803
|
+
*/
|
|
804
804
|
PayChannel: string;
|
|
805
805
|
/**
|
|
806
|
-
|
|
807
|
-
|
|
806
|
+
* 扣费模式:trade 包年包月(预付费),hourh 按量-小时结,hourd 按量-日结,hourm 按量-月结,month 按量-月结
|
|
807
|
+
*/
|
|
808
808
|
DeductMode: string;
|
|
809
809
|
}
|
|
810
810
|
/**
|
|
@@ -812,21 +812,21 @@ export interface BillTransactionInfo {
|
|
|
812
812
|
*/
|
|
813
813
|
export interface DescribeVoucherInfoResponse {
|
|
814
814
|
/**
|
|
815
|
-
|
|
816
|
-
|
|
815
|
+
* 券总数
|
|
816
|
+
*/
|
|
817
817
|
TotalCount: number;
|
|
818
818
|
/**
|
|
819
|
-
|
|
820
|
-
|
|
819
|
+
* 总余额(微分)
|
|
820
|
+
*/
|
|
821
821
|
TotalBalance: number;
|
|
822
822
|
/**
|
|
823
|
-
|
|
824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
825
|
-
|
|
823
|
+
* 代金券相关信息
|
|
824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
825
|
+
*/
|
|
826
826
|
VoucherInfos: Array<VoucherInfos>;
|
|
827
827
|
/**
|
|
828
|
-
|
|
829
|
-
|
|
828
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
829
|
+
*/
|
|
830
830
|
RequestId?: string;
|
|
831
831
|
}
|
|
832
832
|
/**
|
|
@@ -834,56 +834,56 @@ export interface DescribeVoucherInfoResponse {
|
|
|
834
834
|
*/
|
|
835
835
|
export interface ConsumptionResourceSummaryDataItem {
|
|
836
836
|
/**
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
* 资源ID
|
|
838
|
+
*/
|
|
839
839
|
ResourceId: string;
|
|
840
840
|
/**
|
|
841
|
-
|
|
842
|
-
|
|
841
|
+
* 资源名称
|
|
842
|
+
*/
|
|
843
843
|
ResourceName: string;
|
|
844
844
|
/**
|
|
845
|
-
|
|
846
|
-
|
|
845
|
+
* 折后总价
|
|
846
|
+
*/
|
|
847
847
|
RealTotalCost: string;
|
|
848
848
|
/**
|
|
849
|
-
|
|
850
|
-
|
|
849
|
+
* 现金花费
|
|
850
|
+
*/
|
|
851
851
|
CashPayAmount: string;
|
|
852
852
|
/**
|
|
853
|
-
|
|
854
|
-
|
|
853
|
+
* 项目ID
|
|
854
|
+
*/
|
|
855
855
|
ProjectId: string;
|
|
856
856
|
/**
|
|
857
|
-
|
|
858
|
-
|
|
857
|
+
* 项目名称
|
|
858
|
+
*/
|
|
859
859
|
ProjectName: string;
|
|
860
860
|
/**
|
|
861
|
-
|
|
862
|
-
|
|
861
|
+
* 地域ID
|
|
862
|
+
*/
|
|
863
863
|
RegionId: string;
|
|
864
864
|
/**
|
|
865
|
-
|
|
866
|
-
|
|
865
|
+
* 地域名称
|
|
866
|
+
*/
|
|
867
867
|
RegionName: string;
|
|
868
868
|
/**
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
* 付费模式
|
|
870
|
+
*/
|
|
871
871
|
PayMode: string;
|
|
872
872
|
/**
|
|
873
|
-
|
|
874
|
-
|
|
873
|
+
* 付费模式名称
|
|
874
|
+
*/
|
|
875
875
|
PayModeName: string;
|
|
876
876
|
/**
|
|
877
|
-
|
|
878
|
-
|
|
877
|
+
* 产品名称代码
|
|
878
|
+
*/
|
|
879
879
|
BusinessCode: string;
|
|
880
880
|
/**
|
|
881
|
-
|
|
882
|
-
|
|
881
|
+
* 产品名称
|
|
882
|
+
*/
|
|
883
883
|
BusinessCodeName: string;
|
|
884
884
|
/**
|
|
885
|
-
|
|
886
|
-
|
|
885
|
+
* 消耗类型
|
|
886
|
+
*/
|
|
887
887
|
ConsumptionTypeName: string;
|
|
888
888
|
}
|
|
889
889
|
/**
|
|
@@ -895,84 +895,84 @@ export declare type DescribeAccountBalanceRequest = null;
|
|
|
895
895
|
*/
|
|
896
896
|
export interface DescribeBillDetailRequest {
|
|
897
897
|
/**
|
|
898
|
-
|
|
899
|
-
|
|
898
|
+
* 偏移量
|
|
899
|
+
*/
|
|
900
900
|
Offset: number;
|
|
901
901
|
/**
|
|
902
|
-
|
|
903
|
-
|
|
902
|
+
* 数量,最大值为100
|
|
903
|
+
*/
|
|
904
904
|
Limit: number;
|
|
905
905
|
/**
|
|
906
|
-
|
|
907
|
-
|
|
906
|
+
* 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
|
907
|
+
*/
|
|
908
908
|
PeriodType?: string;
|
|
909
909
|
/**
|
|
910
|
-
|
|
911
|
-
|
|
910
|
+
* 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。
|
|
911
|
+
*/
|
|
912
912
|
Month?: string;
|
|
913
913
|
/**
|
|
914
|
-
|
|
915
|
-
|
|
914
|
+
* 周期开始时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)
|
|
915
|
+
*/
|
|
916
916
|
BeginTime?: string;
|
|
917
917
|
/**
|
|
918
|
-
|
|
919
|
-
|
|
918
|
+
* 周期结束时间,格式为Y-m-d H:i:s,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。(不支持跨月查询)
|
|
919
|
+
*/
|
|
920
920
|
EndTime?: string;
|
|
921
921
|
/**
|
|
922
|
-
|
|
923
|
-
1-表示需要, 0-表示不需要
|
|
924
|
-
|
|
922
|
+
* 是否需要访问列表的总记录数,用于前端分页
|
|
923
|
+
1-表示需要, 0-表示不需要
|
|
924
|
+
*/
|
|
925
925
|
NeedRecordNum?: number;
|
|
926
926
|
/**
|
|
927
|
-
|
|
928
|
-
|
|
927
|
+
* 已废弃参数,未开放
|
|
928
|
+
*/
|
|
929
929
|
ProductCode?: string;
|
|
930
930
|
/**
|
|
931
|
-
|
|
932
|
-
|
|
931
|
+
* 付费模式 prePay/postPay
|
|
932
|
+
*/
|
|
933
933
|
PayMode?: string;
|
|
934
934
|
/**
|
|
935
|
-
|
|
936
|
-
|
|
935
|
+
* 查询指定资源信息
|
|
936
|
+
*/
|
|
937
937
|
ResourceId?: string;
|
|
938
938
|
/**
|
|
939
|
-
|
|
940
|
-
包年包月新购
|
|
941
|
-
包年包月续费
|
|
942
|
-
包年包月配置变更
|
|
943
|
-
包年包月退款
|
|
944
|
-
按量计费扣费
|
|
945
|
-
按量计费小时结
|
|
946
|
-
按量计费日结
|
|
947
|
-
按量计费月结
|
|
948
|
-
线下项目扣费
|
|
949
|
-
线下产品扣费
|
|
950
|
-
调账扣费
|
|
951
|
-
调账补偿
|
|
952
|
-
竞价实例小时结
|
|
953
|
-
线下项目调账补偿
|
|
954
|
-
线下产品调账补偿
|
|
955
|
-
优惠扣费
|
|
956
|
-
优惠补偿
|
|
957
|
-
按量计费迁入资源
|
|
958
|
-
按量计费迁出资源
|
|
959
|
-
包年包月迁入资源
|
|
960
|
-
包年包月迁出资源
|
|
961
|
-
预付费用
|
|
962
|
-
小时费用
|
|
963
|
-
预留实例退款
|
|
964
|
-
按量计费冲正
|
|
965
|
-
包年包月转按量
|
|
966
|
-
|
|
939
|
+
* 查询交易类型,如下:
|
|
940
|
+
包年包月新购
|
|
941
|
+
包年包月续费
|
|
942
|
+
包年包月配置变更
|
|
943
|
+
包年包月退款
|
|
944
|
+
按量计费扣费
|
|
945
|
+
按量计费小时结
|
|
946
|
+
按量计费日结
|
|
947
|
+
按量计费月结
|
|
948
|
+
线下项目扣费
|
|
949
|
+
线下产品扣费
|
|
950
|
+
调账扣费
|
|
951
|
+
调账补偿
|
|
952
|
+
竞价实例小时结
|
|
953
|
+
线下项目调账补偿
|
|
954
|
+
线下产品调账补偿
|
|
955
|
+
优惠扣费
|
|
956
|
+
优惠补偿
|
|
957
|
+
按量计费迁入资源
|
|
958
|
+
按量计费迁出资源
|
|
959
|
+
包年包月迁入资源
|
|
960
|
+
包年包月迁出资源
|
|
961
|
+
预付费用
|
|
962
|
+
小时费用
|
|
963
|
+
预留实例退款
|
|
964
|
+
按量计费冲正
|
|
965
|
+
包年包月转按量
|
|
966
|
+
*/
|
|
967
967
|
ActionType?: string;
|
|
968
968
|
/**
|
|
969
|
-
|
|
970
|
-
|
|
969
|
+
* 项目ID:资源所属项目ID
|
|
970
|
+
*/
|
|
971
971
|
ProjectId?: number;
|
|
972
972
|
/**
|
|
973
|
-
|
|
974
|
-
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
975
|
-
|
|
973
|
+
* 产品名称代码
|
|
974
|
+
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
975
|
+
*/
|
|
976
976
|
BusinessCode?: string;
|
|
977
977
|
}
|
|
978
978
|
/**
|
|
@@ -980,24 +980,24 @@ export interface DescribeBillDetailRequest {
|
|
|
980
980
|
*/
|
|
981
981
|
export interface ConsumptionProjectSummaryDataItem {
|
|
982
982
|
/**
|
|
983
|
-
|
|
984
|
-
|
|
983
|
+
* 项目ID
|
|
984
|
+
*/
|
|
985
985
|
ProjectId: string;
|
|
986
986
|
/**
|
|
987
|
-
|
|
988
|
-
|
|
987
|
+
* 项目名称
|
|
988
|
+
*/
|
|
989
989
|
ProjectName: string;
|
|
990
990
|
/**
|
|
991
|
-
|
|
992
|
-
|
|
991
|
+
* 折后总价
|
|
992
|
+
*/
|
|
993
993
|
RealTotalCost: string;
|
|
994
994
|
/**
|
|
995
|
-
|
|
996
|
-
|
|
995
|
+
* 趋势
|
|
996
|
+
*/
|
|
997
997
|
Trend: ConsumptionSummaryTrend;
|
|
998
998
|
/**
|
|
999
|
-
|
|
1000
|
-
|
|
999
|
+
* 产品消耗详情
|
|
1000
|
+
*/
|
|
1001
1001
|
Business: Array<ConsumptionBusinessSummaryDataItem>;
|
|
1002
1002
|
}
|
|
1003
1003
|
/**
|
|
@@ -1005,45 +1005,45 @@ export interface ConsumptionProjectSummaryDataItem {
|
|
|
1005
1005
|
*/
|
|
1006
1006
|
export interface RegionSummaryOverviewItem {
|
|
1007
1007
|
/**
|
|
1008
|
-
|
|
1009
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
|
-
|
|
1008
|
+
* 地域ID
|
|
1009
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1010
|
+
*/
|
|
1011
1011
|
RegionId: string;
|
|
1012
1012
|
/**
|
|
1013
|
-
|
|
1014
|
-
|
|
1013
|
+
* 地域名称
|
|
1014
|
+
*/
|
|
1015
1015
|
RegionName: string;
|
|
1016
1016
|
/**
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
* 实际花费
|
|
1018
|
+
*/
|
|
1019
1019
|
RealTotalCost: string;
|
|
1020
1020
|
/**
|
|
1021
|
-
|
|
1022
|
-
|
|
1021
|
+
* 费用所占百分比,两位小数
|
|
1022
|
+
*/
|
|
1023
1023
|
RealTotalCostRatio: string;
|
|
1024
1024
|
/**
|
|
1025
|
-
|
|
1026
|
-
|
|
1025
|
+
* 现金金额
|
|
1026
|
+
*/
|
|
1027
1027
|
CashPayAmount: string;
|
|
1028
1028
|
/**
|
|
1029
|
-
|
|
1030
|
-
|
|
1029
|
+
* 赠送金金额
|
|
1030
|
+
*/
|
|
1031
1031
|
IncentivePayAmount: string;
|
|
1032
1032
|
/**
|
|
1033
|
-
|
|
1034
|
-
|
|
1033
|
+
* 代金券金额
|
|
1034
|
+
*/
|
|
1035
1035
|
VoucherPayAmount: string;
|
|
1036
1036
|
/**
|
|
1037
|
-
|
|
1038
|
-
|
|
1037
|
+
* 账单月份,格式2019-08
|
|
1038
|
+
*/
|
|
1039
1039
|
BillMonth: string;
|
|
1040
1040
|
/**
|
|
1041
|
-
|
|
1042
|
-
|
|
1041
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1042
|
+
*/
|
|
1043
1043
|
TotalCost: string;
|
|
1044
1044
|
/**
|
|
1045
|
-
|
|
1046
|
-
|
|
1045
|
+
* 分成金金额
|
|
1046
|
+
*/
|
|
1047
1047
|
TransferPayAmount: string;
|
|
1048
1048
|
}
|
|
1049
1049
|
/**
|
|
@@ -1051,26 +1051,26 @@ export interface RegionSummaryOverviewItem {
|
|
|
1051
1051
|
*/
|
|
1052
1052
|
export interface DescribeCostSummaryByProductResponse {
|
|
1053
1053
|
/**
|
|
1054
|
-
|
|
1055
|
-
|
|
1054
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
1055
|
+
*/
|
|
1056
1056
|
Ready?: number;
|
|
1057
1057
|
/**
|
|
1058
|
-
|
|
1059
|
-
|
|
1058
|
+
* 消耗详情
|
|
1059
|
+
*/
|
|
1060
1060
|
Total?: ConsumptionSummaryTotal;
|
|
1061
1061
|
/**
|
|
1062
|
-
|
|
1063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
-
|
|
1062
|
+
* 消耗按产品汇总详情
|
|
1063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
+
*/
|
|
1065
1065
|
Data?: Array<ConsumptionBusinessSummaryDataItem>;
|
|
1066
1066
|
/**
|
|
1067
|
-
|
|
1068
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
|
-
|
|
1067
|
+
* 记录数量,NeedRecordNum为0是返回null
|
|
1068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1069
|
+
*/
|
|
1070
1070
|
RecordNum?: number;
|
|
1071
1071
|
/**
|
|
1072
|
-
|
|
1073
|
-
|
|
1072
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1073
|
+
*/
|
|
1074
1074
|
RequestId?: string;
|
|
1075
1075
|
}
|
|
1076
1076
|
/**
|
|
@@ -1078,12 +1078,12 @@ export interface DescribeCostSummaryByProductResponse {
|
|
|
1078
1078
|
*/
|
|
1079
1079
|
export interface ProductInfo {
|
|
1080
1080
|
/**
|
|
1081
|
-
|
|
1082
|
-
|
|
1081
|
+
* 商品详情名称标识
|
|
1082
|
+
*/
|
|
1083
1083
|
Name: string;
|
|
1084
1084
|
/**
|
|
1085
|
-
|
|
1086
|
-
|
|
1085
|
+
* 商品详情
|
|
1086
|
+
*/
|
|
1087
1087
|
Value: string;
|
|
1088
1088
|
}
|
|
1089
1089
|
/**
|
|
@@ -1091,28 +1091,28 @@ export interface ProductInfo {
|
|
|
1091
1091
|
*/
|
|
1092
1092
|
export interface DescribeDosageDetailByDateResponse {
|
|
1093
1093
|
/**
|
|
1094
|
-
|
|
1095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1096
|
-
|
|
1094
|
+
* 计量单位
|
|
1095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1096
|
+
*/
|
|
1097
1097
|
Unit: string;
|
|
1098
1098
|
/**
|
|
1099
|
-
|
|
1100
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1101
|
-
|
|
1099
|
+
* 用量数组
|
|
1100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1101
|
+
*/
|
|
1102
1102
|
DetailSets: Array<DetailSet>;
|
|
1103
1103
|
/**
|
|
1104
|
-
|
|
1105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1106
|
-
|
|
1104
|
+
* 错误码
|
|
1105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1106
|
+
*/
|
|
1107
1107
|
RetCode: number;
|
|
1108
1108
|
/**
|
|
1109
|
-
|
|
1110
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1111
|
-
|
|
1109
|
+
* 错误信息
|
|
1110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1111
|
+
*/
|
|
1112
1112
|
RetMsg: string;
|
|
1113
1113
|
/**
|
|
1114
|
-
|
|
1115
|
-
|
|
1114
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1115
|
+
*/
|
|
1116
1116
|
RequestId?: string;
|
|
1117
1117
|
}
|
|
1118
1118
|
/**
|
|
@@ -1120,56 +1120,56 @@ export interface DescribeDosageDetailByDateResponse {
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
export interface DescribeBillListResponse {
|
|
1122
1122
|
/**
|
|
1123
|
-
|
|
1124
|
-
|
|
1123
|
+
* 收支明细列表
|
|
1124
|
+
*/
|
|
1125
1125
|
TransactionList: Array<BillTransactionInfo>;
|
|
1126
1126
|
/**
|
|
1127
|
-
|
|
1128
|
-
|
|
1127
|
+
* 总条数
|
|
1128
|
+
*/
|
|
1129
1129
|
Total: number;
|
|
1130
1130
|
/**
|
|
1131
|
-
|
|
1132
|
-
|
|
1131
|
+
* 退费总额,单位(分)
|
|
1132
|
+
*/
|
|
1133
1133
|
ReturnAmount: number;
|
|
1134
1134
|
/**
|
|
1135
|
-
|
|
1136
|
-
|
|
1135
|
+
* 充值总额,单位(分)
|
|
1136
|
+
*/
|
|
1137
1137
|
RechargeAmount: number;
|
|
1138
1138
|
/**
|
|
1139
|
-
|
|
1140
|
-
|
|
1139
|
+
* 冻结总额,单位(分)
|
|
1140
|
+
*/
|
|
1141
1141
|
BlockAmount: number;
|
|
1142
1142
|
/**
|
|
1143
|
-
|
|
1144
|
-
|
|
1143
|
+
* 解冻总额,单位(分)
|
|
1144
|
+
*/
|
|
1145
1145
|
UnblockAmount: number;
|
|
1146
1146
|
/**
|
|
1147
|
-
|
|
1148
|
-
|
|
1147
|
+
* 扣费总额,单位(分)
|
|
1148
|
+
*/
|
|
1149
1149
|
DeductAmount: number;
|
|
1150
1150
|
/**
|
|
1151
|
-
|
|
1152
|
-
|
|
1151
|
+
* 资金转入总额,单位(分)
|
|
1152
|
+
*/
|
|
1153
1153
|
AgentInAmount: number;
|
|
1154
1154
|
/**
|
|
1155
|
-
|
|
1156
|
-
|
|
1155
|
+
* 垫付充值总额,单位(分)
|
|
1156
|
+
*/
|
|
1157
1157
|
AdvanceRechargeAmount: number;
|
|
1158
1158
|
/**
|
|
1159
|
-
|
|
1160
|
-
|
|
1159
|
+
* 提现扣减总额,单位(分)
|
|
1160
|
+
*/
|
|
1161
1161
|
WithdrawAmount: number;
|
|
1162
1162
|
/**
|
|
1163
|
-
|
|
1164
|
-
|
|
1163
|
+
* 资金转出总额,单位(分)
|
|
1164
|
+
*/
|
|
1165
1165
|
AgentOutAmount: number;
|
|
1166
1166
|
/**
|
|
1167
|
-
|
|
1168
|
-
|
|
1167
|
+
* 还垫付总额,单位(分)
|
|
1168
|
+
*/
|
|
1169
1169
|
AdvancePayAmount: number;
|
|
1170
1170
|
/**
|
|
1171
|
-
|
|
1172
|
-
|
|
1171
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1172
|
+
*/
|
|
1173
1173
|
RequestId?: string;
|
|
1174
1174
|
}
|
|
1175
1175
|
/**
|
|
@@ -1177,60 +1177,60 @@ export interface DescribeBillListResponse {
|
|
|
1177
1177
|
*/
|
|
1178
1178
|
export interface DescribeAccountBalanceResponse {
|
|
1179
1179
|
/**
|
|
1180
|
-
|
|
1181
|
-
|
|
1180
|
+
* 接口做过变更,为兼容老接口,本字段与RealBalance相同,为当前真实可用余额,单位 分
|
|
1181
|
+
*/
|
|
1182
1182
|
Balance: number;
|
|
1183
1183
|
/**
|
|
1184
|
-
|
|
1185
|
-
|
|
1184
|
+
* 查询的用户Uin
|
|
1185
|
+
*/
|
|
1186
1186
|
Uin: number;
|
|
1187
1187
|
/**
|
|
1188
|
-
|
|
1189
|
-
|
|
1188
|
+
* 当前真实可用余额,单位 分
|
|
1189
|
+
*/
|
|
1190
1190
|
RealBalance: number;
|
|
1191
1191
|
/**
|
|
1192
|
-
|
|
1193
|
-
|
|
1192
|
+
* 现金账户余额,单位 分
|
|
1193
|
+
*/
|
|
1194
1194
|
CashAccountBalance: number;
|
|
1195
1195
|
/**
|
|
1196
|
-
|
|
1197
|
-
|
|
1196
|
+
* 收益转入账户余额,单位 分
|
|
1197
|
+
*/
|
|
1198
1198
|
IncomeIntoAccountBalance: number;
|
|
1199
1199
|
/**
|
|
1200
|
-
|
|
1201
|
-
|
|
1200
|
+
* 赠送账户余额,单位 分
|
|
1201
|
+
*/
|
|
1202
1202
|
PresentAccountBalance: number;
|
|
1203
1203
|
/**
|
|
1204
|
-
|
|
1205
|
-
|
|
1204
|
+
* 冻结金额,单位 分
|
|
1205
|
+
*/
|
|
1206
1206
|
FreezeAmount: number;
|
|
1207
1207
|
/**
|
|
1208
|
-
|
|
1209
|
-
|
|
1208
|
+
* 欠费金额,单位 分
|
|
1209
|
+
*/
|
|
1210
1210
|
OweAmount: number;
|
|
1211
1211
|
/**
|
|
1212
|
-
|
|
1213
|
-
|
|
1212
|
+
* 是否允许欠费消费
|
|
1213
|
+
*/
|
|
1214
1214
|
IsAllowArrears: boolean;
|
|
1215
1215
|
/**
|
|
1216
|
-
|
|
1217
|
-
|
|
1216
|
+
* 是否限制信用额度
|
|
1217
|
+
*/
|
|
1218
1218
|
IsCreditLimited: boolean;
|
|
1219
1219
|
/**
|
|
1220
|
-
|
|
1221
|
-
|
|
1220
|
+
* 信用额度
|
|
1221
|
+
*/
|
|
1222
1222
|
CreditAmount: number;
|
|
1223
1223
|
/**
|
|
1224
|
-
|
|
1225
|
-
|
|
1224
|
+
* 可用信用额度
|
|
1225
|
+
*/
|
|
1226
1226
|
CreditBalance: number;
|
|
1227
1227
|
/**
|
|
1228
|
-
|
|
1229
|
-
|
|
1228
|
+
* 真实可用信用额度
|
|
1229
|
+
*/
|
|
1230
1230
|
RealCreditBalance: number;
|
|
1231
1231
|
/**
|
|
1232
|
-
|
|
1233
|
-
|
|
1232
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1233
|
+
*/
|
|
1234
1234
|
RequestId?: string;
|
|
1235
1235
|
}
|
|
1236
1236
|
/**
|
|
@@ -1238,28 +1238,28 @@ export interface DescribeAccountBalanceResponse {
|
|
|
1238
1238
|
*/
|
|
1239
1239
|
export interface DescribeCostSummaryByRegionRequest {
|
|
1240
1240
|
/**
|
|
1241
|
-
|
|
1242
|
-
|
|
1241
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1242
|
+
*/
|
|
1243
1243
|
BeginTime: string;
|
|
1244
1244
|
/**
|
|
1245
|
-
|
|
1246
|
-
|
|
1245
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1246
|
+
*/
|
|
1247
1247
|
EndTime: string;
|
|
1248
1248
|
/**
|
|
1249
|
-
|
|
1250
|
-
|
|
1249
|
+
* 每次获取数据量
|
|
1250
|
+
*/
|
|
1251
1251
|
Limit: number;
|
|
1252
1252
|
/**
|
|
1253
|
-
|
|
1254
|
-
|
|
1253
|
+
* 偏移量
|
|
1254
|
+
*/
|
|
1255
1255
|
Offset: number;
|
|
1256
1256
|
/**
|
|
1257
|
-
|
|
1258
|
-
|
|
1257
|
+
* 查询账单数据的用户UIN
|
|
1258
|
+
*/
|
|
1259
1259
|
PayerUin?: string;
|
|
1260
1260
|
/**
|
|
1261
|
-
|
|
1262
|
-
|
|
1261
|
+
* 是否需要返回记录数量,0不需要,1需要,默认不需要
|
|
1262
|
+
*/
|
|
1263
1263
|
NeedRecordNum?: number;
|
|
1264
1264
|
}
|
|
1265
1265
|
/**
|
|
@@ -1267,45 +1267,45 @@ export interface DescribeCostSummaryByRegionRequest {
|
|
|
1267
1267
|
*/
|
|
1268
1268
|
export interface BusinessSummaryOverviewItem {
|
|
1269
1269
|
/**
|
|
1270
|
-
|
|
1271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1272
|
-
|
|
1270
|
+
* 产品名称代码
|
|
1271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1272
|
+
*/
|
|
1273
1273
|
BusinessCode: string;
|
|
1274
1274
|
/**
|
|
1275
|
-
|
|
1276
|
-
|
|
1275
|
+
* 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
|
1276
|
+
*/
|
|
1277
1277
|
BusinessCodeName: string;
|
|
1278
1278
|
/**
|
|
1279
|
-
|
|
1280
|
-
|
|
1279
|
+
* 实际花费
|
|
1280
|
+
*/
|
|
1281
1281
|
RealTotalCost: string;
|
|
1282
1282
|
/**
|
|
1283
|
-
|
|
1284
|
-
|
|
1283
|
+
* 费用所占百分比,两位小数
|
|
1284
|
+
*/
|
|
1285
1285
|
RealTotalCostRatio: string;
|
|
1286
1286
|
/**
|
|
1287
|
-
|
|
1288
|
-
|
|
1287
|
+
* 现金金额
|
|
1288
|
+
*/
|
|
1289
1289
|
CashPayAmount: string;
|
|
1290
1290
|
/**
|
|
1291
|
-
|
|
1292
|
-
|
|
1291
|
+
* 赠送金金额
|
|
1292
|
+
*/
|
|
1293
1293
|
IncentivePayAmount: string;
|
|
1294
1294
|
/**
|
|
1295
|
-
|
|
1296
|
-
|
|
1295
|
+
* 代金券金额
|
|
1296
|
+
*/
|
|
1297
1297
|
VoucherPayAmount: string;
|
|
1298
1298
|
/**
|
|
1299
|
-
|
|
1300
|
-
|
|
1299
|
+
* 账单月份,格式2019-08
|
|
1300
|
+
*/
|
|
1301
1301
|
BillMonth: string;
|
|
1302
1302
|
/**
|
|
1303
|
-
|
|
1304
|
-
|
|
1303
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1304
|
+
*/
|
|
1305
1305
|
TotalCost: string;
|
|
1306
1306
|
/**
|
|
1307
|
-
|
|
1308
|
-
|
|
1307
|
+
* 分成金金额
|
|
1308
|
+
*/
|
|
1309
1309
|
TransferPayAmount: string;
|
|
1310
1310
|
}
|
|
1311
1311
|
/**
|
|
@@ -1313,118 +1313,118 @@ export interface BusinessSummaryOverviewItem {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
export interface BillDetailComponent {
|
|
1315
1315
|
/**
|
|
1316
|
-
|
|
1317
|
-
|
|
1316
|
+
* 组件类型:资源组件类型的名称,如内存、硬盘等
|
|
1317
|
+
*/
|
|
1318
1318
|
ComponentCodeName: string;
|
|
1319
1319
|
/**
|
|
1320
|
-
|
|
1321
|
-
|
|
1320
|
+
* 组件名称:资源组件的名称,如云数据库MySQL-内存等
|
|
1321
|
+
*/
|
|
1322
1322
|
ItemCodeName: string;
|
|
1323
1323
|
/**
|
|
1324
|
-
|
|
1325
|
-
|
|
1324
|
+
* 组件刊例价:资源组件的原始价格,保持原始粒度
|
|
1325
|
+
*/
|
|
1326
1326
|
SinglePrice: string;
|
|
1327
1327
|
/**
|
|
1328
|
-
|
|
1329
|
-
|
|
1328
|
+
* 组件指定价
|
|
1329
|
+
*/
|
|
1330
1330
|
SpecifiedPrice: string;
|
|
1331
1331
|
/**
|
|
1332
|
-
|
|
1333
|
-
|
|
1332
|
+
* 价格单位
|
|
1333
|
+
*/
|
|
1334
1334
|
PriceUnit: string;
|
|
1335
1335
|
/**
|
|
1336
|
-
|
|
1337
|
-
|
|
1336
|
+
* 组件用量
|
|
1337
|
+
*/
|
|
1338
1338
|
UsedAmount: string;
|
|
1339
1339
|
/**
|
|
1340
|
-
|
|
1341
|
-
|
|
1340
|
+
* 组件用量单位
|
|
1341
|
+
*/
|
|
1342
1342
|
UsedAmountUnit: string;
|
|
1343
1343
|
/**
|
|
1344
|
-
|
|
1345
|
-
|
|
1344
|
+
* 使用时长
|
|
1345
|
+
*/
|
|
1346
1346
|
TimeSpan: string;
|
|
1347
1347
|
/**
|
|
1348
|
-
|
|
1349
|
-
|
|
1348
|
+
* 时长单位
|
|
1349
|
+
*/
|
|
1350
1350
|
TimeUnitName: string;
|
|
1351
1351
|
/**
|
|
1352
|
-
|
|
1353
|
-
|
|
1352
|
+
* 组件原价
|
|
1353
|
+
*/
|
|
1354
1354
|
Cost: string;
|
|
1355
1355
|
/**
|
|
1356
|
-
|
|
1357
|
-
|
|
1356
|
+
* 折扣率
|
|
1357
|
+
*/
|
|
1358
1358
|
Discount: string;
|
|
1359
1359
|
/**
|
|
1360
|
-
|
|
1361
|
-
|
|
1360
|
+
* 优惠类型
|
|
1361
|
+
*/
|
|
1362
1362
|
ReduceType: string;
|
|
1363
1363
|
/**
|
|
1364
|
-
|
|
1365
|
-
|
|
1364
|
+
* 优惠后总价
|
|
1365
|
+
*/
|
|
1366
1366
|
RealCost: string;
|
|
1367
1367
|
/**
|
|
1368
|
-
|
|
1369
|
-
|
|
1368
|
+
* 代金券支付金额
|
|
1369
|
+
*/
|
|
1370
1370
|
VoucherPayAmount: string;
|
|
1371
1371
|
/**
|
|
1372
|
-
|
|
1373
|
-
|
|
1372
|
+
* 现金支付金额
|
|
1373
|
+
*/
|
|
1374
1374
|
CashPayAmount: string;
|
|
1375
1375
|
/**
|
|
1376
|
-
|
|
1377
|
-
|
|
1376
|
+
* 赠送账户支付金额
|
|
1377
|
+
*/
|
|
1378
1378
|
IncentivePayAmount: string;
|
|
1379
1379
|
/**
|
|
1380
|
-
|
|
1381
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1382
|
-
|
|
1380
|
+
* 组件类型代码
|
|
1381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1382
|
+
*/
|
|
1383
1383
|
ItemCode: string;
|
|
1384
1384
|
/**
|
|
1385
|
-
|
|
1386
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1387
|
-
|
|
1385
|
+
* 组件名称代码
|
|
1386
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1387
|
+
*/
|
|
1388
1388
|
ComponentCode: string;
|
|
1389
1389
|
/**
|
|
1390
|
-
|
|
1391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1392
|
-
|
|
1390
|
+
* 合同价
|
|
1391
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1392
|
+
*/
|
|
1393
1393
|
ContractPrice: string;
|
|
1394
1394
|
/**
|
|
1395
|
-
|
|
1396
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
|
-
|
|
1395
|
+
* 资源包、预留实例、节省计划、竞价实例这四类特殊实例本身的扣费行为,此字段体现对应的实例类型。枚举值如下:
|
|
1396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1397
|
+
*/
|
|
1398
1398
|
InstanceType: string;
|
|
1399
1399
|
/**
|
|
1400
|
-
|
|
1401
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1402
|
-
|
|
1400
|
+
* 预留实例抵扣的使用时长,时长单位与被抵扣的时长单位保持一致
|
|
1401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1402
|
+
*/
|
|
1403
1403
|
RiTimeSpan: string;
|
|
1404
1404
|
/**
|
|
1405
|
-
|
|
1406
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1407
|
-
|
|
1405
|
+
* 按组件原价的口径换算的预留实例抵扣金额
|
|
1406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1407
|
+
*/
|
|
1408
1408
|
OriginalCostWithRI: string;
|
|
1409
1409
|
/**
|
|
1410
|
-
|
|
1411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1412
|
-
|
|
1410
|
+
* 节省计划可用余额额度范围内,节省计划对于此组件打的折扣率
|
|
1411
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1412
|
+
*/
|
|
1413
1413
|
SPDeductionRate: string;
|
|
1414
1414
|
/**
|
|
1415
|
-
|
|
1416
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1417
|
-
|
|
1415
|
+
* 节省计划抵扣的SP包面值
|
|
1416
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1417
|
+
*/
|
|
1418
1418
|
SPDeduction: string;
|
|
1419
1419
|
/**
|
|
1420
|
-
|
|
1421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1422
|
-
|
|
1420
|
+
* 按组件原价的口径换算的节省计划抵扣金额
|
|
1421
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1422
|
+
*/
|
|
1423
1423
|
OriginalCostWithSP: string;
|
|
1424
1424
|
/**
|
|
1425
|
-
|
|
1426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1427
|
-
|
|
1425
|
+
* 综合了官网折扣、预留实例抵扣、节省计划抵扣的混合折扣率。若没有预留实例抵扣、节省计划抵扣,混合折扣率等于折扣率
|
|
1426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1427
|
+
*/
|
|
1428
1428
|
BlendedDiscount: string;
|
|
1429
1429
|
}
|
|
1430
1430
|
/**
|
|
@@ -1432,13 +1432,13 @@ export interface BillDetailComponent {
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
export interface ConsumptionSummaryTrend {
|
|
1434
1434
|
/**
|
|
1435
|
-
|
|
1436
|
-
|
|
1435
|
+
* 趋势类型,upward上升/downward下降/none无
|
|
1436
|
+
*/
|
|
1437
1437
|
Type: string;
|
|
1438
1438
|
/**
|
|
1439
|
-
|
|
1440
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1441
|
-
|
|
1439
|
+
* 趋势值,Type为none是该字段值为null
|
|
1440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1441
|
+
*/
|
|
1442
1442
|
Value: string;
|
|
1443
1443
|
}
|
|
1444
1444
|
/**
|
|
@@ -1446,16 +1446,16 @@ export interface ConsumptionSummaryTrend {
|
|
|
1446
1446
|
*/
|
|
1447
1447
|
export interface DescribeBillSummaryByRegionRequest {
|
|
1448
1448
|
/**
|
|
1449
|
-
|
|
1450
|
-
|
|
1449
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1450
|
+
*/
|
|
1451
1451
|
BeginTime: string;
|
|
1452
1452
|
/**
|
|
1453
|
-
|
|
1454
|
-
|
|
1453
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1454
|
+
*/
|
|
1455
1455
|
EndTime: string;
|
|
1456
1456
|
/**
|
|
1457
|
-
|
|
1458
|
-
|
|
1457
|
+
* 查询账单数据的用户UIN
|
|
1458
|
+
*/
|
|
1459
1459
|
PayerUin?: string;
|
|
1460
1460
|
}
|
|
1461
1461
|
/**
|
|
@@ -1463,16 +1463,16 @@ export interface DescribeBillSummaryByRegionRequest {
|
|
|
1463
1463
|
*/
|
|
1464
1464
|
export interface DescribeBillSummaryByPayModeRequest {
|
|
1465
1465
|
/**
|
|
1466
|
-
|
|
1467
|
-
|
|
1466
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1467
|
+
*/
|
|
1468
1468
|
BeginTime: string;
|
|
1469
1469
|
/**
|
|
1470
|
-
|
|
1471
|
-
|
|
1470
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1471
|
+
*/
|
|
1472
1472
|
EndTime: string;
|
|
1473
1473
|
/**
|
|
1474
|
-
|
|
1475
|
-
|
|
1474
|
+
* 查询账单数据的用户UIN
|
|
1475
|
+
*/
|
|
1476
1476
|
PayerUin?: string;
|
|
1477
1477
|
}
|
|
1478
1478
|
/**
|
|
@@ -1480,28 +1480,28 @@ export interface DescribeBillSummaryByPayModeRequest {
|
|
|
1480
1480
|
*/
|
|
1481
1481
|
export interface DescribeCostSummaryByProjectRequest {
|
|
1482
1482
|
/**
|
|
1483
|
-
|
|
1484
|
-
|
|
1483
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1484
|
+
*/
|
|
1485
1485
|
BeginTime: string;
|
|
1486
1486
|
/**
|
|
1487
|
-
|
|
1488
|
-
|
|
1487
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
1488
|
+
*/
|
|
1489
1489
|
EndTime: string;
|
|
1490
1490
|
/**
|
|
1491
|
-
|
|
1492
|
-
|
|
1491
|
+
* 每次获取数据量
|
|
1492
|
+
*/
|
|
1493
1493
|
Limit: number;
|
|
1494
1494
|
/**
|
|
1495
|
-
|
|
1496
|
-
|
|
1495
|
+
* 偏移量
|
|
1496
|
+
*/
|
|
1497
1497
|
Offset: number;
|
|
1498
1498
|
/**
|
|
1499
|
-
|
|
1500
|
-
|
|
1499
|
+
* 查询账单数据的用户UIN
|
|
1500
|
+
*/
|
|
1501
1501
|
PayerUin?: string;
|
|
1502
1502
|
/**
|
|
1503
|
-
|
|
1504
|
-
|
|
1503
|
+
* 是否需要返回记录数量,0不需要,1需要,默认不需要
|
|
1504
|
+
*/
|
|
1505
1505
|
NeedRecordNum?: number;
|
|
1506
1506
|
}
|
|
1507
1507
|
/**
|
|
@@ -1509,17 +1509,17 @@ export interface DescribeCostSummaryByProjectRequest {
|
|
|
1509
1509
|
*/
|
|
1510
1510
|
export interface UsageRecords {
|
|
1511
1511
|
/**
|
|
1512
|
-
|
|
1513
|
-
|
|
1512
|
+
* 使用金额(微分)
|
|
1513
|
+
*/
|
|
1514
1514
|
UsedAmount: number;
|
|
1515
1515
|
/**
|
|
1516
|
-
|
|
1517
|
-
|
|
1516
|
+
* 使用时间
|
|
1517
|
+
*/
|
|
1518
1518
|
UsedTime: string;
|
|
1519
1519
|
/**
|
|
1520
|
-
|
|
1521
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1522
|
-
|
|
1520
|
+
* 使用记录细节
|
|
1521
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1522
|
+
*/
|
|
1523
1523
|
UsageDetails: Array<UsageDetails>;
|
|
1524
1524
|
}
|
|
1525
1525
|
/**
|
|
@@ -1527,24 +1527,24 @@ export interface UsageRecords {
|
|
|
1527
1527
|
*/
|
|
1528
1528
|
export interface ConsumptionRegionSummaryDataItem {
|
|
1529
1529
|
/**
|
|
1530
|
-
|
|
1531
|
-
|
|
1530
|
+
* 地域ID
|
|
1531
|
+
*/
|
|
1532
1532
|
RegionId: string;
|
|
1533
1533
|
/**
|
|
1534
|
-
|
|
1535
|
-
|
|
1534
|
+
* 地域名称
|
|
1535
|
+
*/
|
|
1536
1536
|
RegionName: string;
|
|
1537
1537
|
/**
|
|
1538
|
-
|
|
1539
|
-
|
|
1538
|
+
* 折后总价
|
|
1539
|
+
*/
|
|
1540
1540
|
RealTotalCost: string;
|
|
1541
1541
|
/**
|
|
1542
|
-
|
|
1543
|
-
|
|
1542
|
+
* 趋势
|
|
1543
|
+
*/
|
|
1544
1544
|
Trend: ConsumptionSummaryTrend;
|
|
1545
1545
|
/**
|
|
1546
|
-
|
|
1547
|
-
|
|
1546
|
+
* 产品消费详情
|
|
1547
|
+
*/
|
|
1548
1548
|
Business: Array<ConsumptionBusinessSummaryDataItem>;
|
|
1549
1549
|
}
|
|
1550
1550
|
/**
|
|
@@ -1552,12 +1552,12 @@ export interface ConsumptionRegionSummaryDataItem {
|
|
|
1552
1552
|
*/
|
|
1553
1553
|
export interface DescribeDosageCosDetailByDateResponse {
|
|
1554
1554
|
/**
|
|
1555
|
-
|
|
1556
|
-
|
|
1555
|
+
* 用量数组
|
|
1556
|
+
*/
|
|
1557
1557
|
DetailSets: Array<CosDetailSets>;
|
|
1558
1558
|
/**
|
|
1559
|
-
|
|
1560
|
-
|
|
1559
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1560
|
+
*/
|
|
1561
1561
|
RequestId?: string;
|
|
1562
1562
|
}
|
|
1563
1563
|
/**
|
|
@@ -1565,14 +1565,14 @@ export interface DescribeDosageCosDetailByDateResponse {
|
|
|
1565
1565
|
*/
|
|
1566
1566
|
export interface UsageDetails {
|
|
1567
1567
|
/**
|
|
1568
|
-
|
|
1569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1570
|
-
|
|
1568
|
+
* 商品名
|
|
1569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1570
|
+
*/
|
|
1571
1571
|
ProductName: string;
|
|
1572
1572
|
/**
|
|
1573
|
-
|
|
1574
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1575
|
-
|
|
1573
|
+
* 商品细节
|
|
1574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1575
|
+
*/
|
|
1576
1576
|
SubProductName: string;
|
|
1577
1577
|
}
|
|
1578
1578
|
/**
|
|
@@ -1580,17 +1580,17 @@ export interface UsageDetails {
|
|
|
1580
1580
|
*/
|
|
1581
1581
|
export interface DescribeBillResourceSummaryResponse {
|
|
1582
1582
|
/**
|
|
1583
|
-
|
|
1584
|
-
|
|
1583
|
+
* 资源汇总列表
|
|
1584
|
+
*/
|
|
1585
1585
|
ResourceSummarySet: Array<BillResourceSummary>;
|
|
1586
1586
|
/**
|
|
1587
|
-
|
|
1588
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1589
|
-
|
|
1587
|
+
* 资源汇总列表总数
|
|
1588
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1589
|
+
*/
|
|
1590
1590
|
Total: number;
|
|
1591
1591
|
/**
|
|
1592
|
-
|
|
1593
|
-
|
|
1592
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1593
|
+
*/
|
|
1594
1594
|
RequestId?: string;
|
|
1595
1595
|
}
|
|
1596
1596
|
/**
|
|
@@ -1598,40 +1598,40 @@ export interface DescribeBillResourceSummaryResponse {
|
|
|
1598
1598
|
*/
|
|
1599
1599
|
export interface ActionSummaryOverviewItem {
|
|
1600
1600
|
/**
|
|
1601
|
-
|
|
1602
|
-
|
|
1601
|
+
* 交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型
|
|
1602
|
+
*/
|
|
1603
1603
|
ActionType: string;
|
|
1604
1604
|
/**
|
|
1605
|
-
|
|
1606
|
-
|
|
1605
|
+
* 交易类型名称
|
|
1606
|
+
*/
|
|
1607
1607
|
ActionTypeName: string;
|
|
1608
1608
|
/**
|
|
1609
|
-
|
|
1610
|
-
|
|
1609
|
+
* 实际花费
|
|
1610
|
+
*/
|
|
1611
1611
|
RealTotalCost: string;
|
|
1612
1612
|
/**
|
|
1613
|
-
|
|
1614
|
-
|
|
1613
|
+
* 费用所占百分比,两位小数
|
|
1614
|
+
*/
|
|
1615
1615
|
RealTotalCostRatio: string;
|
|
1616
1616
|
/**
|
|
1617
|
-
|
|
1618
|
-
|
|
1617
|
+
* 现金金额
|
|
1618
|
+
*/
|
|
1619
1619
|
CashPayAmount: string;
|
|
1620
1620
|
/**
|
|
1621
|
-
|
|
1622
|
-
|
|
1621
|
+
* 赠送金金额
|
|
1622
|
+
*/
|
|
1623
1623
|
IncentivePayAmount: string;
|
|
1624
1624
|
/**
|
|
1625
|
-
|
|
1626
|
-
|
|
1625
|
+
* 代金券金额
|
|
1626
|
+
*/
|
|
1627
1627
|
VoucherPayAmount: string;
|
|
1628
1628
|
/**
|
|
1629
|
-
|
|
1630
|
-
|
|
1629
|
+
* 账单月份,格式2019-08
|
|
1630
|
+
*/
|
|
1631
1631
|
BillMonth: string;
|
|
1632
1632
|
/**
|
|
1633
|
-
|
|
1634
|
-
|
|
1633
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1634
|
+
*/
|
|
1635
1635
|
TotalCost: string;
|
|
1636
1636
|
}
|
|
1637
1637
|
/**
|
|
@@ -1639,64 +1639,64 @@ export interface ActionSummaryOverviewItem {
|
|
|
1639
1639
|
*/
|
|
1640
1640
|
export interface DescribeVoucherInfoRequest {
|
|
1641
1641
|
/**
|
|
1642
|
-
|
|
1643
|
-
|
|
1642
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1643
|
+
*/
|
|
1644
1644
|
Limit: number;
|
|
1645
1645
|
/**
|
|
1646
|
-
|
|
1647
|
-
|
|
1646
|
+
* 第多少页,默认是1
|
|
1647
|
+
*/
|
|
1648
1648
|
Offset: number;
|
|
1649
1649
|
/**
|
|
1650
|
-
|
|
1651
|
-
|
|
1650
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
1651
|
+
*/
|
|
1652
1652
|
Status?: string;
|
|
1653
1653
|
/**
|
|
1654
|
-
|
|
1655
|
-
|
|
1654
|
+
* 代金券id
|
|
1655
|
+
*/
|
|
1656
1656
|
VoucherId?: string;
|
|
1657
1657
|
/**
|
|
1658
|
-
|
|
1659
|
-
|
|
1658
|
+
* 代金券订单id
|
|
1659
|
+
*/
|
|
1660
1660
|
CodeId?: string;
|
|
1661
1661
|
/**
|
|
1662
|
-
|
|
1663
|
-
|
|
1662
|
+
* 商品码
|
|
1663
|
+
*/
|
|
1664
1664
|
ProductCode?: string;
|
|
1665
1665
|
/**
|
|
1666
|
-
|
|
1667
|
-
|
|
1666
|
+
* 活动id
|
|
1667
|
+
*/
|
|
1668
1668
|
ActivityId?: string;
|
|
1669
1669
|
/**
|
|
1670
|
-
|
|
1671
|
-
|
|
1670
|
+
* 代金券名称
|
|
1671
|
+
*/
|
|
1672
1672
|
VoucherName?: string;
|
|
1673
1673
|
/**
|
|
1674
|
-
|
|
1675
|
-
|
|
1674
|
+
* 发放开始时间
|
|
1675
|
+
*/
|
|
1676
1676
|
TimeFrom?: string;
|
|
1677
1677
|
/**
|
|
1678
|
-
|
|
1679
|
-
|
|
1678
|
+
* 发放结束时间
|
|
1679
|
+
*/
|
|
1680
1680
|
TimeTo?: string;
|
|
1681
1681
|
/**
|
|
1682
|
-
|
|
1683
|
-
|
|
1682
|
+
* 指定排序字段:BeginTime开始时间、EndTime到期时间、CreateTime创建时间
|
|
1683
|
+
*/
|
|
1684
1684
|
SortField?: string;
|
|
1685
1685
|
/**
|
|
1686
|
-
|
|
1687
|
-
|
|
1686
|
+
* 指定升序降序:desc、asc
|
|
1687
|
+
*/
|
|
1688
1688
|
SortOrder?: string;
|
|
1689
1689
|
/**
|
|
1690
|
-
|
|
1691
|
-
|
|
1690
|
+
* 付费模式,postPay后付费/prePay预付费/riPay预留实例/""或者"*"表示全部模式,如果payMode为""或"*",那么productCode与subProductCode必须传空
|
|
1691
|
+
*/
|
|
1692
1692
|
PayMode?: string;
|
|
1693
1693
|
/**
|
|
1694
|
-
|
|
1695
|
-
|
|
1694
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
1695
|
+
*/
|
|
1696
1696
|
PayScene?: string;
|
|
1697
1697
|
/**
|
|
1698
|
-
|
|
1699
|
-
|
|
1698
|
+
* 操作人,默认就是用户uin
|
|
1699
|
+
*/
|
|
1700
1700
|
Operator?: string;
|
|
1701
1701
|
}
|
|
1702
1702
|
/**
|
|
@@ -1704,12 +1704,12 @@ export interface DescribeVoucherInfoRequest {
|
|
|
1704
1704
|
*/
|
|
1705
1705
|
export interface ApplicableProducts {
|
|
1706
1706
|
/**
|
|
1707
|
-
|
|
1708
|
-
|
|
1707
|
+
* 适用商品名称,值为“全产品通用”或商品名称组成的string,以","分割。
|
|
1708
|
+
*/
|
|
1709
1709
|
GoodsName: string;
|
|
1710
1710
|
/**
|
|
1711
|
-
|
|
1712
|
-
|
|
1711
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。如GoodsName为多个商品名以","分割组成的string,而PayMode为"*",表示每一件商品的模式都为"*"。
|
|
1712
|
+
*/
|
|
1713
1713
|
PayMode: string;
|
|
1714
1714
|
}
|
|
1715
1715
|
/**
|
|
@@ -1717,12 +1717,12 @@ export interface ApplicableProducts {
|
|
|
1717
1717
|
*/
|
|
1718
1718
|
export interface ConditionPayMode {
|
|
1719
1719
|
/**
|
|
1720
|
-
|
|
1721
|
-
|
|
1720
|
+
* 付费模式
|
|
1721
|
+
*/
|
|
1722
1722
|
PayMode: string;
|
|
1723
1723
|
/**
|
|
1724
|
-
|
|
1725
|
-
|
|
1724
|
+
* 付费模式名称
|
|
1725
|
+
*/
|
|
1726
1726
|
PayModeName: string;
|
|
1727
1727
|
}
|
|
1728
1728
|
/**
|
|
@@ -1730,20 +1730,20 @@ export interface ConditionPayMode {
|
|
|
1730
1730
|
*/
|
|
1731
1731
|
export interface DescribeVoucherUsageDetailsRequest {
|
|
1732
1732
|
/**
|
|
1733
|
-
|
|
1734
|
-
|
|
1733
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1734
|
+
*/
|
|
1735
1735
|
Limit: number;
|
|
1736
1736
|
/**
|
|
1737
|
-
|
|
1738
|
-
|
|
1737
|
+
* 第多少页,默认是1
|
|
1738
|
+
*/
|
|
1739
1739
|
Offset: number;
|
|
1740
1740
|
/**
|
|
1741
|
-
|
|
1742
|
-
|
|
1741
|
+
* 代金券id
|
|
1742
|
+
*/
|
|
1743
1743
|
VoucherId?: string;
|
|
1744
1744
|
/**
|
|
1745
|
-
|
|
1746
|
-
|
|
1745
|
+
* 操作人,默认就是用户uin
|
|
1746
|
+
*/
|
|
1747
1747
|
Operator?: string;
|
|
1748
1748
|
}
|
|
1749
1749
|
/**
|
|
@@ -1751,48 +1751,48 @@ export interface DescribeVoucherUsageDetailsRequest {
|
|
|
1751
1751
|
*/
|
|
1752
1752
|
export interface DescribeDealsByCondRequest {
|
|
1753
1753
|
/**
|
|
1754
|
-
|
|
1755
|
-
|
|
1754
|
+
* 开始时间
|
|
1755
|
+
*/
|
|
1756
1756
|
StartTime: string;
|
|
1757
1757
|
/**
|
|
1758
|
-
|
|
1759
|
-
|
|
1758
|
+
* 结束时间
|
|
1759
|
+
*/
|
|
1760
1760
|
EndTime: string;
|
|
1761
1761
|
/**
|
|
1762
|
-
|
|
1763
|
-
|
|
1762
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1763
|
+
*/
|
|
1764
1764
|
Limit: number;
|
|
1765
1765
|
/**
|
|
1766
|
-
|
|
1767
|
-
|
|
1766
|
+
* 第多少页,从0开始,默认是0
|
|
1767
|
+
*/
|
|
1768
1768
|
Offset?: number;
|
|
1769
1769
|
/**
|
|
1770
|
-
|
|
1771
|
-
订单的状态
|
|
1772
|
-
1:未支付
|
|
1773
|
-
2:已支付3:发货中
|
|
1774
|
-
4:已发货
|
|
1775
|
-
5:发货失败
|
|
1776
|
-
6:已退款
|
|
1777
|
-
7:已关单
|
|
1778
|
-
8:订单过期
|
|
1779
|
-
9:订单已失效
|
|
1780
|
-
10:产品已失效
|
|
1781
|
-
11:代付拒绝
|
|
1782
|
-
12:支付中
|
|
1783
|
-
|
|
1770
|
+
* 订单状态,默认为4(成功的订单)
|
|
1771
|
+
订单的状态
|
|
1772
|
+
1:未支付
|
|
1773
|
+
2:已支付3:发货中
|
|
1774
|
+
4:已发货
|
|
1775
|
+
5:发货失败
|
|
1776
|
+
6:已退款
|
|
1777
|
+
7:已关单
|
|
1778
|
+
8:订单过期
|
|
1779
|
+
9:订单已失效
|
|
1780
|
+
10:产品已失效
|
|
1781
|
+
11:代付拒绝
|
|
1782
|
+
12:支付中
|
|
1783
|
+
*/
|
|
1784
1784
|
Status?: number;
|
|
1785
1785
|
/**
|
|
1786
|
-
|
|
1787
|
-
|
|
1786
|
+
* 订单号
|
|
1787
|
+
*/
|
|
1788
1788
|
OrderId?: string;
|
|
1789
1789
|
/**
|
|
1790
|
-
|
|
1791
|
-
|
|
1790
|
+
* 大订单号
|
|
1791
|
+
*/
|
|
1792
1792
|
BigDealId?: string;
|
|
1793
1793
|
/**
|
|
1794
|
-
|
|
1795
|
-
|
|
1794
|
+
* 资源id
|
|
1795
|
+
*/
|
|
1796
1796
|
ResourceId?: string;
|
|
1797
1797
|
}
|
|
1798
1798
|
/**
|
|
@@ -1800,68 +1800,68 @@ export interface DescribeDealsByCondRequest {
|
|
|
1800
1800
|
*/
|
|
1801
1801
|
export interface DescribeBillResourceSummaryRequest {
|
|
1802
1802
|
/**
|
|
1803
|
-
|
|
1804
|
-
|
|
1803
|
+
* 偏移量
|
|
1804
|
+
*/
|
|
1805
1805
|
Offset: number;
|
|
1806
1806
|
/**
|
|
1807
|
-
|
|
1808
|
-
|
|
1807
|
+
* 数量,最大值为1000
|
|
1808
|
+
*/
|
|
1809
1809
|
Limit: number;
|
|
1810
1810
|
/**
|
|
1811
|
-
|
|
1812
|
-
|
|
1811
|
+
* 月份,格式为yyyy-mm。不能早于开通账单2.0的月份,最多可拉取24个月内的数据。
|
|
1812
|
+
*/
|
|
1813
1813
|
Month: string;
|
|
1814
1814
|
/**
|
|
1815
|
-
|
|
1816
|
-
|
|
1815
|
+
* 周期类型,byUsedTime按计费周期/byPayTime按扣费周期。需要与费用中心该月份账单的周期保持一致。您可前往[账单概览](https://console.cloud.tencent.com/expense/bill/overview)页面顶部查看确认您的账单统计周期类型。
|
|
1816
|
+
*/
|
|
1817
1817
|
PeriodType?: string;
|
|
1818
1818
|
/**
|
|
1819
|
-
|
|
1820
|
-
1-表示需要, 0-表示不需要
|
|
1821
|
-
|
|
1819
|
+
* 是否需要访问列表的总记录数,用于前端分页
|
|
1820
|
+
1-表示需要, 0-表示不需要
|
|
1821
|
+
*/
|
|
1822
1822
|
NeedRecordNum?: number;
|
|
1823
1823
|
/**
|
|
1824
|
-
|
|
1825
|
-
包年包月新购
|
|
1826
|
-
包年包月续费
|
|
1827
|
-
包年包月配置变更
|
|
1828
|
-
包年包月退款
|
|
1829
|
-
按量计费扣费
|
|
1830
|
-
按量计费小时结
|
|
1831
|
-
按量计费日结
|
|
1832
|
-
按量计费月结
|
|
1833
|
-
线下项目扣费
|
|
1834
|
-
线下产品扣费
|
|
1835
|
-
调账扣费
|
|
1836
|
-
调账补偿
|
|
1837
|
-
竞价实例小时结
|
|
1838
|
-
线下项目调账补偿
|
|
1839
|
-
线下产品调账补偿
|
|
1840
|
-
优惠扣费
|
|
1841
|
-
优惠补偿
|
|
1842
|
-
按量计费迁入资源
|
|
1843
|
-
按量计费迁出资源
|
|
1844
|
-
包年包月迁入资源
|
|
1845
|
-
包年包月迁出资源
|
|
1846
|
-
预付费用
|
|
1847
|
-
小时费用
|
|
1848
|
-
预留实例退款
|
|
1849
|
-
按量计费冲正
|
|
1850
|
-
包年包月转按量
|
|
1851
|
-
|
|
1824
|
+
* 查询交易类型,如下:
|
|
1825
|
+
包年包月新购
|
|
1826
|
+
包年包月续费
|
|
1827
|
+
包年包月配置变更
|
|
1828
|
+
包年包月退款
|
|
1829
|
+
按量计费扣费
|
|
1830
|
+
按量计费小时结
|
|
1831
|
+
按量计费日结
|
|
1832
|
+
按量计费月结
|
|
1833
|
+
线下项目扣费
|
|
1834
|
+
线下产品扣费
|
|
1835
|
+
调账扣费
|
|
1836
|
+
调账补偿
|
|
1837
|
+
竞价实例小时结
|
|
1838
|
+
线下项目调账补偿
|
|
1839
|
+
线下产品调账补偿
|
|
1840
|
+
优惠扣费
|
|
1841
|
+
优惠补偿
|
|
1842
|
+
按量计费迁入资源
|
|
1843
|
+
按量计费迁出资源
|
|
1844
|
+
包年包月迁入资源
|
|
1845
|
+
包年包月迁出资源
|
|
1846
|
+
预付费用
|
|
1847
|
+
小时费用
|
|
1848
|
+
预留实例退款
|
|
1849
|
+
按量计费冲正
|
|
1850
|
+
包年包月转按量
|
|
1851
|
+
*/
|
|
1852
1852
|
ActionType?: string;
|
|
1853
1853
|
/**
|
|
1854
|
-
|
|
1855
|
-
|
|
1854
|
+
* 查询指定资源信息
|
|
1855
|
+
*/
|
|
1856
1856
|
ResourceId?: string;
|
|
1857
1857
|
/**
|
|
1858
|
-
|
|
1859
|
-
|
|
1858
|
+
* 付费模式 prePay/postPay
|
|
1859
|
+
*/
|
|
1860
1860
|
PayMode?: string;
|
|
1861
1861
|
/**
|
|
1862
|
-
|
|
1863
|
-
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
1864
|
-
|
|
1862
|
+
* 产品名称代码
|
|
1863
|
+
备注:如需获取当月使用过的BusinessCode,请调用API:<a href="https://cloud.tencent.com/document/product/555/35761">获取产品汇总费用分布</a>
|
|
1864
|
+
*/
|
|
1865
1865
|
BusinessCode?: string;
|
|
1866
1866
|
}
|
|
1867
1867
|
/**
|
|
@@ -1869,20 +1869,20 @@ export interface DescribeBillResourceSummaryRequest {
|
|
|
1869
1869
|
*/
|
|
1870
1870
|
export interface PayDealsRequest {
|
|
1871
1871
|
/**
|
|
1872
|
-
|
|
1873
|
-
|
|
1872
|
+
* 需要支付的一个或者多个子订单号,与BigDealIds字段两者必须且仅传一个参数
|
|
1873
|
+
*/
|
|
1874
1874
|
OrderIds?: Array<string>;
|
|
1875
1875
|
/**
|
|
1876
|
-
|
|
1877
|
-
|
|
1876
|
+
* 是否自动使用代金券,1:是,0否,默认0
|
|
1877
|
+
*/
|
|
1878
1878
|
AutoVoucher?: number;
|
|
1879
1879
|
/**
|
|
1880
|
-
|
|
1881
|
-
|
|
1880
|
+
* 代金券ID列表,目前仅支持指定一张代金券
|
|
1881
|
+
*/
|
|
1882
1882
|
VoucherIds?: Array<string>;
|
|
1883
1883
|
/**
|
|
1884
|
-
|
|
1885
|
-
|
|
1884
|
+
* 需要支付的一个或者多个大订单号,与OrderIds字段两者必须且仅传一个参数
|
|
1885
|
+
*/
|
|
1886
1886
|
BigDealIds?: Array<string>;
|
|
1887
1887
|
}
|
|
1888
1888
|
/**
|
|
@@ -1890,55 +1890,55 @@ export interface PayDealsRequest {
|
|
|
1890
1890
|
*/
|
|
1891
1891
|
export interface DescribeBillListRequest {
|
|
1892
1892
|
/**
|
|
1893
|
-
|
|
1894
|
-
|
|
1893
|
+
* 查询范围的起始时间(包含)
|
|
1894
|
+
*/
|
|
1895
1895
|
StartTime: string;
|
|
1896
1896
|
/**
|
|
1897
|
-
|
|
1898
|
-
|
|
1897
|
+
* 查询范围的结束时间(包含)
|
|
1898
|
+
*/
|
|
1899
1899
|
EndTime: string;
|
|
1900
1900
|
/**
|
|
1901
|
-
|
|
1902
|
-
|
|
1901
|
+
* 翻页偏移量,初始值为0
|
|
1902
|
+
*/
|
|
1903
1903
|
Offset: number;
|
|
1904
1904
|
/**
|
|
1905
|
-
|
|
1906
|
-
|
|
1905
|
+
* 每页的限制数量
|
|
1906
|
+
*/
|
|
1907
1907
|
Limit: number;
|
|
1908
1908
|
/**
|
|
1909
|
-
|
|
1910
|
-
|
|
1909
|
+
* 交易类型: all所有交易类型,recharge充值,return退款,unblock解冻,agentin资金转入,advanced垫付,cash提现,deduct扣费,block冻结,agentout资金转出,repay垫付回款,repayment还款(仅国际信用账户),adj_refund调增(仅国际信用账户),adj_deduct调减(仅国际信用账户)
|
|
1910
|
+
*/
|
|
1911
1911
|
PayType?: Array<string>;
|
|
1912
1912
|
/**
|
|
1913
|
-
|
|
1914
|
-
当所选的交易类型为扣费deduct时:
|
|
1915
|
-
all所有扣费类型;trade预付费支付;hour_h按量小时结;hour_d按量日结;hour_m按量月结;decompensate调账扣费;other第三方扣费;panshi 线下项目扣费;offline 线下产品扣费;
|
|
1916
|
-
|
|
1917
|
-
当所选的交易类型为扣费recharge时:
|
|
1918
|
-
online 在线充值;bank-enterprice 银企直连;offline 线下充值;transfer 分成充值
|
|
1919
|
-
|
|
1920
|
-
当所选的交易类型为扣费cash时:
|
|
1921
|
-
online 线上提现;offline 线下提现;panshi 赠送金清零
|
|
1922
|
-
|
|
1923
|
-
当所选的交易类型为扣费advanced时:
|
|
1924
|
-
advanced 垫付充值
|
|
1925
|
-
|
|
1926
|
-
当所选的交易类型为扣费repay时:
|
|
1927
|
-
panshi 垫付回款
|
|
1928
|
-
|
|
1929
|
-
当所选的交易类型为扣费block时:
|
|
1930
|
-
other 第三方冻结;hour 按量冻结;month按月冻结
|
|
1931
|
-
|
|
1932
|
-
当所选的交易类型为扣费return时:
|
|
1933
|
-
compensate 调账补偿;trade 预付费退款
|
|
1934
|
-
|
|
1935
|
-
当所选的交易类型为扣费unblock时:
|
|
1936
|
-
other 第三方解冻;hour 按量解冻;month 按月解冻
|
|
1937
|
-
|
|
1913
|
+
* 扣费模式,
|
|
1914
|
+
当所选的交易类型为扣费deduct时:
|
|
1915
|
+
all所有扣费类型;trade预付费支付;hour_h按量小时结;hour_d按量日结;hour_m按量月结;decompensate调账扣费;other第三方扣费;panshi 线下项目扣费;offline 线下产品扣费;
|
|
1916
|
+
|
|
1917
|
+
当所选的交易类型为扣费recharge时:
|
|
1918
|
+
online 在线充值;bank-enterprice 银企直连;offline 线下充值;transfer 分成充值
|
|
1919
|
+
|
|
1920
|
+
当所选的交易类型为扣费cash时:
|
|
1921
|
+
online 线上提现;offline 线下提现;panshi 赠送金清零
|
|
1922
|
+
|
|
1923
|
+
当所选的交易类型为扣费advanced时:
|
|
1924
|
+
advanced 垫付充值
|
|
1925
|
+
|
|
1926
|
+
当所选的交易类型为扣费repay时:
|
|
1927
|
+
panshi 垫付回款
|
|
1928
|
+
|
|
1929
|
+
当所选的交易类型为扣费block时:
|
|
1930
|
+
other 第三方冻结;hour 按量冻结;month按月冻结
|
|
1931
|
+
|
|
1932
|
+
当所选的交易类型为扣费return时:
|
|
1933
|
+
compensate 调账补偿;trade 预付费退款
|
|
1934
|
+
|
|
1935
|
+
当所选的交易类型为扣费unblock时:
|
|
1936
|
+
other 第三方解冻;hour 按量解冻;month 按月解冻
|
|
1937
|
+
*/
|
|
1938
1938
|
SubPayType?: Array<string>;
|
|
1939
1939
|
/**
|
|
1940
|
-
|
|
1941
|
-
|
|
1940
|
+
* 是否返回0元交易金额的交易项,取值:0-不返回,1-返回。不传该参数则不返回
|
|
1941
|
+
*/
|
|
1942
1942
|
WithZeroAmount?: number;
|
|
1943
1943
|
}
|
|
1944
1944
|
/**
|
|
@@ -1946,20 +1946,20 @@ other 第三方解冻;hour 按量解冻;month 按月解冻
|
|
|
1946
1946
|
*/
|
|
1947
1947
|
export interface PayDealsResponse {
|
|
1948
1948
|
/**
|
|
1949
|
-
|
|
1950
|
-
|
|
1949
|
+
* 此次操作支付成功的子订单号数组
|
|
1950
|
+
*/
|
|
1951
1951
|
OrderIds?: Array<string>;
|
|
1952
1952
|
/**
|
|
1953
|
-
|
|
1954
|
-
|
|
1953
|
+
* 此次操作支付成功的资源Id数组
|
|
1954
|
+
*/
|
|
1955
1955
|
ResourceIds?: Array<string>;
|
|
1956
1956
|
/**
|
|
1957
|
-
|
|
1958
|
-
|
|
1957
|
+
* 此次操作支付成功的大订单号数组
|
|
1958
|
+
*/
|
|
1959
1959
|
BigDealIds?: Array<string>;
|
|
1960
1960
|
/**
|
|
1961
|
-
|
|
1962
|
-
|
|
1961
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1962
|
+
*/
|
|
1963
1963
|
RequestId?: string;
|
|
1964
1964
|
}
|
|
1965
1965
|
/**
|
|
@@ -1967,14 +1967,14 @@ export interface PayDealsResponse {
|
|
|
1967
1967
|
*/
|
|
1968
1968
|
export interface SummaryTotal {
|
|
1969
1969
|
/**
|
|
1970
|
-
|
|
1971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1972
|
-
|
|
1970
|
+
* 总数
|
|
1971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1972
|
+
*/
|
|
1973
1973
|
RealTotalCost: string;
|
|
1974
1974
|
/**
|
|
1975
|
-
|
|
1976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1977
|
-
|
|
1975
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1976
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1977
|
+
*/
|
|
1978
1978
|
TotalCost: string;
|
|
1979
1979
|
}
|
|
1980
1980
|
/**
|
|
@@ -1982,105 +1982,105 @@ export interface SummaryTotal {
|
|
|
1982
1982
|
*/
|
|
1983
1983
|
export interface BillDetail {
|
|
1984
1984
|
/**
|
|
1985
|
-
|
|
1986
|
-
|
|
1985
|
+
* 产品名称:云产品大类,如云服务器CVM、云数据库MySQL
|
|
1986
|
+
*/
|
|
1987
1987
|
BusinessCodeName: string;
|
|
1988
1988
|
/**
|
|
1989
|
-
|
|
1990
|
-
|
|
1989
|
+
* 子产品名称:云产品子类,如云服务器CVM-标准型S1
|
|
1990
|
+
*/
|
|
1991
1991
|
ProductCodeName: string;
|
|
1992
1992
|
/**
|
|
1993
|
-
|
|
1994
|
-
|
|
1993
|
+
* 计费模式:包年包月和按量计费
|
|
1994
|
+
*/
|
|
1995
1995
|
PayModeName: string;
|
|
1996
1996
|
/**
|
|
1997
|
-
|
|
1998
|
-
|
|
1997
|
+
* 项目:资源所属项目
|
|
1998
|
+
*/
|
|
1999
1999
|
ProjectName: string;
|
|
2000
2000
|
/**
|
|
2001
|
-
|
|
2002
|
-
|
|
2001
|
+
* 区域:资源所属地域,如华南地区(广州)
|
|
2002
|
+
*/
|
|
2003
2003
|
RegionName: string;
|
|
2004
2004
|
/**
|
|
2005
|
-
|
|
2006
|
-
|
|
2005
|
+
* 可用区:资源所属可用区,如广州三区
|
|
2006
|
+
*/
|
|
2007
2007
|
ZoneName: string;
|
|
2008
2008
|
/**
|
|
2009
|
-
|
|
2010
|
-
|
|
2009
|
+
* 资源实例ID
|
|
2010
|
+
*/
|
|
2011
2011
|
ResourceId: string;
|
|
2012
2012
|
/**
|
|
2013
|
-
|
|
2014
|
-
|
|
2013
|
+
* 实例名称
|
|
2014
|
+
*/
|
|
2015
2015
|
ResourceName: string;
|
|
2016
2016
|
/**
|
|
2017
|
-
|
|
2018
|
-
|
|
2017
|
+
* 交易类型
|
|
2018
|
+
*/
|
|
2019
2019
|
ActionTypeName: string;
|
|
2020
2020
|
/**
|
|
2021
|
-
|
|
2022
|
-
|
|
2021
|
+
* 订单ID
|
|
2022
|
+
*/
|
|
2023
2023
|
OrderId: string;
|
|
2024
2024
|
/**
|
|
2025
|
-
|
|
2026
|
-
|
|
2025
|
+
* 交易ID
|
|
2026
|
+
*/
|
|
2027
2027
|
BillId: string;
|
|
2028
2028
|
/**
|
|
2029
|
-
|
|
2030
|
-
|
|
2029
|
+
* 扣费时间
|
|
2030
|
+
*/
|
|
2031
2031
|
PayTime: string;
|
|
2032
2032
|
/**
|
|
2033
|
-
|
|
2034
|
-
|
|
2033
|
+
* 开始使用时间
|
|
2034
|
+
*/
|
|
2035
2035
|
FeeBeginTime: string;
|
|
2036
2036
|
/**
|
|
2037
|
-
|
|
2038
|
-
|
|
2037
|
+
* 结束使用时间
|
|
2038
|
+
*/
|
|
2039
2039
|
FeeEndTime: string;
|
|
2040
2040
|
/**
|
|
2041
|
-
|
|
2042
|
-
|
|
2041
|
+
* 组件列表
|
|
2042
|
+
*/
|
|
2043
2043
|
ComponentSet: Array<BillDetailComponent>;
|
|
2044
2044
|
/**
|
|
2045
|
-
|
|
2046
|
-
|
|
2045
|
+
* 支付者UIN
|
|
2046
|
+
*/
|
|
2047
2047
|
PayerUin: string;
|
|
2048
2048
|
/**
|
|
2049
|
-
|
|
2050
|
-
|
|
2049
|
+
* 使用者UIN
|
|
2050
|
+
*/
|
|
2051
2051
|
OwnerUin: string;
|
|
2052
2052
|
/**
|
|
2053
|
-
|
|
2054
|
-
|
|
2053
|
+
* 操作者UIN
|
|
2054
|
+
*/
|
|
2055
2055
|
OperateUin: string;
|
|
2056
2056
|
/**
|
|
2057
|
-
|
|
2058
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2059
|
-
|
|
2057
|
+
* Tag 信息
|
|
2058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2059
|
+
*/
|
|
2060
2060
|
Tags: Array<BillTagInfo>;
|
|
2061
2061
|
/**
|
|
2062
|
-
|
|
2063
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2064
|
-
|
|
2062
|
+
* 产品名称代码
|
|
2063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2064
|
+
*/
|
|
2065
2065
|
BusinessCode: string;
|
|
2066
2066
|
/**
|
|
2067
|
-
|
|
2068
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2069
|
-
|
|
2067
|
+
* 子产品名称代码
|
|
2068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2069
|
+
*/
|
|
2070
2070
|
ProductCode: string;
|
|
2071
2071
|
/**
|
|
2072
|
-
|
|
2073
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2074
|
-
|
|
2072
|
+
* 交易类型代码
|
|
2073
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2074
|
+
*/
|
|
2075
2075
|
ActionType: string;
|
|
2076
2076
|
/**
|
|
2077
|
-
|
|
2078
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2079
|
-
|
|
2077
|
+
* 区域ID
|
|
2078
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2079
|
+
*/
|
|
2080
2080
|
RegionId: string;
|
|
2081
2081
|
/**
|
|
2082
|
-
|
|
2083
|
-
|
|
2082
|
+
* 项目ID:资源所属项目ID
|
|
2083
|
+
*/
|
|
2084
2084
|
ProjectId: number;
|
|
2085
2085
|
}
|
|
2086
2086
|
/**
|
|
@@ -2088,22 +2088,22 @@ export interface BillDetail {
|
|
|
2088
2088
|
*/
|
|
2089
2089
|
export interface DescribeBillSummaryByTagResponse {
|
|
2090
2090
|
/**
|
|
2091
|
-
|
|
2092
|
-
|
|
2091
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
2092
|
+
*/
|
|
2093
2093
|
Ready: number;
|
|
2094
2094
|
/**
|
|
2095
|
-
|
|
2096
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2097
|
-
|
|
2095
|
+
* 各标签值花费分布详情
|
|
2096
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2097
|
+
*/
|
|
2098
2098
|
SummaryOverview: Array<TagSummaryOverviewItem>;
|
|
2099
2099
|
/**
|
|
2100
|
-
|
|
2101
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2102
|
-
|
|
2100
|
+
* 总数
|
|
2101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2102
|
+
*/
|
|
2103
2103
|
SummaryTotal: SummaryTotal;
|
|
2104
2104
|
/**
|
|
2105
|
-
|
|
2106
|
-
|
|
2105
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2106
|
+
*/
|
|
2107
2107
|
RequestId?: string;
|
|
2108
2108
|
}
|
|
2109
2109
|
/**
|
|
@@ -2111,44 +2111,44 @@ export interface DescribeBillSummaryByTagResponse {
|
|
|
2111
2111
|
*/
|
|
2112
2112
|
export interface TagSummaryOverviewItem {
|
|
2113
2113
|
/**
|
|
2114
|
-
|
|
2115
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2116
|
-
|
|
2114
|
+
* 标签值
|
|
2115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2116
|
+
*/
|
|
2117
2117
|
TagValue: string;
|
|
2118
2118
|
/**
|
|
2119
|
-
|
|
2120
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2121
|
-
|
|
2119
|
+
* 实际花费
|
|
2120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2121
|
+
*/
|
|
2122
2122
|
RealTotalCost: string;
|
|
2123
2123
|
/**
|
|
2124
|
-
|
|
2125
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2126
|
-
|
|
2124
|
+
* 费用所占百分比,两位小数
|
|
2125
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2126
|
+
*/
|
|
2127
2127
|
RealTotalCostRatio: string;
|
|
2128
2128
|
/**
|
|
2129
|
-
|
|
2130
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2131
|
-
|
|
2129
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
2130
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2131
|
+
*/
|
|
2132
2132
|
TotalCost: string;
|
|
2133
2133
|
/**
|
|
2134
|
-
|
|
2135
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2136
|
-
|
|
2134
|
+
* 现金金额
|
|
2135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2136
|
+
*/
|
|
2137
2137
|
CashPayAmount: string;
|
|
2138
2138
|
/**
|
|
2139
|
-
|
|
2140
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2141
|
-
|
|
2139
|
+
* 赠送金金额
|
|
2140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2141
|
+
*/
|
|
2142
2142
|
IncentivePayAmount: string;
|
|
2143
2143
|
/**
|
|
2144
|
-
|
|
2145
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2146
|
-
|
|
2144
|
+
* 代金券金额
|
|
2145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2146
|
+
*/
|
|
2147
2147
|
VoucherPayAmount: string;
|
|
2148
2148
|
/**
|
|
2149
|
-
|
|
2150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2151
|
-
|
|
2149
|
+
* 分成金金额
|
|
2150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2151
|
+
*/
|
|
2152
2152
|
TransferPayAmount: string;
|
|
2153
2153
|
}
|
|
2154
2154
|
/**
|
|
@@ -2156,32 +2156,32 @@ export interface TagSummaryOverviewItem {
|
|
|
2156
2156
|
*/
|
|
2157
2157
|
export interface DescribeCostSummaryByResourceResponse {
|
|
2158
2158
|
/**
|
|
2159
|
-
|
|
2160
|
-
|
|
2159
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
2160
|
+
*/
|
|
2161
2161
|
Ready?: number;
|
|
2162
2162
|
/**
|
|
2163
|
-
|
|
2164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2165
|
-
|
|
2163
|
+
* 消耗详情
|
|
2164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2165
|
+
*/
|
|
2166
2166
|
Total?: ConsumptionSummaryTotal;
|
|
2167
2167
|
/**
|
|
2168
|
-
|
|
2169
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2170
|
-
|
|
2168
|
+
* 过滤条件
|
|
2169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2170
|
+
*/
|
|
2171
2171
|
ConditionValue?: ConsumptionResourceSummaryConditionValue;
|
|
2172
2172
|
/**
|
|
2173
|
-
|
|
2174
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2175
|
-
|
|
2173
|
+
* 记录数量
|
|
2174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2175
|
+
*/
|
|
2176
2176
|
RecordNum?: number;
|
|
2177
2177
|
/**
|
|
2178
|
-
|
|
2179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2180
|
-
|
|
2178
|
+
* 资源消耗详情
|
|
2179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2180
|
+
*/
|
|
2181
2181
|
Data?: Array<ConsumptionResourceSummaryDataItem>;
|
|
2182
2182
|
/**
|
|
2183
|
-
|
|
2184
|
-
|
|
2183
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2184
|
+
*/
|
|
2185
2185
|
RequestId?: string;
|
|
2186
2186
|
}
|
|
2187
2187
|
/**
|
|
@@ -2189,17 +2189,17 @@ export interface DescribeCostSummaryByResourceResponse {
|
|
|
2189
2189
|
*/
|
|
2190
2190
|
export interface DescribeBillDetailResponse {
|
|
2191
2191
|
/**
|
|
2192
|
-
|
|
2193
|
-
|
|
2192
|
+
* 详情列表
|
|
2193
|
+
*/
|
|
2194
2194
|
DetailSet: Array<BillDetail>;
|
|
2195
2195
|
/**
|
|
2196
|
-
|
|
2197
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2198
|
-
|
|
2196
|
+
* 总记录数
|
|
2197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2198
|
+
*/
|
|
2199
2199
|
Total: number;
|
|
2200
2200
|
/**
|
|
2201
|
-
|
|
2202
|
-
|
|
2201
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2202
|
+
*/
|
|
2203
2203
|
RequestId?: string;
|
|
2204
2204
|
}
|
|
2205
2205
|
/**
|
|
@@ -2207,20 +2207,20 @@ export interface DescribeBillDetailResponse {
|
|
|
2207
2207
|
*/
|
|
2208
2208
|
export interface ConsumptionResourceSummaryConditionValue {
|
|
2209
2209
|
/**
|
|
2210
|
-
|
|
2211
|
-
|
|
2210
|
+
* 产品列表
|
|
2211
|
+
*/
|
|
2212
2212
|
Business: Array<ConditionBusiness>;
|
|
2213
2213
|
/**
|
|
2214
|
-
|
|
2215
|
-
|
|
2214
|
+
* 项目列表
|
|
2215
|
+
*/
|
|
2216
2216
|
Project: Array<ConditionProject>;
|
|
2217
2217
|
/**
|
|
2218
|
-
|
|
2219
|
-
|
|
2218
|
+
* 地域列表
|
|
2219
|
+
*/
|
|
2220
2220
|
Region: Array<ConditionRegion>;
|
|
2221
2221
|
/**
|
|
2222
|
-
|
|
2223
|
-
|
|
2222
|
+
* 付费模式列表
|
|
2223
|
+
*/
|
|
2224
2224
|
PayMode: Array<ConditionPayMode>;
|
|
2225
2225
|
}
|
|
2226
2226
|
/**
|
|
@@ -2228,127 +2228,127 @@ export interface ConsumptionResourceSummaryConditionValue {
|
|
|
2228
2228
|
*/
|
|
2229
2229
|
export interface Deal {
|
|
2230
2230
|
/**
|
|
2231
|
-
|
|
2232
|
-
|
|
2231
|
+
* 订单号
|
|
2232
|
+
*/
|
|
2233
2233
|
OrderId: string;
|
|
2234
2234
|
/**
|
|
2235
|
-
|
|
2236
|
-
|
|
2235
|
+
* 订单状态
|
|
2236
|
+
*/
|
|
2237
2237
|
Status: number;
|
|
2238
2238
|
/**
|
|
2239
|
-
|
|
2240
|
-
|
|
2239
|
+
* 支付者
|
|
2240
|
+
*/
|
|
2241
2241
|
Payer: string;
|
|
2242
2242
|
/**
|
|
2243
|
-
|
|
2244
|
-
|
|
2243
|
+
* 创建时间
|
|
2244
|
+
*/
|
|
2245
2245
|
CreateTime: string;
|
|
2246
2246
|
/**
|
|
2247
|
-
|
|
2248
|
-
|
|
2247
|
+
* 创建人
|
|
2248
|
+
*/
|
|
2249
2249
|
Creator: string;
|
|
2250
2250
|
/**
|
|
2251
|
-
|
|
2252
|
-
|
|
2251
|
+
* 实际支付金额(分)
|
|
2252
|
+
*/
|
|
2253
2253
|
RealTotalCost: number;
|
|
2254
2254
|
/**
|
|
2255
|
-
|
|
2256
|
-
|
|
2255
|
+
* 代金券抵扣金额(分)
|
|
2256
|
+
*/
|
|
2257
2257
|
VoucherDecline: number;
|
|
2258
2258
|
/**
|
|
2259
|
-
|
|
2260
|
-
|
|
2259
|
+
* 项目ID
|
|
2260
|
+
*/
|
|
2261
2261
|
ProjectId: number;
|
|
2262
2262
|
/**
|
|
2263
|
-
|
|
2264
|
-
|
|
2263
|
+
* 产品分类ID
|
|
2264
|
+
*/
|
|
2265
2265
|
GoodsCategoryId: number;
|
|
2266
2266
|
/**
|
|
2267
|
-
|
|
2268
|
-
|
|
2267
|
+
* 产品详情
|
|
2268
|
+
*/
|
|
2269
2269
|
ProductInfo: Array<ProductInfo>;
|
|
2270
2270
|
/**
|
|
2271
|
-
|
|
2272
|
-
|
|
2271
|
+
* 时长
|
|
2272
|
+
*/
|
|
2273
2273
|
TimeSpan: number;
|
|
2274
2274
|
/**
|
|
2275
|
-
|
|
2276
|
-
|
|
2275
|
+
* 时间单位
|
|
2276
|
+
*/
|
|
2277
2277
|
TimeUnit: string;
|
|
2278
2278
|
/**
|
|
2279
|
-
|
|
2280
|
-
|
|
2279
|
+
* 货币单位
|
|
2280
|
+
*/
|
|
2281
2281
|
Currency: string;
|
|
2282
2282
|
/**
|
|
2283
|
-
|
|
2284
|
-
|
|
2283
|
+
* 折扣率
|
|
2284
|
+
*/
|
|
2285
2285
|
Policy: number;
|
|
2286
2286
|
/**
|
|
2287
|
-
|
|
2288
|
-
|
|
2287
|
+
* 单价(分)
|
|
2288
|
+
*/
|
|
2289
2289
|
Price: number;
|
|
2290
2290
|
/**
|
|
2291
|
-
|
|
2292
|
-
|
|
2291
|
+
* 原价(分)
|
|
2292
|
+
*/
|
|
2293
2293
|
TotalCost: number;
|
|
2294
2294
|
/**
|
|
2295
|
-
|
|
2296
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2297
|
-
|
|
2295
|
+
* 产品编码
|
|
2296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2297
|
+
*/
|
|
2298
2298
|
ProductCode: string;
|
|
2299
2299
|
/**
|
|
2300
|
-
|
|
2301
|
-
|
|
2300
|
+
* 子产品编码
|
|
2301
|
+
*/
|
|
2302
2302
|
SubProductCode: string;
|
|
2303
2303
|
/**
|
|
2304
|
-
|
|
2305
|
-
|
|
2304
|
+
* 大订单号
|
|
2305
|
+
*/
|
|
2306
2306
|
BigDealId: string;
|
|
2307
2307
|
/**
|
|
2308
|
-
|
|
2309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2310
|
-
|
|
2308
|
+
* 退费公式
|
|
2309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2310
|
+
*/
|
|
2311
2311
|
Formula: string;
|
|
2312
2312
|
/**
|
|
2313
|
-
|
|
2314
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2315
|
-
|
|
2313
|
+
* 退费涉及订单信息
|
|
2314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2315
|
+
*/
|
|
2316
2316
|
RefReturnDeals: string;
|
|
2317
2317
|
/**
|
|
2318
|
-
|
|
2319
|
-
|
|
2318
|
+
* 付费模式:prePay 预付费 postPay后付费 riPay预留实例
|
|
2319
|
+
*/
|
|
2320
2320
|
PayMode: string;
|
|
2321
2321
|
/**
|
|
2322
|
-
|
|
2323
|
-
modifyNetworkMode 调整带宽模式
|
|
2324
|
-
modifyNetworkSize 调整带宽大小
|
|
2325
|
-
refund 退款
|
|
2326
|
-
downgrade 降配
|
|
2327
|
-
upgrade 升配
|
|
2328
|
-
renew 续费
|
|
2329
|
-
purchase 购买
|
|
2330
|
-
preMoveOut 包年包月迁出资源
|
|
2331
|
-
preMoveIn 包年包月迁入资源
|
|
2332
|
-
preToPost 预付费转后付费
|
|
2333
|
-
postMoveOut 按量计费迁出资源
|
|
2334
|
-
postMoveIn 按量计费迁入资源
|
|
2335
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2336
|
-
|
|
2322
|
+
* 交易类型
|
|
2323
|
+
modifyNetworkMode 调整带宽模式
|
|
2324
|
+
modifyNetworkSize 调整带宽大小
|
|
2325
|
+
refund 退款
|
|
2326
|
+
downgrade 降配
|
|
2327
|
+
upgrade 升配
|
|
2328
|
+
renew 续费
|
|
2329
|
+
purchase 购买
|
|
2330
|
+
preMoveOut 包年包月迁出资源
|
|
2331
|
+
preMoveIn 包年包月迁入资源
|
|
2332
|
+
preToPost 预付费转后付费
|
|
2333
|
+
postMoveOut 按量计费迁出资源
|
|
2334
|
+
postMoveIn 按量计费迁入资源
|
|
2335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2336
|
+
*/
|
|
2337
2337
|
Action: string;
|
|
2338
2338
|
/**
|
|
2339
|
-
|
|
2340
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2341
|
-
|
|
2339
|
+
* 产品编码中文名称
|
|
2340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2341
|
+
*/
|
|
2342
2342
|
ProductName: string;
|
|
2343
2343
|
/**
|
|
2344
|
-
|
|
2345
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2346
|
-
|
|
2344
|
+
* 子产品编码中文名称
|
|
2345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2346
|
+
*/
|
|
2347
2347
|
SubProductName: string;
|
|
2348
2348
|
/**
|
|
2349
|
-
|
|
2350
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2351
|
-
|
|
2349
|
+
* 订单对应的资源id, 查询参数Limit超过200,将返回null
|
|
2350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2351
|
+
*/
|
|
2352
2352
|
ResourceId: Array<string>;
|
|
2353
2353
|
}
|
|
2354
2354
|
/**
|
|
@@ -2356,41 +2356,41 @@ postMoveIn 按量计费迁入资源
|
|
|
2356
2356
|
*/
|
|
2357
2357
|
export interface DescribeCostDetailRequest {
|
|
2358
2358
|
/**
|
|
2359
|
-
|
|
2360
|
-
|
|
2359
|
+
* 数量,最大值为100
|
|
2360
|
+
*/
|
|
2361
2361
|
Limit: number;
|
|
2362
2362
|
/**
|
|
2363
|
-
|
|
2364
|
-
|
|
2363
|
+
* 偏移量
|
|
2364
|
+
*/
|
|
2365
2365
|
Offset: number;
|
|
2366
2366
|
/**
|
|
2367
|
-
|
|
2368
|
-
|
|
2367
|
+
* 周期开始时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
|
|
2368
|
+
*/
|
|
2369
2369
|
BeginTime?: string;
|
|
2370
2370
|
/**
|
|
2371
|
-
|
|
2372
|
-
|
|
2371
|
+
* 周期结束时间,格式为yyyy-mm-dd hh:ii:ss,Month和BeginTime&EndTime必传一个,如果有该字段则Month字段无效。BeginTime和EndTime必须一起传,且为同一月份,暂不支持跨月拉取。可拉取的数据是开通成本分析后,且距今 24 个月内的数据。
|
|
2372
|
+
*/
|
|
2373
2373
|
EndTime?: string;
|
|
2374
2374
|
/**
|
|
2375
|
-
|
|
2376
|
-
1-表示需要, 0-表示不需要
|
|
2377
|
-
|
|
2375
|
+
* 是否需要访问列表的总记录数,用于前端分页
|
|
2376
|
+
1-表示需要, 0-表示不需要
|
|
2377
|
+
*/
|
|
2378
2378
|
NeedRecordNum?: number;
|
|
2379
2379
|
/**
|
|
2380
|
-
|
|
2381
|
-
|
|
2380
|
+
* 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
|
|
2381
|
+
*/
|
|
2382
2382
|
Month?: string;
|
|
2383
2383
|
/**
|
|
2384
|
-
|
|
2385
|
-
|
|
2384
|
+
* 查询指定产品信息(暂时未开放获取)
|
|
2385
|
+
*/
|
|
2386
2386
|
ProductCode?: string;
|
|
2387
2387
|
/**
|
|
2388
|
-
|
|
2389
|
-
|
|
2388
|
+
* 付费模式 prePay/postPay
|
|
2389
|
+
*/
|
|
2390
2390
|
PayMode?: string;
|
|
2391
2391
|
/**
|
|
2392
|
-
|
|
2393
|
-
|
|
2392
|
+
* 查询指定资源信息
|
|
2393
|
+
*/
|
|
2394
2394
|
ResourceId?: string;
|
|
2395
2395
|
}
|
|
2396
2396
|
/**
|
|
@@ -2398,21 +2398,21 @@ export interface DescribeCostDetailRequest {
|
|
|
2398
2398
|
*/
|
|
2399
2399
|
export interface DescribeVoucherUsageDetailsResponse {
|
|
2400
2400
|
/**
|
|
2401
|
-
|
|
2402
|
-
|
|
2401
|
+
* 券总数
|
|
2402
|
+
*/
|
|
2403
2403
|
TotalCount: number;
|
|
2404
2404
|
/**
|
|
2405
|
-
|
|
2406
|
-
|
|
2405
|
+
* 总已用金额(微分)
|
|
2406
|
+
*/
|
|
2407
2407
|
TotalUsedAmount: number;
|
|
2408
2408
|
/**
|
|
2409
|
-
|
|
2410
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2411
|
-
|
|
2409
|
+
* 代金券使用记录细节
|
|
2410
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2411
|
+
*/
|
|
2412
2412
|
UsageRecords: Array<UsageRecords>;
|
|
2413
2413
|
/**
|
|
2414
|
-
|
|
2415
|
-
|
|
2414
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2415
|
+
*/
|
|
2416
2416
|
RequestId?: string;
|
|
2417
2417
|
}
|
|
2418
2418
|
/**
|
|
@@ -2420,16 +2420,16 @@ export interface DescribeVoucherUsageDetailsResponse {
|
|
|
2420
2420
|
*/
|
|
2421
2421
|
export interface DescribeDealsByCondResponse {
|
|
2422
2422
|
/**
|
|
2423
|
-
|
|
2424
|
-
|
|
2423
|
+
* 订单列表
|
|
2424
|
+
*/
|
|
2425
2425
|
Deals: Array<Deal>;
|
|
2426
2426
|
/**
|
|
2427
|
-
|
|
2428
|
-
|
|
2427
|
+
* 订单总数
|
|
2428
|
+
*/
|
|
2429
2429
|
TotalCount: number;
|
|
2430
2430
|
/**
|
|
2431
|
-
|
|
2432
|
-
|
|
2431
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2432
|
+
*/
|
|
2433
2433
|
RequestId?: string;
|
|
2434
2434
|
}
|
|
2435
2435
|
/**
|
|
@@ -2437,12 +2437,12 @@ export interface DescribeDealsByCondResponse {
|
|
|
2437
2437
|
*/
|
|
2438
2438
|
export interface ConditionProject {
|
|
2439
2439
|
/**
|
|
2440
|
-
|
|
2441
|
-
|
|
2440
|
+
* 项目ID
|
|
2441
|
+
*/
|
|
2442
2442
|
ProjectId: string;
|
|
2443
2443
|
/**
|
|
2444
|
-
|
|
2445
|
-
|
|
2444
|
+
* 项目名称
|
|
2445
|
+
*/
|
|
2446
2446
|
ProjectName: string;
|
|
2447
2447
|
}
|
|
2448
2448
|
/**
|
|
@@ -2450,32 +2450,32 @@ export interface ConditionProject {
|
|
|
2450
2450
|
*/
|
|
2451
2451
|
export interface CosDetailSets {
|
|
2452
2452
|
/**
|
|
2453
|
-
|
|
2454
|
-
|
|
2453
|
+
* 存储桶名称
|
|
2454
|
+
*/
|
|
2455
2455
|
BucketName: string;
|
|
2456
2456
|
/**
|
|
2457
|
-
|
|
2458
|
-
|
|
2457
|
+
* 用量开始时间
|
|
2458
|
+
*/
|
|
2459
2459
|
DosageBeginTime: string;
|
|
2460
2460
|
/**
|
|
2461
|
-
|
|
2462
|
-
|
|
2461
|
+
* 用量结束时间
|
|
2462
|
+
*/
|
|
2463
2463
|
DosageEndTime: string;
|
|
2464
2464
|
/**
|
|
2465
|
-
|
|
2466
|
-
|
|
2465
|
+
* 一级产品类型名称
|
|
2466
|
+
*/
|
|
2467
2467
|
SubProductCodeName: string;
|
|
2468
2468
|
/**
|
|
2469
|
-
|
|
2470
|
-
|
|
2469
|
+
* 二级产品类型名称
|
|
2470
|
+
*/
|
|
2471
2471
|
BillingItemCodeName: string;
|
|
2472
2472
|
/**
|
|
2473
|
-
|
|
2474
|
-
|
|
2473
|
+
* 用量
|
|
2474
|
+
*/
|
|
2475
2475
|
DosageValue: string;
|
|
2476
2476
|
/**
|
|
2477
|
-
|
|
2478
|
-
|
|
2477
|
+
* 单位
|
|
2478
|
+
*/
|
|
2479
2479
|
Unit: string;
|
|
2480
2480
|
}
|
|
2481
2481
|
/**
|
|
@@ -2483,16 +2483,16 @@ export interface CosDetailSets {
|
|
|
2483
2483
|
*/
|
|
2484
2484
|
export interface DescribeBillSummaryByProjectRequest {
|
|
2485
2485
|
/**
|
|
2486
|
-
|
|
2487
|
-
|
|
2486
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
2487
|
+
*/
|
|
2488
2488
|
BeginTime: string;
|
|
2489
2489
|
/**
|
|
2490
|
-
|
|
2491
|
-
|
|
2490
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
2491
|
+
*/
|
|
2492
2492
|
EndTime: string;
|
|
2493
2493
|
/**
|
|
2494
|
-
|
|
2495
|
-
|
|
2494
|
+
* 查询账单数据的用户UIN
|
|
2495
|
+
*/
|
|
2496
2496
|
PayerUin?: string;
|
|
2497
2497
|
}
|
|
2498
2498
|
/**
|
|
@@ -2500,17 +2500,17 @@ export interface DescribeBillSummaryByProjectRequest {
|
|
|
2500
2500
|
*/
|
|
2501
2501
|
export interface DescribeBillSummaryByProjectResponse {
|
|
2502
2502
|
/**
|
|
2503
|
-
|
|
2504
|
-
|
|
2503
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
2504
|
+
*/
|
|
2505
2505
|
Ready: number;
|
|
2506
2506
|
/**
|
|
2507
|
-
|
|
2508
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2509
|
-
|
|
2507
|
+
* 各项目花费分布详情
|
|
2508
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2509
|
+
*/
|
|
2510
2510
|
SummaryOverview: Array<ProjectSummaryOverviewItem>;
|
|
2511
2511
|
/**
|
|
2512
|
-
|
|
2513
|
-
|
|
2512
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2513
|
+
*/
|
|
2514
2514
|
RequestId?: string;
|
|
2515
2515
|
}
|
|
2516
2516
|
/**
|
|
@@ -2518,12 +2518,12 @@ export interface DescribeBillSummaryByProjectResponse {
|
|
|
2518
2518
|
*/
|
|
2519
2519
|
export interface ConditionBusiness {
|
|
2520
2520
|
/**
|
|
2521
|
-
|
|
2522
|
-
|
|
2521
|
+
* 产品名称代码
|
|
2522
|
+
*/
|
|
2523
2523
|
BusinessCode: string;
|
|
2524
2524
|
/**
|
|
2525
|
-
|
|
2526
|
-
|
|
2525
|
+
* 产品名称
|
|
2526
|
+
*/
|
|
2527
2527
|
BusinessCodeName: string;
|
|
2528
2528
|
}
|
|
2529
2529
|
/**
|
|
@@ -2531,36 +2531,36 @@ export interface ConditionBusiness {
|
|
|
2531
2531
|
*/
|
|
2532
2532
|
export interface DescribeCostSummaryByResourceRequest {
|
|
2533
2533
|
/**
|
|
2534
|
-
|
|
2535
|
-
|
|
2534
|
+
* 目前必须和EndTime相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
2535
|
+
*/
|
|
2536
2536
|
BeginTime: string;
|
|
2537
2537
|
/**
|
|
2538
|
-
|
|
2539
|
-
|
|
2538
|
+
* 目前必须和BeginTime为相同月份,不支持跨月查询,且查询结果是整月数据,例如 BeginTime为2018-09,EndTime 为 2018-09,查询结果是 2018 年 9 月数据。
|
|
2539
|
+
*/
|
|
2540
2540
|
EndTime: string;
|
|
2541
2541
|
/**
|
|
2542
|
-
|
|
2543
|
-
|
|
2542
|
+
* 每次获取数据量
|
|
2543
|
+
*/
|
|
2544
2544
|
Limit: number;
|
|
2545
2545
|
/**
|
|
2546
|
-
|
|
2547
|
-
|
|
2546
|
+
* 偏移量
|
|
2547
|
+
*/
|
|
2548
2548
|
Offset: number;
|
|
2549
2549
|
/**
|
|
2550
|
-
|
|
2551
|
-
|
|
2550
|
+
* 查询账单数据的用户UIN
|
|
2551
|
+
*/
|
|
2552
2552
|
PayerUin?: string;
|
|
2553
2553
|
/**
|
|
2554
|
-
|
|
2555
|
-
|
|
2554
|
+
* 是否需要返回记录数量,0不需要,1需要,默认不需要
|
|
2555
|
+
*/
|
|
2556
2556
|
NeedRecordNum?: number;
|
|
2557
2557
|
/**
|
|
2558
|
-
|
|
2559
|
-
|
|
2558
|
+
* 是否需要返回过滤条件,0不需要,1需要,默认不需要
|
|
2559
|
+
*/
|
|
2560
2560
|
NeedConditionValue?: number;
|
|
2561
2561
|
/**
|
|
2562
|
-
|
|
2563
|
-
|
|
2562
|
+
* 过滤条件,只支持ResourceKeyword(资源关键字,支持资源id及资源名称模糊查询),ProjectIds(项目id),RegionIds(地域id),PayModes(付费模式,可选prePay和postPay),HideFreeCost(是否隐藏0元流水,可选0和1),OrderByCost(按费用排序规则,可选desc和asc)
|
|
2563
|
+
*/
|
|
2564
2564
|
Conditions?: Conditions;
|
|
2565
2565
|
}
|
|
2566
2566
|
/**
|
|
@@ -2568,18 +2568,18 @@ export interface DescribeCostSummaryByResourceRequest {
|
|
|
2568
2568
|
*/
|
|
2569
2569
|
export interface DescribeCostDetailResponse {
|
|
2570
2570
|
/**
|
|
2571
|
-
|
|
2572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2573
|
-
|
|
2571
|
+
* 消耗明细
|
|
2572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2573
|
+
*/
|
|
2574
2574
|
DetailSet?: Array<CostDetail>;
|
|
2575
2575
|
/**
|
|
2576
|
-
|
|
2577
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2578
|
-
|
|
2576
|
+
* 记录数
|
|
2577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2578
|
+
*/
|
|
2579
2579
|
Total?: number;
|
|
2580
2580
|
/**
|
|
2581
|
-
|
|
2582
|
-
|
|
2581
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2582
|
+
*/
|
|
2583
2583
|
RequestId?: string;
|
|
2584
2584
|
}
|
|
2585
2585
|
/**
|
|
@@ -2587,16 +2587,16 @@ export interface DescribeCostDetailResponse {
|
|
|
2587
2587
|
*/
|
|
2588
2588
|
export interface DescribeDosageCosDetailByDateRequest {
|
|
2589
2589
|
/**
|
|
2590
|
-
|
|
2591
|
-
|
|
2590
|
+
* 查询用量开始时间
|
|
2591
|
+
*/
|
|
2592
2592
|
StartDate: string;
|
|
2593
2593
|
/**
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
* 查询用量结束时间(与开始时间同月,不支持跨月查询)
|
|
2595
|
+
*/
|
|
2596
2596
|
EndDate: string;
|
|
2597
2597
|
/**
|
|
2598
|
-
|
|
2599
|
-
|
|
2598
|
+
* COS 存储桶名称,可通过Get Service 接口是用来获取请求者名下的所有存储空间列表(Bucket list)https://cloud.tencent.com/document/product/436/8291
|
|
2599
|
+
*/
|
|
2600
2600
|
BucketName: string;
|
|
2601
2601
|
}
|
|
2602
2602
|
/**
|
|
@@ -2604,12 +2604,12 @@ export interface DescribeDosageCosDetailByDateRequest {
|
|
|
2604
2604
|
*/
|
|
2605
2605
|
export interface ExcludedProducts {
|
|
2606
2606
|
/**
|
|
2607
|
-
|
|
2608
|
-
|
|
2607
|
+
* 不适用商品名称
|
|
2608
|
+
*/
|
|
2609
2609
|
GoodsName: string;
|
|
2610
2610
|
/**
|
|
2611
|
-
|
|
2612
|
-
|
|
2611
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。
|
|
2612
|
+
*/
|
|
2613
2613
|
PayMode: string;
|
|
2614
2614
|
}
|
|
2615
2615
|
/**
|
|
@@ -2617,44 +2617,44 @@ export interface ExcludedProducts {
|
|
|
2617
2617
|
*/
|
|
2618
2618
|
export interface PayModeSummaryOverviewItem {
|
|
2619
2619
|
/**
|
|
2620
|
-
|
|
2621
|
-
|
|
2620
|
+
* 付费模式
|
|
2621
|
+
*/
|
|
2622
2622
|
PayMode: string;
|
|
2623
2623
|
/**
|
|
2624
|
-
|
|
2625
|
-
|
|
2624
|
+
* 付费模式名称
|
|
2625
|
+
*/
|
|
2626
2626
|
PayModeName: string;
|
|
2627
2627
|
/**
|
|
2628
|
-
|
|
2629
|
-
|
|
2628
|
+
* 实际花费
|
|
2629
|
+
*/
|
|
2630
2630
|
RealTotalCost: string;
|
|
2631
2631
|
/**
|
|
2632
|
-
|
|
2633
|
-
|
|
2632
|
+
* 费用所占百分比,两位小数
|
|
2633
|
+
*/
|
|
2634
2634
|
RealTotalCostRatio: string;
|
|
2635
2635
|
/**
|
|
2636
|
-
|
|
2637
|
-
|
|
2636
|
+
* 按交易类型:包年包月新购/续费/升降配/退款、按量计费扣费、调账补偿/扣费等类型汇总消费详情
|
|
2637
|
+
*/
|
|
2638
2638
|
Detail: Array<ActionSummaryOverviewItem>;
|
|
2639
2639
|
/**
|
|
2640
|
-
|
|
2641
|
-
|
|
2640
|
+
* 现金金额
|
|
2641
|
+
*/
|
|
2642
2642
|
CashPayAmount: string;
|
|
2643
2643
|
/**
|
|
2644
|
-
|
|
2645
|
-
|
|
2644
|
+
* 赠送金金额
|
|
2645
|
+
*/
|
|
2646
2646
|
IncentivePayAmount: string;
|
|
2647
2647
|
/**
|
|
2648
|
-
|
|
2649
|
-
|
|
2648
|
+
* 代金券金额
|
|
2649
|
+
*/
|
|
2650
2650
|
VoucherPayAmount: string;
|
|
2651
2651
|
/**
|
|
2652
|
-
|
|
2653
|
-
|
|
2652
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
2653
|
+
*/
|
|
2654
2654
|
TotalCost: string;
|
|
2655
2655
|
/**
|
|
2656
|
-
|
|
2657
|
-
|
|
2656
|
+
* 分成金金额
|
|
2657
|
+
*/
|
|
2658
2658
|
TransferPayAmount: string;
|
|
2659
2659
|
}
|
|
2660
2660
|
/**
|
|
@@ -2662,28 +2662,28 @@ export interface PayModeSummaryOverviewItem {
|
|
|
2662
2662
|
*/
|
|
2663
2663
|
export interface BusinessSummaryTotal {
|
|
2664
2664
|
/**
|
|
2665
|
-
|
|
2666
|
-
|
|
2665
|
+
* 总花费
|
|
2666
|
+
*/
|
|
2667
2667
|
RealTotalCost: string;
|
|
2668
2668
|
/**
|
|
2669
|
-
|
|
2670
|
-
|
|
2669
|
+
* 代金券金额
|
|
2670
|
+
*/
|
|
2671
2671
|
VoucherPayAmount: string;
|
|
2672
2672
|
/**
|
|
2673
|
-
|
|
2674
|
-
|
|
2673
|
+
* 赠送金金额
|
|
2674
|
+
*/
|
|
2675
2675
|
IncentivePayAmount: string;
|
|
2676
2676
|
/**
|
|
2677
|
-
|
|
2678
|
-
|
|
2677
|
+
* 现金金额
|
|
2678
|
+
*/
|
|
2679
2679
|
CashPayAmount: string;
|
|
2680
2680
|
/**
|
|
2681
|
-
|
|
2682
|
-
|
|
2681
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
2682
|
+
*/
|
|
2683
2683
|
TotalCost: string;
|
|
2684
2684
|
/**
|
|
2685
|
-
|
|
2686
|
-
|
|
2685
|
+
* 分成金金额
|
|
2686
|
+
*/
|
|
2687
2687
|
TransferPayAmount: string;
|
|
2688
2688
|
}
|
|
2689
2689
|
/**
|
|
@@ -2691,24 +2691,24 @@ export interface BusinessSummaryTotal {
|
|
|
2691
2691
|
*/
|
|
2692
2692
|
export interface DescribeCostSummaryByRegionResponse {
|
|
2693
2693
|
/**
|
|
2694
|
-
|
|
2695
|
-
|
|
2694
|
+
* 数据是否准备好,0未准备好,1准备好
|
|
2695
|
+
*/
|
|
2696
2696
|
Ready?: number;
|
|
2697
2697
|
/**
|
|
2698
|
-
|
|
2699
|
-
|
|
2698
|
+
* 消耗详情
|
|
2699
|
+
*/
|
|
2700
2700
|
Total?: ConsumptionSummaryTotal;
|
|
2701
2701
|
/**
|
|
2702
|
-
|
|
2703
|
-
|
|
2702
|
+
* 消耗按地域汇总详情
|
|
2703
|
+
*/
|
|
2704
2704
|
Data?: Array<ConsumptionRegionSummaryDataItem>;
|
|
2705
2705
|
/**
|
|
2706
|
-
|
|
2707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2708
|
-
|
|
2706
|
+
* 记录数量,NeedRecordNum为0是返回null
|
|
2707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2708
|
+
*/
|
|
2709
2709
|
RecordNum?: number;
|
|
2710
2710
|
/**
|
|
2711
|
-
|
|
2712
|
-
|
|
2711
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2712
|
+
*/
|
|
2713
2713
|
RequestId?: string;
|
|
2714
2714
|
}
|