![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/app/code/Webkul/PrivateShop/Api/ |
<?php /** * Webkul Software * * @category Webkul * @package Webkul_PrivateShop * @author Webkul Software Private Limited * @copyright Webkul Software Private Limited (https://webkul.com) * @license https://store.webkul.com/license.html */ namespace Webkul\PrivateShop\Api; use Magento\Framework\Api\SearchCriteriaInterface; interface PrivateGroupRepositoryInterface { /** * Save PrivateGroup * * @param \Webkul\PrivateShop\Api\Data\PrivateGroupInterface $privateGroup * @return \Webkul\PrivateShop\Api\Data\PrivateGroupInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function save( \Webkul\PrivateShop\Api\Data\PrivateGroupInterface $privateGroup ); /** * Retrieve PrivateGroup * * @param string $privategroupId * @return \Webkul\PrivateShop\Api\Data\PrivateGroupInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function getById($privategroupId); /** * Retrieve PrivateGroup matching the specified criteria. * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Webkul\PrivateShop\Api\Data\PrivateGroupSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function getList( \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria ); /** * Delete PrivateGroup * * @param \Webkul\PrivateShop\Api\Data\PrivateGroupInterface $privateGroup * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException */ public function delete( \Webkul\PrivateShop\Api\Data\PrivateGroupInterface $privateGroup ); /** * Delete PrivateGroup by ID * * @param string $privategroupId * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException */ public function deleteById($privategroupId); }