![]() 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 PrivateProductRepositoryInterface { /** * Save PrivateProduct * * @param \Webkul\PrivateShop\Api\Data\PrivateProductInterface $privateProduct * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function save( \Webkul\PrivateShop\Api\Data\PrivateProductInterface $privateProduct ); /** * Retrieve PrivateProduct * * @param string $privateproductId * @return \Webkul\PrivateShop\Api\Data\PrivateProductInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function getById($privateproductId); /** * Retrieve PrivateProduct matching the specified criteria. * * @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria * @return \Webkul\PrivateShop\Api\Data\PrivateProductSearchResultsInterface * @throws \Magento\Framework\Exception\LocalizedException */ public function getList( \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria ); /** * Delete PrivateProduct * * @param \Webkul\PrivateShop\Api\Data\PrivateProductInterface $privateProduct * @return bool true on success * @throws \Magento\Framework\Exception\LocalizedException */ public function delete( \Webkul\PrivateShop\Api\Data\PrivateProductInterface $privateProduct ); /** * Delete PrivateProduct by ID * * @param string $privateproductId * @return bool true on success * @throws \Magento\Framework\Exception\NoSuchEntityException * @throws \Magento\Framework\Exception\LocalizedException */ public function deleteById($privateproductId); }