public function all($params = [], array $options = array())
  {
    list($code, $deals) = $this->httpClient->get("/deals", $params, $options);
    if (isset($options['raw']) && $options['raw']) {
      return $deals;
    }
    $dealsData = array_map(array($this, 'coerceNestedDealData'), $deals);
    return $dealsData;
  }