/**
  * @param int $id
  * @return bool
  */
 public function accept($id)
 {
     $endpoint = new Accept($this->getTransport());
     $endpoint->setId($id);
     try {
         $result = $endpoint->performRequest();
     } catch (ResourceNotFoundException $e) {
         return false;
     }
     return $result['status'] == 204;
 }