| 1 | <?php |
||
| 18 | final class VCards extends Service |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Создает виртуальные визитки. |
||
| 22 | * |
||
| 23 | * @param $VCards |
||
| 24 | * @return array |
||
| 25 | * |
||
| 26 | * @throws Exception |
||
| 27 | * @throws \Exception |
||
| 28 | * |
||
| 29 | * @see https://tech.yandex.ru/direct/doc/ref-v5/vcards/add-docpage/ |
||
| 30 | */ |
||
| 31 | public function add($VCards) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Удаляет виртуальные визитки. |
||
| 43 | * |
||
| 44 | * @param $SelectionCriteria |
||
| 45 | * @return array |
||
| 46 | * |
||
| 47 | * @throws Exception |
||
| 48 | * @throws \Yandex\Direct\Exception\ErrorResponseException |
||
| 49 | * |
||
| 50 | * @see https://tech.yandex.ru/direct/doc/ref-v5/vcards/delete-docpage/ |
||
| 51 | */ |
||
| 52 | public function delete($SelectionCriteria) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Возвращает виртуальные визитки, отвечающие заданным критериям. |
||
| 64 | * |
||
| 65 | * @param $SelectionCriteria |
||
| 66 | * @param $FieldNames |
||
| 67 | * @param $Page |
||
| 68 | * @return array |
||
| 69 | * |
||
| 70 | * @throws Exception |
||
| 71 | * @throws \Yandex\Direct\Exception\ErrorResponseException |
||
| 72 | * @throws \ReflectionException |
||
| 73 | * |
||
| 74 | * @see https://tech.yandex.ru/direct/doc/ref-v5/vcards/get-docpage/ |
||
| 75 | */ |
||
| 76 | public function get($SelectionCriteria, $FieldNames, $Page = null) |
||
| 85 | } |
||
| 86 |