diff --git a/app/code/Magento/Store/Api/Data/StoreInterface.php b/app/code/Magento/Store/Api/Data/StoreInterface.php index 7d9070fdc4969..0f724a23fc096 100644 --- a/app/code/Magento/Store/Api/Data/StoreInterface.php +++ b/app/code/Magento/Store/Api/Data/StoreInterface.php @@ -66,6 +66,17 @@ public function setWebsiteId($websiteId); */ public function getStoreGroupId(); + /** + * @param int $isActive + * @return $this + */ + public function setIsActive($isActive); + + /** + * @return int + */ + public function getIsActive(); + /** * @param int $storeGroupId * @return $this diff --git a/app/code/Magento/Store/Model/Store.php b/app/code/Magento/Store/Model/Store.php index 06b04603d483b..34d338b1b3448 100644 --- a/app/code/Magento/Store/Model/Store.php +++ b/app/code/Magento/Store/Model/Store.php @@ -27,7 +27,6 @@ * @method int getSortOrder() * @method int getStoreId() * @method Store setSortOrder($value) - * @method Store setIsActive($value) * * @SuppressWarnings(PHPMD.TooManyFields) * @SuppressWarnings(PHPMD.ExcessiveClassComplexity) @@ -1088,6 +1087,22 @@ public function setStoreGroupId($storeGroupId) return $this->setGroupId($storeGroupId); } + /** + * @inheritdoc + */ + public function getIsActive() + { + return $this->_getData('is_active'); + } + + /** + * @inheritdoc + */ + public function setIsActive($isActive) + { + return $this->setData('is_active', $isActive); + } + /** * Retrieve default group identifier *