18 lines
422 B
PHP
18 lines
422 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Api\Service;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface ServiceRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
/**
|
|
* Lấy danh sách sản phẩm đang hoạt động
|
|
*/
|
|
public function getActiveServices(int $limit = 10);
|
|
|
|
public function findActiveBySlug(string $slug);
|
|
|
|
public function getPricing(int $productId, string $billingCycle);
|
|
}
|