* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShopBundle\Api\Resource; /** * DTO used to get necessary informations when request the API about hook status * * @experimental */ class HookStatus { /** * @var int */ private $id; /** * @var bool */ private $isActive; /** * @return int */ public function getId(): int { return $this->id; } /** * @param int $id */ public function setId(int $id): void { $this->id = $id; } /** * @return bool */ public function isActive(): bool { return $this->isActive; } /** * @param bool $isActive */ public function setActive(bool $isActive): void { $this->isActive = $isActive; } }