1 | <?php |
||
7 | class Recipient extends Base |
||
8 | { |
||
9 | /** |
||
10 | * @param string $uuid |
||
11 | * @return array|null |
||
12 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
13 | */ |
||
14 | public function getRecipient(string $uuid): ?array |
||
18 | |||
19 | /** |
||
20 | * @param array $data |
||
21 | * @return array|null |
||
22 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
23 | * @throws \Fenerum\API\Exceptions\FenerumValidationException |
||
24 | */ |
||
25 | public function createRecipient(array $data): ?array |
||
38 | |||
39 | /** |
||
40 | * @param array $data |
||
41 | * @param string $uuid |
||
42 | * @return array|null |
||
43 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
44 | * @throws \Fenerum\API\Exceptions\FenerumValidationException |
||
45 | */ |
||
46 | public function updateRecipient(array $data, string $uuid): ?array |
||
59 | |||
60 | /** |
||
61 | * @param string $uuid |
||
62 | * @return array|null |
||
63 | * @throws \Fenerum\API\Exceptions\FenerumApiException |
||
64 | */ |
||
65 | public function deleteRecipient(string $uuid): ?array |
||
69 | } |
||
70 |