* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class SearchRequest extends DataObject implements SearchRequestInterface { /** * @return int */ public function getShippingAddressId() { return $this->getData(SearchRequestInterface::SHIPPING_ADDRESS_ID); } /** * @return string */ public function getCountryId() { return $this->getData(SearchRequestInterface::COUNTRY_ID); } /** * @return string */ public function getPostcode() { return $this->getData(SearchRequestInterface::POSTCODE); } /** * @return bool */ public function isPending() { return (bool)$this->getData(SearchRequestInterface::PENDING); } }