Advertisement
X1ucifer

Untitled

Nov 17th, 2022
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.38 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Repositories\Interfaces\Admin\Product;
  4.  
  5. interface ProductInterface
  6. {
  7.     public function get($id);
  8.  
  9.     public function productBydifference($category_id);
  10.  
  11.     public function getByLang($id, $request);
  12.  
  13.     public function all();
  14.  
  15.     public function paginate($request, $status, $limit, $product_for);
  16.  
  17.     public function store($request);
  18.  
  19.     public function update($request);
  20.  
  21.     public function statusChange($request);
  22.  
  23.     public function restore($id);
  24.  
  25.     public function productStatusChange($status,$id);
  26.  
  27.     public function productView($request);
  28.  
  29.     //for api
  30.     public function todayDeals();
  31.  
  32.     public function bestSelling();
  33.  
  34.     public function offerEndingSoon($limit);
  35.  
  36.     public function viewedProduct();
  37.  
  38.     public function relatedProducts($id,$take,$product_id);
  39.  
  40.     public function categoryProducts($slug);
  41.  
  42.     public function productDetails($slug);
  43.  
  44.     public function dailyDeals($paginate);
  45.  
  46.     public function productByCampaign($campaign_id,$paginate=null);
  47.  
  48.     public function filterProduct($data);
  49.  
  50.     public function productByOffer();
  51.  
  52.     public function productByBestSelling($limit = null);
  53.  
  54.     public function productByGadget($slug);
  55.  
  56.     public function addToCompare($id);
  57.  
  58.     public function compareList();
  59.  
  60.     public function compareProducts();
  61.  
  62.     public function productByIds($ids);
  63.  
  64.     public function removeCompareProduct($id);
  65.  
  66.     public function featuredProducts($ids);
  67.  
  68.     public function newProducts($user_id);
  69.  
  70.     public function sellerBestSelling($user_id);
  71.  
  72.     public function sellerOfferEnding($user_id);
  73.  
  74.     public function sellerProducts($user_id);
  75.  
  76.     public function priceRange();
  77.  
  78.     public function searchProduct($key);
  79.     //api end
  80.  
  81.     //mobileAPI
  82.     public function getLatestProducts($number,$data);
  83.  
  84.     public function getTopProducts($limit);
  85.  
  86.     public function bestRatedProducts($limit);
  87.  
  88.     public function flashDeals($limit);
  89.  
  90.     public function brandProducts($id,$limit);
  91.  
  92.     public function categoryByProducts($id, $limit);
  93.  
  94.     public function shopProducts($user_id, $limit);
  95.  
  96.     public function search($key, $paginate);
  97.  
  98.     public function wishlistsProduct($user_id,$limit);
  99.  
  100.     public function viewedProducts($user,$paginate);
  101.  
  102.     public function adminProducts($id);
  103.  
  104.     public function productFilter($request);
  105. }
  106.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement