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