* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @link https://www.temando.com/ */ class PickupLocationSearchRequest extends AbstractModel implements PickupLocationSearchRequestInterface { /** * Init resource model. * @return void */ protected function _construct() { parent::_construct(); $this->_init(SearchRequestResource::class); } /** * @return int */ public function getShippingAddressId() { return $this->getData(PickupLocationSearchRequestInterface::SHIPPING_ADDRESS_ID); } /** * @return bool */ public function isActive() { return $this->getData(PickupLocationSearchRequestInterface::ACTIVE); } }