1 | <?php |
||
16 | class Plan extends Api |
||
17 | { |
||
18 | /** |
||
19 | * Available plans (permission needed: #billing:read) |
||
20 | * List all plans the zone can subscribe to. |
||
21 | * |
||
22 | * @param string $zone_identifier |
||
23 | */ |
||
24 | public function available($zone_identifier) |
||
28 | |||
29 | /** |
||
30 | * Available plans (permission needed: #billing:read) |
||
31 | * |
||
32 | * @param string $zone_identifier |
||
33 | * @param string $identifier API item identifier tag |
||
34 | */ |
||
35 | public function details($zone_identifier, $identifier) |
||
39 | |||
40 | /** |
||
41 | * Change plan (permission needed: #billing:edit) |
||
42 | * Change the plan level for the zone. This will cancel any previous subscriptions and subscribe the zone to the new plan. |
||
43 | * |
||
44 | * @param string $zone_identifier |
||
45 | * @param string $identifier API item identifier tag |
||
46 | */ |
||
47 | public function change($zone_identifier, $identifier) |
||
51 | } |
||
52 |