| 1 | <?php |
||
| 9 | class Negotiations extends Endpoint |
||
| 10 | { |
||
| 11 | const RESOURCE = 'negotiations'; |
||
| 12 | |||
| 13 | use HasView, HasAll, InvitedNegotiations; |
||
| 14 | |||
| 15 | public function active(array $pagination = []) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $id |
||
| 22 | * @param array $pagination |
||
| 23 | * @return array |
||
| 24 | */ |
||
| 25 | public function messages($id, array $pagination = []) |
||
| 29 | |||
| 30 | |||
| 31 | public function view($negotiationId) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param int $id |
||
| 38 | * @param string $message |
||
| 39 | * @return mixed |
||
| 40 | */ |
||
| 41 | public function message($id, $message) |
||
| 45 | } |