- Lịch sử thanh toán hoá đơn trả thêm `method` (tự động gia hạn / số dư / admin / chuyển khoản / hoàn tiền), bỏ đuôi `(method)` khỏi ghi chú - `DnsServer::panelUrl()` = https://<domain>/ dùng cho email cấp hosting và nút Plesk của khách - Order item trả thêm `uuid`/`type` của dịch vụ để FE dẫn tới trang quản lý - Yêu cầu huỷ dịch vụ, chứng chỉ SSL, lịch sử gia hạn, đổi mật khẩu hosting cho khách Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
574 B
PHP
20 lines
574 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Api\ServiceClient;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface ServiceClientRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
/**
|
|
* Lấy danh sách sản phẩm đang hoạt động
|
|
*/
|
|
public function getActiveServices(int $customerId, ?string $productType = null, ?int $limit = 10, ?string $group = null);
|
|
|
|
public function findActiveBySlug(string $slug);
|
|
|
|
public function getPricing(int $productId, string $billingCycle);
|
|
|
|
public function getDetailService(string $uuid, int $customerId);
|
|
}
|