| 1 | <?php |
||
| 13 | class AccountsClient extends ManagementClient |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Get accounts |
||
| 18 | * |
||
| 19 | * @see http://api.yandex.ru/metrika/doc/beta/management/accounts/accounts.xml |
||
| 20 | * |
||
| 21 | * @return null|Models\Accounts |
||
| 22 | */ |
||
| 23 | 6 | public function getAccounts() |
|
| 31 | |||
| 32 | |||
| 33 | /** |
||
| 34 | * Update accounts |
||
| 35 | * |
||
| 36 | * @see http://api.yandex.ru/metrika/doc/beta/management/accounts/updateaccounts.xml |
||
| 37 | * |
||
| 38 | * @param Models\Accounts $accounts |
||
| 39 | * @return null|Models\Account |
||
| 40 | */ |
||
| 41 | 1 | public function updateAccounts(Models\Accounts $accounts) |
|
| 48 | |||
| 49 | |||
| 50 | /** |
||
| 51 | * Delete account |
||
| 52 | * |
||
| 53 | * @see http://api.yandex.ru/metrika/doc/beta/management/accounts/deleteaccountold.xml |
||
| 54 | * |
||
| 55 | * @param string $userLogin |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 1 | public function deleteAccount($userLogin) |
|
| 64 | } |
||
| 65 |