Example #1
0
 public function findRealtyCategories()
 {
     $response = $this->api->callRealtyCategories($this->params);
     $return = $this->wrapper->transformRealtyCategories($response);
     $this->clear();
     return $return;
 }
 public function send()
 {
     $this->api->postRealtyInquiry(array($this->mapper->getFilterPropertyName('realtyId') => $this->getRealtyId(), $this->mapper->getFilterPropertyName('firstName') => $this->getFirstName(), $this->mapper->getFilterPropertyName('lastName') => $this->getLastName(), $this->mapper->getFilterPropertyName('email') => $this->getEmail(), $this->mapper->getFilterPropertyName('phone') => $this->getPhone(), $this->mapper->getFilterPropertyName('message') => $this->getMessage(), $this->mapper->getFilterPropertyName('street') => $this->getStreet(), $this->mapper->getFilterPropertyName('zipCode') => $this->getZipCode(), $this->mapper->getFilterPropertyName('city') => $this->getCity(), $this->mapper->getFilterPropertyName('country') => $this->getCountry(), $this->mapper->getFilterPropertyName('title') => $this->getTitle(), $this->mapper->getFilterPropertyName('salutationId') => $this->getSalutationId()));
 }