1 | <?php |
||
12 | class ContactsRequest |
||
13 | { |
||
14 | /** |
||
15 | * @param Mailxpert $mailxpert |
||
16 | * @param array $params |
||
17 | * |
||
18 | * @return \Mailxpert\MailxpertResponse |
||
19 | * @throws MailxpertSDKResponseException |
||
20 | */ |
||
21 | public static function get(Mailxpert $mailxpert, array $params = []) |
||
31 | /** |
||
32 | * @param Mailxpert $mailxpert |
||
33 | * @param int $id |
||
34 | * @param array $params |
||
35 | * |
||
36 | * @return \Mailxpert\MailxpertResponse |
||
37 | * @throws MailxpertSDKResponseException |
||
38 | */ |
||
39 | public static function getOne(Mailxpert $mailxpert, $id, array $params = []) |
||
49 | |||
50 | /** |
||
51 | * @param Mailxpert $mailxpert |
||
52 | * @param array $params |
||
53 | * |
||
54 | * @return \Mailxpert\MailxpertResponse |
||
55 | * @throws MailxpertSDKResponseException |
||
56 | */ |
||
57 | public static function post(Mailxpert $mailxpert, array $params) |
||
67 | |||
68 | /** |
||
69 | * @param Mailxpert $mailxpert |
||
70 | * @param int $id |
||
71 | * |
||
72 | * @return \Mailxpert\MailxpertResponse |
||
73 | * @throws MailxpertSDKResponseException |
||
74 | */ |
||
75 | public static function subscribe(Mailxpert $mailxpert, $id) |
||
85 | |||
86 | /** |
||
87 | * @param Mailxpert $mailxpert |
||
88 | * @param string $id |
||
89 | * @param array $params |
||
90 | * |
||
91 | * @return \Mailxpert\MailxpertResponse |
||
92 | * @throws MailxpertSDKResponseException |
||
93 | */ |
||
94 | public static function patch(Mailxpert $mailxpert, $id, array $params) |
||
104 | |||
105 | /** |
||
106 | * @param Mailxpert $mailxpert |
||
107 | * @param string $id |
||
108 | * |
||
109 | * @return \Mailxpert\MailxpertResponse |
||
110 | * @throws MailxpertSDKResponseException |
||
111 | */ |
||
112 | public static function delete(Mailxpert $mailxpert, $id) |
||
122 | } |
||
123 |