1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\BssOpenApi\V20171214; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\ApiResolverTrait; |
6
|
|
|
use AlibabaCloud\Rpc; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Resolve Api based on the method name. |
10
|
|
|
* |
11
|
|
|
* @method UnsubscribeBillToOSS unsubscribeBillToOSS(array $options = []) |
12
|
|
|
* @method SubscribeBillToOSS subscribeBillToOSS(array $options = []) |
13
|
|
|
* @method CancelOrder cancelOrder(array $options = []) |
14
|
|
|
* @method QueryUserOmsData queryUserOmsData(array $options = []) |
15
|
|
|
* @method ApplyInvoice applyInvoice(array $options = []) |
16
|
|
|
* @method QueryEvaluateList queryEvaluateList(array $options = []) |
17
|
|
|
* @method QueryInvoicingCustomerList queryInvoicingCustomerList(array $options = []) |
18
|
|
|
* @method QueryCustomerAddressList queryCustomerAddressList(array $options = []) |
19
|
|
|
* @method QueryInstanceBill queryInstanceBill(array $options = []) |
20
|
|
|
* @method QueryBill queryBill(array $options = []) |
21
|
|
|
* @method QueryBillOverview queryBillOverview(array $options = []) |
22
|
|
|
* @method EnableBillGeneration enableBillGeneration(array $options = []) |
23
|
|
|
* @method QueryRedeem queryRedeem(array $options = []) |
24
|
|
|
* @method ConvertChargeType convertChargeType(array $options = []) |
25
|
|
|
* @method ModifyInstance modifyInstance(array $options = []) |
26
|
|
|
* @method CreateInstance createInstance(array $options = []) |
27
|
|
|
* @method QueryInstanceGaapCost queryInstanceGaapCost(array $options = []) |
28
|
|
|
* @method RenewInstance renewInstance(array $options = []) |
29
|
|
|
* @method QueryProductList queryProductList(array $options = []) |
30
|
|
|
* @method DescribePricingModule describePricingModule(array $options = []) |
31
|
|
|
* @method QueryOrders queryOrders(array $options = []) |
32
|
|
|
* @method GetOrderDetail getOrderDetail(array $options = []) |
33
|
|
|
* @method QueryCashCoupons queryCashCoupons(array $options = []) |
34
|
|
|
* @method QueryPrepaidCards queryPrepaidCards(array $options = []) |
35
|
|
|
* @method QueryAccountBalance queryAccountBalance(array $options = []) |
36
|
|
|
* @method SetRenewal setRenewal(array $options = []) |
37
|
|
|
* @method QueryAvailableInstances queryAvailableInstances(array $options = []) |
38
|
|
|
* @method DescribeResourcePackageProduct describeResourcePackageProduct(array $options = []) |
39
|
|
|
* @method QueryResourcePackageInstances queryResourcePackageInstances(array $options = []) |
40
|
|
|
* @method GetResourcePackagePrice getResourcePackagePrice(array $options = []) |
41
|
|
|
* @method CreateResourcePackage createResourcePackage(array $options = []) |
42
|
|
|
* @method QuerySettlementBill querySettlementBill(array $options = []) |
43
|
|
|
* @method QueryUserValueCard queryUserValueCard(array $options = []) |
44
|
|
|
* @method QueryUserCoupon queryUserCoupon(array $options = []) |
45
|
|
|
* @method QueryUserAvailableCreditAmount queryUserAvailableCreditAmount(array $options = []) |
46
|
|
|
* @method GetSubscriptionPrice getSubscriptionPrice(array $options = []) |
47
|
|
|
* @method GetPayAsYouGoPrice getPayAsYouGoPrice(array $options = []) |
48
|
|
|
* @method SetRenewalApi setRenewalApi(array $options = []) |
49
|
|
|
* @method QueryMonthlyInstanceConsumption queryMonthlyInstanceConsumption(array $options = []) |
50
|
|
|
* @method QueryMonthlyBill queryMonthlyBill(array $options = []) |
51
|
|
|
* @method SetAutoRenewalApi setAutoRenewalApi(array $options = []) |
52
|
|
|
* @method QueryAvailableInstancesApi queryAvailableInstancesApi(array $options = []) |
53
|
|
|
* @method SetNotRenewalApi setNotRenewalApi(array $options = []) |
54
|
|
|
*/ |
55
|
|
|
class BssOpenApiApiResolver |
56
|
|
|
{ |
57
|
|
|
use ApiResolverTrait; |
58
|
|
|
} |
59
|
|
|
|
60
|
|
|
class V20171214Rpc extends Rpc |
61
|
|
|
{ |
62
|
|
|
/** @var string */ |
63
|
|
|
public $product = 'BssOpenApi'; |
64
|
|
|
|
65
|
|
|
/** @var string */ |
66
|
|
|
public $version = '2017-12-14'; |
67
|
|
|
|
68
|
|
|
/** @var string */ |
69
|
|
|
public $method = 'POST'; |
70
|
|
|
} |
71
|
|
|
|
72
|
|
|
/** |
73
|
|
|
* @method string getSubscribeType() |
74
|
|
|
* @method $this withSubscribeType($value) |
75
|
|
|
*/ |
76
|
|
|
class UnsubscribeBillToOSS extends V20171214Rpc |
77
|
|
|
{ |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* @method string getSubscribeType() |
82
|
|
|
* @method $this withSubscribeType($value) |
83
|
|
|
* @method string getSubscribeBucket() |
84
|
|
|
* @method $this withSubscribeBucket($value) |
85
|
|
|
*/ |
86
|
|
|
class SubscribeBillToOSS extends V20171214Rpc |
87
|
|
|
{ |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
/** |
91
|
|
|
* @method string getOrderId() |
92
|
|
|
* @method $this withOrderId($value) |
93
|
|
|
* @method string getOwnerId() |
94
|
|
|
* @method $this withOwnerId($value) |
95
|
|
|
*/ |
96
|
|
|
class CancelOrder extends V20171214Rpc |
97
|
|
|
{ |
98
|
|
|
} |
99
|
|
|
|
100
|
|
|
/** |
101
|
|
|
* @method string getDataType() |
102
|
|
|
* @method $this withDataType($value) |
103
|
|
|
* @method string getMarker() |
104
|
|
|
* @method $this withMarker($value) |
105
|
|
|
* @method string getPageSize() |
106
|
|
|
* @method $this withPageSize($value) |
107
|
|
|
* @method string getEndTime() |
108
|
|
|
* @method $this withEndTime($value) |
109
|
|
|
* @method string getStartTime() |
110
|
|
|
* @method $this withStartTime($value) |
111
|
|
|
* @method string getOwnerId() |
112
|
|
|
* @method $this withOwnerId($value) |
113
|
|
|
* @method string getTable() |
114
|
|
|
* @method $this withTable($value) |
115
|
|
|
*/ |
116
|
|
|
class QueryUserOmsData extends V20171214Rpc |
117
|
|
|
{ |
118
|
|
|
|
119
|
|
|
/** @var string */ |
120
|
|
|
public $method = 'GET'; |
121
|
|
|
} |
122
|
|
|
|
123
|
|
|
/** |
124
|
|
|
* @method string getInvoicingType() |
125
|
|
|
* @method $this withInvoicingType($value) |
126
|
|
|
* @method string getApplyUserNick() |
127
|
|
|
* @method $this withApplyUserNick($value) |
128
|
|
|
* @method string getInvoiceByAmount() |
129
|
|
|
* @method $this withInvoiceByAmount($value) |
130
|
|
|
* @method string getCustomerId() |
131
|
|
|
* @method $this withCustomerId($value) |
132
|
|
|
* @method array getSelectedIds() |
133
|
|
|
* @method string getProcessWay() |
134
|
|
|
* @method $this withProcessWay($value) |
135
|
|
|
* @method string getCallerBid() |
136
|
|
|
* @method string getOwnerId() |
137
|
|
|
* @method $this withOwnerId($value) |
138
|
|
|
* @method string getInvoiceAmount() |
139
|
|
|
* @method $this withInvoiceAmount($value) |
140
|
|
|
* @method string getAddressId() |
141
|
|
|
* @method $this withAddressId($value) |
142
|
|
|
* @method string getCallerUid() |
143
|
|
|
*/ |
144
|
|
|
class ApplyInvoice extends V20171214Rpc |
145
|
|
|
{ |
146
|
|
|
|
147
|
|
|
/** |
148
|
|
|
* @param array $selectedIds |
149
|
|
|
* |
150
|
|
|
* @return $this |
151
|
|
|
*/ |
152
|
|
|
public function withSelectedIds(array $selectedIds) |
153
|
|
|
{ |
154
|
|
|
$this->data['SelectedIds'] = $selectedIds; |
155
|
|
|
foreach ($selectedIds as $i => $iValue) { |
156
|
|
|
$this->options['query']['SelectedIds.' . ($i + 1)] = $iValue; |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
return $this; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
/** |
163
|
|
|
* @param string $value |
164
|
|
|
* |
165
|
|
|
* @return $this |
166
|
|
|
*/ |
167
|
|
|
public function withCallerBid($value) |
168
|
|
|
{ |
169
|
|
|
$this->data['CallerBid'] = $value; |
170
|
|
|
$this->options['query']['callerBid'] = $value; |
171
|
|
|
|
172
|
|
|
return $this; |
173
|
|
|
} |
174
|
|
|
|
175
|
|
|
/** |
176
|
|
|
* @param string $value |
177
|
|
|
* |
178
|
|
|
* @return $this |
179
|
|
|
*/ |
180
|
|
|
public function withCallerUid($value) |
181
|
|
|
{ |
182
|
|
|
$this->data['CallerUid'] = $value; |
183
|
|
|
$this->options['query']['callerUid'] = $value; |
184
|
|
|
|
185
|
|
|
return $this; |
186
|
|
|
} |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
/** |
190
|
|
|
* @method string getEndSearchTime() |
191
|
|
|
* @method $this withEndSearchTime($value) |
192
|
|
|
* @method string getOutBizId() |
193
|
|
|
* @method $this withOutBizId($value) |
194
|
|
|
* @method string getSortType() |
195
|
|
|
* @method $this withSortType($value) |
196
|
|
|
* @method array getBizTypeList() |
197
|
|
|
* @method string getCallerBid() |
198
|
|
|
* @method string getType() |
199
|
|
|
* @method $this withType($value) |
200
|
|
|
* @method string getOwnerId() |
201
|
|
|
* @method $this withOwnerId($value) |
202
|
|
|
* @method string getPageNum() |
203
|
|
|
* @method $this withPageNum($value) |
204
|
|
|
* @method string getStartSearchTime() |
205
|
|
|
* @method $this withStartSearchTime($value) |
206
|
|
|
* @method string getEndBizTime() |
207
|
|
|
* @method $this withEndBizTime($value) |
208
|
|
|
* @method string getPageSize() |
209
|
|
|
* @method $this withPageSize($value) |
210
|
|
|
* @method string getEndAmount() |
211
|
|
|
* @method $this withEndAmount($value) |
212
|
|
|
* @method string getBillCycle() |
213
|
|
|
* @method $this withBillCycle($value) |
214
|
|
|
* @method string getStartAmount() |
215
|
|
|
* @method $this withStartAmount($value) |
216
|
|
|
* @method string getStartBizTime() |
217
|
|
|
* @method $this withStartBizTime($value) |
218
|
|
|
* @method string getCallerUid() |
219
|
|
|
*/ |
220
|
|
|
class QueryEvaluateList extends V20171214Rpc |
221
|
|
|
{ |
222
|
|
|
|
223
|
|
|
/** |
224
|
|
|
* @param array $bizTypeList |
225
|
|
|
* |
226
|
|
|
* @return $this |
227
|
|
|
*/ |
228
|
|
|
public function withBizTypeList(array $bizTypeList) |
229
|
|
|
{ |
230
|
|
|
$this->data['BizTypeList'] = $bizTypeList; |
231
|
|
|
foreach ($bizTypeList as $i => $iValue) { |
232
|
|
|
$this->options['query']['BizTypeList.' . ($i + 1)] = $iValue; |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
return $this; |
236
|
|
|
} |
237
|
|
|
|
238
|
|
|
/** |
239
|
|
|
* @param string $value |
240
|
|
|
* |
241
|
|
|
* @return $this |
242
|
|
|
*/ |
243
|
|
|
public function withCallerBid($value) |
244
|
|
|
{ |
245
|
|
|
$this->data['CallerBid'] = $value; |
246
|
|
|
$this->options['query']['callerBid'] = $value; |
247
|
|
|
|
248
|
|
|
return $this; |
249
|
|
|
} |
250
|
|
|
|
251
|
|
|
/** |
252
|
|
|
* @param string $value |
253
|
|
|
* |
254
|
|
|
* @return $this |
255
|
|
|
*/ |
256
|
|
|
public function withCallerUid($value) |
257
|
|
|
{ |
258
|
|
|
$this->data['CallerUid'] = $value; |
259
|
|
|
$this->options['query']['callerUid'] = $value; |
260
|
|
|
|
261
|
|
|
return $this; |
262
|
|
|
} |
263
|
|
|
} |
264
|
|
|
|
265
|
|
|
/** |
266
|
|
|
* @method string getOwnerId() |
267
|
|
|
* @method $this withOwnerId($value) |
268
|
|
|
*/ |
269
|
|
|
class QueryInvoicingCustomerList extends V20171214Rpc |
270
|
|
|
{ |
271
|
|
|
} |
272
|
|
|
|
273
|
|
|
/** |
274
|
|
|
* @method string getCallerBid() |
275
|
|
|
* @method string getOwnerId() |
276
|
|
|
* @method $this withOwnerId($value) |
277
|
|
|
* @method string getCallerUid() |
278
|
|
|
*/ |
279
|
|
|
class QueryCustomerAddressList extends V20171214Rpc |
280
|
|
|
{ |
281
|
|
|
|
282
|
|
|
/** |
283
|
|
|
* @param string $value |
284
|
|
|
* |
285
|
|
|
* @return $this |
286
|
|
|
*/ |
287
|
|
|
public function withCallerBid($value) |
288
|
|
|
{ |
289
|
|
|
$this->data['CallerBid'] = $value; |
290
|
|
|
$this->options['query']['callerBid'] = $value; |
291
|
|
|
|
292
|
|
|
return $this; |
293
|
|
|
} |
294
|
|
|
|
295
|
|
|
/** |
296
|
|
|
* @param string $value |
297
|
|
|
* |
298
|
|
|
* @return $this |
299
|
|
|
*/ |
300
|
|
|
public function withCallerUid($value) |
301
|
|
|
{ |
302
|
|
|
$this->data['CallerUid'] = $value; |
303
|
|
|
$this->options['query']['callerUid'] = $value; |
304
|
|
|
|
305
|
|
|
return $this; |
306
|
|
|
} |
307
|
|
|
} |
308
|
|
|
|
309
|
|
|
/** |
310
|
|
|
* @method string getIsBillingItem() |
311
|
|
|
* @method $this withIsBillingItem($value) |
312
|
|
|
* @method string getProductCode() |
313
|
|
|
* @method $this withProductCode($value) |
314
|
|
|
* @method string getIsHideZeroCharge() |
315
|
|
|
* @method $this withIsHideZeroCharge($value) |
316
|
|
|
* @method string getSubscriptionType() |
317
|
|
|
* @method $this withSubscriptionType($value) |
318
|
|
|
* @method string getPageSize() |
319
|
|
|
* @method $this withPageSize($value) |
320
|
|
|
* @method string getBillingCycle() |
321
|
|
|
* @method $this withBillingCycle($value) |
322
|
|
|
* @method string getOwnerId() |
323
|
|
|
* @method $this withOwnerId($value) |
324
|
|
|
* @method string getPageNum() |
325
|
|
|
* @method $this withPageNum($value) |
326
|
|
|
* @method string getProductType() |
327
|
|
|
* @method $this withProductType($value) |
328
|
|
|
*/ |
329
|
|
|
class QueryInstanceBill extends V20171214Rpc |
330
|
|
|
{ |
331
|
|
|
} |
332
|
|
|
|
333
|
|
|
/** |
334
|
|
|
* @method string getProductCode() |
335
|
|
|
* @method $this withProductCode($value) |
336
|
|
|
* @method string getIsHideZeroCharge() |
337
|
|
|
* @method $this withIsHideZeroCharge($value) |
338
|
|
|
* @method string getIsDisplayLocalCurrency() |
339
|
|
|
* @method $this withIsDisplayLocalCurrency($value) |
340
|
|
|
* @method string getSubscriptionType() |
341
|
|
|
* @method $this withSubscriptionType($value) |
342
|
|
|
* @method string getPageSize() |
343
|
|
|
* @method $this withPageSize($value) |
344
|
|
|
* @method string getBillingCycle() |
345
|
|
|
* @method $this withBillingCycle($value) |
346
|
|
|
* @method string getType() |
347
|
|
|
* @method $this withType($value) |
348
|
|
|
* @method string getOwnerId() |
349
|
|
|
* @method $this withOwnerId($value) |
350
|
|
|
* @method string getPageNum() |
351
|
|
|
* @method $this withPageNum($value) |
352
|
|
|
* @method string getProductType() |
353
|
|
|
* @method $this withProductType($value) |
354
|
|
|
*/ |
355
|
|
|
class QueryBill extends V20171214Rpc |
356
|
|
|
{ |
357
|
|
|
} |
358
|
|
|
|
359
|
|
|
/** |
360
|
|
|
* @method string getProductCode() |
361
|
|
|
* @method $this withProductCode($value) |
362
|
|
|
* @method string getSubscriptionType() |
363
|
|
|
* @method $this withSubscriptionType($value) |
364
|
|
|
* @method string getBillingCycle() |
365
|
|
|
* @method $this withBillingCycle($value) |
366
|
|
|
* @method string getProductType() |
367
|
|
|
* @method $this withProductType($value) |
368
|
|
|
*/ |
369
|
|
|
class QueryBillOverview extends V20171214Rpc |
370
|
|
|
{ |
371
|
|
|
} |
372
|
|
|
|
373
|
|
|
/** |
374
|
|
|
* @method string getProductCode() |
375
|
|
|
* @method $this withProductCode($value) |
376
|
|
|
* @method string getOwnerId() |
377
|
|
|
* @method $this withOwnerId($value) |
378
|
|
|
*/ |
379
|
|
|
class EnableBillGeneration extends V20171214Rpc |
380
|
|
|
{ |
381
|
|
|
|
382
|
|
|
/** @var string */ |
383
|
|
|
public $method = 'PUT'; |
384
|
|
|
} |
385
|
|
|
|
386
|
|
|
/** |
387
|
|
|
* @method string getExpiryTimeEnd() |
388
|
|
|
* @method $this withExpiryTimeEnd($value) |
389
|
|
|
* @method string getPageSize() |
390
|
|
|
* @method $this withPageSize($value) |
391
|
|
|
* @method string getExpiryTimeStart() |
392
|
|
|
* @method $this withExpiryTimeStart($value) |
393
|
|
|
* @method string getPageNum() |
394
|
|
|
* @method $this withPageNum($value) |
395
|
|
|
* @method string getEffectiveOrNot() |
396
|
|
|
* @method $this withEffectiveOrNot($value) |
397
|
|
|
*/ |
398
|
|
|
class QueryRedeem extends V20171214Rpc |
399
|
|
|
{ |
400
|
|
|
|
401
|
|
|
/** @var string */ |
402
|
|
|
public $method = 'GET'; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* @method string getPeriod() |
407
|
|
|
* @method $this withPeriod($value) |
408
|
|
|
* @method string getProductCode() |
409
|
|
|
* @method $this withProductCode($value) |
410
|
|
|
* @method string getInstanceId() |
411
|
|
|
* @method $this withInstanceId($value) |
412
|
|
|
* @method string getSubscriptionType() |
413
|
|
|
* @method $this withSubscriptionType($value) |
414
|
|
|
* @method string getOwnerId() |
415
|
|
|
* @method $this withOwnerId($value) |
416
|
|
|
* @method string getProductType() |
417
|
|
|
* @method $this withProductType($value) |
418
|
|
|
*/ |
419
|
|
|
class ConvertChargeType extends V20171214Rpc |
420
|
|
|
{ |
421
|
|
|
} |
422
|
|
|
|
423
|
|
|
/** |
424
|
|
|
* @method string getProductCode() |
425
|
|
|
* @method $this withProductCode($value) |
426
|
|
|
* @method string getInstanceId() |
427
|
|
|
* @method $this withInstanceId($value) |
428
|
|
|
* @method string getSubscriptionType() |
429
|
|
|
* @method $this withSubscriptionType($value) |
430
|
|
|
* @method string getModifyType() |
431
|
|
|
* @method $this withModifyType($value) |
432
|
|
|
* @method array getParameter() |
433
|
|
|
* @method string getOwnerId() |
434
|
|
|
* @method $this withOwnerId($value) |
435
|
|
|
* @method string getProductType() |
436
|
|
|
* @method $this withProductType($value) |
437
|
|
|
*/ |
438
|
|
|
class ModifyInstance extends V20171214Rpc |
439
|
|
|
{ |
440
|
|
|
|
441
|
|
|
/** |
442
|
|
|
* @param array $parameter |
443
|
|
|
* |
444
|
|
|
* @return $this |
445
|
|
|
*/ |
446
|
|
|
public function withParameter(array $parameter) |
447
|
|
|
{ |
448
|
|
|
$this->data['Parameter'] = $parameter; |
449
|
|
|
foreach ($parameter as $depth1 => $depth1Value) { |
450
|
|
|
$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code']; |
451
|
|
|
$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
452
|
|
|
} |
453
|
|
|
|
454
|
|
|
return $this; |
455
|
|
|
} |
456
|
|
|
} |
457
|
|
|
|
458
|
|
|
/** |
459
|
|
|
* @method string getProductCode() |
460
|
|
|
* @method $this withProductCode($value) |
461
|
|
|
* @method string getPeriod() |
462
|
|
|
* @method $this withPeriod($value) |
463
|
|
|
* @method string getSubscriptionType() |
464
|
|
|
* @method $this withSubscriptionType($value) |
465
|
|
|
* @method string getRenewPeriod() |
466
|
|
|
* @method $this withRenewPeriod($value) |
467
|
|
|
* @method array getParameter() |
468
|
|
|
* @method string getRenewalStatus() |
469
|
|
|
* @method $this withRenewalStatus($value) |
470
|
|
|
* @method string getOwnerId() |
471
|
|
|
* @method $this withOwnerId($value) |
472
|
|
|
* @method string getProductType() |
473
|
|
|
* @method $this withProductType($value) |
474
|
|
|
*/ |
475
|
|
|
class CreateInstance extends V20171214Rpc |
476
|
|
|
{ |
477
|
|
|
|
478
|
|
|
/** |
479
|
|
|
* @param array $parameter |
480
|
|
|
* |
481
|
|
|
* @return $this |
482
|
|
|
*/ |
483
|
|
|
public function withParameter(array $parameter) |
484
|
|
|
{ |
485
|
|
|
$this->data['Parameter'] = $parameter; |
486
|
|
|
foreach ($parameter as $depth1 => $depth1Value) { |
487
|
|
|
$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code']; |
488
|
|
|
$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
489
|
|
|
} |
490
|
|
|
|
491
|
|
|
return $this; |
492
|
|
|
} |
493
|
|
|
} |
494
|
|
|
|
495
|
|
|
/** |
496
|
|
|
* @method string getProductCode() |
497
|
|
|
* @method $this withProductCode($value) |
498
|
|
|
* @method string getSubscriptionType() |
499
|
|
|
* @method $this withSubscriptionType($value) |
500
|
|
|
* @method string getPageSize() |
501
|
|
|
* @method $this withPageSize($value) |
502
|
|
|
* @method string getBillingCycle() |
503
|
|
|
* @method $this withBillingCycle($value) |
504
|
|
|
* @method string getPageNum() |
505
|
|
|
* @method $this withPageNum($value) |
506
|
|
|
* @method string getProductType() |
507
|
|
|
* @method $this withProductType($value) |
508
|
|
|
*/ |
509
|
|
|
class QueryInstanceGaapCost extends V20171214Rpc |
510
|
|
|
{ |
511
|
|
|
} |
512
|
|
|
|
513
|
|
|
/** |
514
|
|
|
* @method string getProductCode() |
515
|
|
|
* @method $this withProductCode($value) |
516
|
|
|
* @method string getInstanceId() |
517
|
|
|
* @method $this withInstanceId($value) |
518
|
|
|
* @method string getClientToken() |
519
|
|
|
* @method $this withClientToken($value) |
520
|
|
|
* @method string getRenewPeriod() |
521
|
|
|
* @method $this withRenewPeriod($value) |
522
|
|
|
* @method string getOwnerId() |
523
|
|
|
* @method $this withOwnerId($value) |
524
|
|
|
* @method string getProductType() |
525
|
|
|
* @method $this withProductType($value) |
526
|
|
|
*/ |
527
|
|
|
class RenewInstance extends V20171214Rpc |
528
|
|
|
{ |
529
|
|
|
} |
530
|
|
|
|
531
|
|
|
/** |
532
|
|
|
* @method string getQueryTotalCount() |
533
|
|
|
* @method $this withQueryTotalCount($value) |
534
|
|
|
* @method string getPageSize() |
535
|
|
|
* @method $this withPageSize($value) |
536
|
|
|
* @method string getPageNum() |
537
|
|
|
* @method $this withPageNum($value) |
538
|
|
|
*/ |
539
|
|
|
class QueryProductList extends V20171214Rpc |
540
|
|
|
{ |
541
|
|
|
} |
542
|
|
|
|
543
|
|
|
/** |
544
|
|
|
* @method string getProductCode() |
545
|
|
|
* @method $this withProductCode($value) |
546
|
|
|
* @method string getSubscriptionType() |
547
|
|
|
* @method $this withSubscriptionType($value) |
548
|
|
|
* @method string getOwnerId() |
549
|
|
|
* @method $this withOwnerId($value) |
550
|
|
|
* @method string getProductType() |
551
|
|
|
* @method $this withProductType($value) |
552
|
|
|
*/ |
553
|
|
|
class DescribePricingModule extends V20171214Rpc |
554
|
|
|
{ |
555
|
|
|
} |
556
|
|
|
|
557
|
|
|
/** |
558
|
|
|
* @method string getProductCode() |
559
|
|
|
* @method $this withProductCode($value) |
560
|
|
|
* @method string getSubscriptionType() |
561
|
|
|
* @method $this withSubscriptionType($value) |
562
|
|
|
* @method string getPageSize() |
563
|
|
|
* @method $this withPageSize($value) |
564
|
|
|
* @method string getPaymentStatus() |
565
|
|
|
* @method $this withPaymentStatus($value) |
566
|
|
|
* @method string getCreateTimeStart() |
567
|
|
|
* @method $this withCreateTimeStart($value) |
568
|
|
|
* @method string getPageNum() |
569
|
|
|
* @method $this withPageNum($value) |
570
|
|
|
* @method string getOwnerId() |
571
|
|
|
* @method $this withOwnerId($value) |
572
|
|
|
* @method string getCreateTimeEnd() |
573
|
|
|
* @method $this withCreateTimeEnd($value) |
574
|
|
|
* @method string getProductType() |
575
|
|
|
* @method $this withProductType($value) |
576
|
|
|
* @method string getOrderType() |
577
|
|
|
* @method $this withOrderType($value) |
578
|
|
|
*/ |
579
|
|
|
class QueryOrders extends V20171214Rpc |
580
|
|
|
{ |
581
|
|
|
} |
582
|
|
|
|
583
|
|
|
/** |
584
|
|
|
* @method string getOrderId() |
585
|
|
|
* @method $this withOrderId($value) |
586
|
|
|
* @method string getOwnerId() |
587
|
|
|
* @method $this withOwnerId($value) |
588
|
|
|
*/ |
589
|
|
|
class GetOrderDetail extends V20171214Rpc |
590
|
|
|
{ |
591
|
|
|
} |
592
|
|
|
|
593
|
|
|
/** |
594
|
|
|
* @method string getExpiryTimeEnd() |
595
|
|
|
* @method $this withExpiryTimeEnd($value) |
596
|
|
|
* @method string getExpiryTimeStart() |
597
|
|
|
* @method $this withExpiryTimeStart($value) |
598
|
|
|
* @method string getEffectiveOrNot() |
599
|
|
|
* @method $this withEffectiveOrNot($value) |
600
|
|
|
*/ |
601
|
|
|
class QueryCashCoupons extends V20171214Rpc |
602
|
|
|
{ |
603
|
|
|
} |
604
|
|
|
|
605
|
|
|
/** |
606
|
|
|
* @method string getExpiryTimeEnd() |
607
|
|
|
* @method $this withExpiryTimeEnd($value) |
608
|
|
|
* @method string getExpiryTimeStart() |
609
|
|
|
* @method $this withExpiryTimeStart($value) |
610
|
|
|
* @method string getEffectiveOrNot() |
611
|
|
|
* @method $this withEffectiveOrNot($value) |
612
|
|
|
*/ |
613
|
|
|
class QueryPrepaidCards extends V20171214Rpc |
614
|
|
|
{ |
615
|
|
|
} |
616
|
|
|
|
617
|
|
|
class QueryAccountBalance extends V20171214Rpc |
618
|
|
|
{ |
619
|
|
|
} |
620
|
|
|
|
621
|
|
|
/** |
622
|
|
|
* @method string getProductCode() |
623
|
|
|
* @method $this withProductCode($value) |
624
|
|
|
* @method string getInstanceIDs() |
625
|
|
|
* @method $this withInstanceIDs($value) |
626
|
|
|
* @method string getSubscriptionType() |
627
|
|
|
* @method $this withSubscriptionType($value) |
628
|
|
|
* @method string getRenewalStatus() |
629
|
|
|
* @method $this withRenewalStatus($value) |
630
|
|
|
* @method string getRenewalPeriodUnit() |
631
|
|
|
* @method $this withRenewalPeriodUnit($value) |
632
|
|
|
* @method string getRenewalPeriod() |
633
|
|
|
* @method $this withRenewalPeriod($value) |
634
|
|
|
* @method string getOwnerId() |
635
|
|
|
* @method $this withOwnerId($value) |
636
|
|
|
* @method string getProductType() |
637
|
|
|
* @method $this withProductType($value) |
638
|
|
|
*/ |
639
|
|
|
class SetRenewal extends V20171214Rpc |
640
|
|
|
{ |
641
|
|
|
} |
642
|
|
|
|
643
|
|
|
/** |
644
|
|
|
* @method string getProductCode() |
645
|
|
|
* @method $this withProductCode($value) |
646
|
|
|
* @method string getSubscriptionType() |
647
|
|
|
* @method $this withSubscriptionType($value) |
648
|
|
|
* @method string getOwnerId() |
649
|
|
|
* @method $this withOwnerId($value) |
650
|
|
|
* @method string getPageNum() |
651
|
|
|
* @method $this withPageNum($value) |
652
|
|
|
* @method string getEndTimeStart() |
653
|
|
|
* @method $this withEndTimeStart($value) |
654
|
|
|
* @method string getProductType() |
655
|
|
|
* @method $this withProductType($value) |
656
|
|
|
* @method string getCreateTimeEnd() |
657
|
|
|
* @method $this withCreateTimeEnd($value) |
658
|
|
|
* @method string getInstanceIDs() |
659
|
|
|
* @method $this withInstanceIDs($value) |
660
|
|
|
* @method string getEndTimeEnd() |
661
|
|
|
* @method $this withEndTimeEnd($value) |
662
|
|
|
* @method string getPageSize() |
663
|
|
|
* @method $this withPageSize($value) |
664
|
|
|
* @method string getCreateTimeStart() |
665
|
|
|
* @method $this withCreateTimeStart($value) |
666
|
|
|
* @method string getRegion() |
667
|
|
|
* @method $this withRegion($value) |
668
|
|
|
* @method string getRenewStatus() |
669
|
|
|
* @method $this withRenewStatus($value) |
670
|
|
|
*/ |
671
|
|
|
class QueryAvailableInstances extends V20171214Rpc |
672
|
|
|
{ |
673
|
|
|
} |
674
|
|
|
|
675
|
|
|
/** |
676
|
|
|
* @method string getProductCode() |
677
|
|
|
* @method $this withProductCode($value) |
678
|
|
|
*/ |
679
|
|
|
class DescribeResourcePackageProduct extends V20171214Rpc |
680
|
|
|
{ |
681
|
|
|
} |
682
|
|
|
|
683
|
|
|
/** |
684
|
|
|
* @method string getExpiryTimeEnd() |
685
|
|
|
* @method $this withExpiryTimeEnd($value) |
686
|
|
|
* @method string getProductCode() |
687
|
|
|
* @method $this withProductCode($value) |
688
|
|
|
* @method string getPageSize() |
689
|
|
|
* @method $this withPageSize($value) |
690
|
|
|
* @method string getOwnerId() |
691
|
|
|
* @method $this withOwnerId($value) |
692
|
|
|
* @method string getExpiryTimeStart() |
693
|
|
|
* @method $this withExpiryTimeStart($value) |
694
|
|
|
* @method string getPageNum() |
695
|
|
|
* @method $this withPageNum($value) |
696
|
|
|
*/ |
697
|
|
|
class QueryResourcePackageInstances extends V20171214Rpc |
698
|
|
|
{ |
699
|
|
|
} |
700
|
|
|
|
701
|
|
|
/** |
702
|
|
|
* @method string getDuration() |
703
|
|
|
* @method $this withDuration($value) |
704
|
|
|
* @method string getProductCode() |
705
|
|
|
* @method $this withProductCode($value) |
706
|
|
|
* @method string getSpecification() |
707
|
|
|
* @method $this withSpecification($value) |
708
|
|
|
* @method string getOwnerId() |
709
|
|
|
* @method $this withOwnerId($value) |
710
|
|
|
* @method string getPackageType() |
711
|
|
|
* @method $this withPackageType($value) |
712
|
|
|
* @method string getEffectiveDate() |
713
|
|
|
* @method $this withEffectiveDate($value) |
714
|
|
|
* @method string getPricingCycle() |
715
|
|
|
* @method $this withPricingCycle($value) |
716
|
|
|
*/ |
717
|
|
|
class GetResourcePackagePrice extends V20171214Rpc |
718
|
|
|
{ |
719
|
|
|
} |
720
|
|
|
|
721
|
|
|
/** |
722
|
|
|
* @method string getDuration() |
723
|
|
|
* @method $this withDuration($value) |
724
|
|
|
* @method string getProductCode() |
725
|
|
|
* @method $this withProductCode($value) |
726
|
|
|
* @method string getSpecification() |
727
|
|
|
* @method $this withSpecification($value) |
728
|
|
|
* @method string getOwnerId() |
729
|
|
|
* @method $this withOwnerId($value) |
730
|
|
|
* @method string getPackageType() |
731
|
|
|
* @method $this withPackageType($value) |
732
|
|
|
* @method string getEffectiveDate() |
733
|
|
|
* @method $this withEffectiveDate($value) |
734
|
|
|
* @method string getPricingCycle() |
735
|
|
|
* @method $this withPricingCycle($value) |
736
|
|
|
*/ |
737
|
|
|
class CreateResourcePackage extends V20171214Rpc |
738
|
|
|
{ |
739
|
|
|
} |
740
|
|
|
|
741
|
|
|
/** |
742
|
|
|
* @method string getProductCode() |
743
|
|
|
* @method $this withProductCode($value) |
744
|
|
|
* @method string getIsHideZeroCharge() |
745
|
|
|
* @method $this withIsHideZeroCharge($value) |
746
|
|
|
* @method string getSubscriptionType() |
747
|
|
|
* @method $this withSubscriptionType($value) |
748
|
|
|
* @method string getPageSize() |
749
|
|
|
* @method $this withPageSize($value) |
750
|
|
|
* @method string getEndTime() |
751
|
|
|
* @method $this withEndTime($value) |
752
|
|
|
* @method string getBillingCycle() |
753
|
|
|
* @method $this withBillingCycle($value) |
754
|
|
|
* @method string getStartTime() |
755
|
|
|
* @method $this withStartTime($value) |
756
|
|
|
* @method string getOwnerId() |
757
|
|
|
* @method $this withOwnerId($value) |
758
|
|
|
* @method string getPageNum() |
759
|
|
|
* @method $this withPageNum($value) |
760
|
|
|
* @method string getType() |
761
|
|
|
* @method $this withType($value) |
762
|
|
|
* @method string getProductType() |
763
|
|
|
* @method $this withProductType($value) |
764
|
|
|
*/ |
765
|
|
|
class QuerySettlementBill extends V20171214Rpc |
766
|
|
|
{ |
767
|
|
|
} |
768
|
|
|
|
769
|
|
|
class QueryUserValueCard extends V20171214Rpc |
770
|
|
|
{ |
771
|
|
|
} |
772
|
|
|
|
773
|
|
|
class QueryUserCoupon extends V20171214Rpc |
774
|
|
|
{ |
775
|
|
|
} |
776
|
|
|
|
777
|
|
|
class QueryUserAvailableCreditAmount extends V20171214Rpc |
778
|
|
|
{ |
779
|
|
|
} |
780
|
|
|
|
781
|
|
|
/** |
782
|
|
|
* @method string getServicePeriodQuantity() |
783
|
|
|
* @method $this withServicePeriodQuantity($value) |
784
|
|
|
* @method string getProductCode() |
785
|
|
|
* @method $this withProductCode($value) |
786
|
|
|
* @method string getInstanceId() |
787
|
|
|
* @method $this withInstanceId($value) |
788
|
|
|
* @method string getQuantity() |
789
|
|
|
* @method $this withQuantity($value) |
790
|
|
|
* @method string getServicePeriodUnit() |
791
|
|
|
* @method $this withServicePeriodUnit($value) |
792
|
|
|
* @method string getSubscriptionType() |
793
|
|
|
* @method $this withSubscriptionType($value) |
794
|
|
|
* @method array getModuleList() |
795
|
|
|
* @method string getOwnerId() |
796
|
|
|
* @method $this withOwnerId($value) |
797
|
|
|
* @method string getRegion() |
798
|
|
|
* @method $this withRegion($value) |
799
|
|
|
* @method string getOrderType() |
800
|
|
|
* @method $this withOrderType($value) |
801
|
|
|
* @method string getProductType() |
802
|
|
|
* @method $this withProductType($value) |
803
|
|
|
*/ |
804
|
|
|
class GetSubscriptionPrice extends V20171214Rpc |
805
|
|
|
{ |
806
|
|
|
|
807
|
|
|
/** |
808
|
|
|
* @param array $moduleList |
809
|
|
|
* |
810
|
|
|
* @return $this |
811
|
|
|
*/ |
812
|
|
|
public function withModuleList(array $moduleList) |
813
|
|
|
{ |
814
|
|
|
$this->data['ModuleList'] = $moduleList; |
815
|
|
|
foreach ($moduleList as $depth1 => $depth1Value) { |
816
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode']; |
817
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleStatus'] = $depth1Value['ModuleStatus']; |
818
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag']; |
819
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config']; |
820
|
|
|
} |
821
|
|
|
|
822
|
|
|
return $this; |
823
|
|
|
} |
824
|
|
|
} |
825
|
|
|
|
826
|
|
|
/** |
827
|
|
|
* @method string getProductCode() |
828
|
|
|
* @method $this withProductCode($value) |
829
|
|
|
* @method string getSubscriptionType() |
830
|
|
|
* @method $this withSubscriptionType($value) |
831
|
|
|
* @method array getModuleList() |
832
|
|
|
* @method string getOwnerId() |
833
|
|
|
* @method $this withOwnerId($value) |
834
|
|
|
* @method string getRegion() |
835
|
|
|
* @method $this withRegion($value) |
836
|
|
|
* @method string getProductType() |
837
|
|
|
* @method $this withProductType($value) |
838
|
|
|
*/ |
839
|
|
|
class GetPayAsYouGoPrice extends V20171214Rpc |
840
|
|
|
{ |
841
|
|
|
|
842
|
|
|
/** |
843
|
|
|
* @param array $moduleList |
844
|
|
|
* |
845
|
|
|
* @return $this |
846
|
|
|
*/ |
847
|
|
|
public function withModuleList(array $moduleList) |
848
|
|
|
{ |
849
|
|
|
$this->data['ModuleList'] = $moduleList; |
850
|
|
|
foreach ($moduleList as $depth1 => $depth1Value) { |
851
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode']; |
852
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.PriceType'] = $depth1Value['PriceType']; |
853
|
|
|
$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config']; |
854
|
|
|
} |
855
|
|
|
|
856
|
|
|
return $this; |
857
|
|
|
} |
858
|
|
|
} |
859
|
|
|
|
860
|
|
|
/** |
861
|
|
|
* @method string getProductCode() |
862
|
|
|
* @method $this withProductCode($value) |
863
|
|
|
* @method string getInstanceIDs() |
864
|
|
|
* @method $this withInstanceIDs($value) |
865
|
|
|
* @method string getSubscriptionType() |
866
|
|
|
* @method $this withSubscriptionType($value) |
867
|
|
|
* @method string getRenewalStatus() |
868
|
|
|
* @method $this withRenewalStatus($value) |
869
|
|
|
* @method string getRenewalPeriodUnit() |
870
|
|
|
* @method $this withRenewalPeriodUnit($value) |
871
|
|
|
* @method string getRenewalPeriod() |
872
|
|
|
* @method $this withRenewalPeriod($value) |
873
|
|
|
* @method string getOwnerId() |
874
|
|
|
* @method $this withOwnerId($value) |
875
|
|
|
* @method string getProductType() |
876
|
|
|
* @method $this withProductType($value) |
877
|
|
|
*/ |
878
|
|
|
class SetRenewalApi extends V20171214Rpc |
879
|
|
|
{ |
880
|
|
|
} |
881
|
|
|
|
882
|
|
|
/** |
883
|
|
|
* @method string getProductCode() |
884
|
|
|
* @method $this withProductCode($value) |
885
|
|
|
* @method string getSubscriptionType() |
886
|
|
|
* @method $this withSubscriptionType($value) |
887
|
|
|
* @method string getPageSize() |
888
|
|
|
* @method $this withPageSize($value) |
889
|
|
|
* @method string getBillingCycle() |
890
|
|
|
* @method $this withBillingCycle($value) |
891
|
|
|
* @method string getOwnerId() |
892
|
|
|
* @method $this withOwnerId($value) |
893
|
|
|
* @method string getPageNum() |
894
|
|
|
* @method $this withPageNum($value) |
895
|
|
|
* @method string getProductType() |
896
|
|
|
* @method $this withProductType($value) |
897
|
|
|
*/ |
898
|
|
|
class QueryMonthlyInstanceConsumption extends V20171214Rpc |
899
|
|
|
{ |
900
|
|
|
} |
901
|
|
|
|
902
|
|
|
/** |
903
|
|
|
* @method string getBillingCycle() |
904
|
|
|
* @method $this withBillingCycle($value) |
905
|
|
|
*/ |
906
|
|
|
class QueryMonthlyBill extends V20171214Rpc |
907
|
|
|
{ |
908
|
|
|
} |
909
|
|
|
|
910
|
|
|
/** |
911
|
|
|
* @method string getProductCode() |
912
|
|
|
* @method $this withProductCode($value) |
913
|
|
|
* @method string getInstanceIDs() |
914
|
|
|
* @method $this withInstanceIDs($value) |
915
|
|
|
* @method string getSubscriptionType() |
916
|
|
|
* @method $this withSubscriptionType($value) |
917
|
|
|
* @method string getRenewalPeriodUnit() |
918
|
|
|
* @method $this withRenewalPeriodUnit($value) |
919
|
|
|
* @method string getRenewalPeriod() |
920
|
|
|
* @method $this withRenewalPeriod($value) |
921
|
|
|
* @method string getIsAutoRenewal() |
922
|
|
|
* @method $this withIsAutoRenewal($value) |
923
|
|
|
* @method string getOwnerId() |
924
|
|
|
* @method $this withOwnerId($value) |
925
|
|
|
* @method string getProductType() |
926
|
|
|
* @method $this withProductType($value) |
927
|
|
|
*/ |
928
|
|
|
class SetAutoRenewalApi extends V20171214Rpc |
929
|
|
|
{ |
930
|
|
|
} |
931
|
|
|
|
932
|
|
|
/** |
933
|
|
|
* @method string getProductCode() |
934
|
|
|
* @method $this withProductCode($value) |
935
|
|
|
* @method string getSubscriptionType() |
936
|
|
|
* @method $this withSubscriptionType($value) |
937
|
|
|
* @method string getOwnerId() |
938
|
|
|
* @method $this withOwnerId($value) |
939
|
|
|
* @method string getPageNum() |
940
|
|
|
* @method $this withPageNum($value) |
941
|
|
|
* @method string getEndTimeStart() |
942
|
|
|
* @method $this withEndTimeStart($value) |
943
|
|
|
* @method string getProductType() |
944
|
|
|
* @method $this withProductType($value) |
945
|
|
|
* @method string getCreateTimeEnd() |
946
|
|
|
* @method $this withCreateTimeEnd($value) |
947
|
|
|
* @method string getInstanceIDs() |
948
|
|
|
* @method $this withInstanceIDs($value) |
949
|
|
|
* @method string getEndTimeEnd() |
950
|
|
|
* @method $this withEndTimeEnd($value) |
951
|
|
|
* @method string getPageSize() |
952
|
|
|
* @method $this withPageSize($value) |
953
|
|
|
* @method string getCreateTimeStart() |
954
|
|
|
* @method $this withCreateTimeStart($value) |
955
|
|
|
* @method string getRegion() |
956
|
|
|
* @method $this withRegion($value) |
957
|
|
|
* @method string getRenewStatus() |
958
|
|
|
* @method $this withRenewStatus($value) |
959
|
|
|
*/ |
960
|
|
|
class QueryAvailableInstancesApi extends V20171214Rpc |
961
|
|
|
{ |
962
|
|
|
} |
963
|
|
|
|
964
|
|
|
/** |
965
|
|
|
* @method string getProductCode() |
966
|
|
|
* @method $this withProductCode($value) |
967
|
|
|
* @method string getInstanceIDs() |
968
|
|
|
* @method $this withInstanceIDs($value) |
969
|
|
|
* @method string getSubscriptionType() |
970
|
|
|
* @method $this withSubscriptionType($value) |
971
|
|
|
* @method string getOwnerId() |
972
|
|
|
* @method $this withOwnerId($value) |
973
|
|
|
* @method string getProductType() |
974
|
|
|
* @method $this withProductType($value) |
975
|
|
|
*/ |
976
|
|
|
class SetNotRenewalApi extends V20171214Rpc |
977
|
|
|
{ |
978
|
|
|
} |
979
|
|
|
|