| 1 | <?php |
||
| 11 | class Future extends CreateCommand |
||
| 12 | { |
||
| 13 | use PeriodTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Set domain name for future (option) |
||
| 17 | * |
||
| 18 | * @param string $domain Domain Name |
||
| 19 | * |
||
| 20 | * @throws Exception on incorrect domain name |
||
| 21 | */ |
||
| 22 | public function setFuture($domain) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set future period |
||
| 33 | * |
||
| 34 | * Set period for which to create Future. Usually that will be 3y |
||
| 35 | * |
||
| 36 | * @param string $period Period ending with with y or m |
||
| 37 | */ |
||
| 38 | public function setPeriod($period) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Set future registrant |
||
| 45 | * |
||
| 46 | * @param string $registrant registrant ContactID |
||
| 47 | */ |
||
| 48 | public function setRegistrant($registrant) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Set future AuthInfo, generate if passed null |
||
| 55 | * |
||
| 56 | * @param string $pw AuthInfo code |
||
| 57 | * |
||
| 58 | * @return string AuthInfo code |
||
| 59 | */ |
||
| 60 | public function setAuthInfo($pw = null) |
||
| 70 | } |
||
| 71 |