13 lines
484 B
C#
13 lines
484 B
C#
|
|
using FlatRender.IdentitySvc.Models.Requests;
|
||
|
|
using FlatRender.IdentitySvc.Models.Responses;
|
||
|
|
|
||
|
|
namespace FlatRender.IdentitySvc.Application.Services.Interfaces;
|
||
|
|
|
||
|
|
public interface IPlanService
|
||
|
|
{
|
||
|
|
Task<List<PlanResponse>> ListAsync(Guid tenantId, string? scope);
|
||
|
|
Task<PlanResponse> GetByIdAsync(Guid planId);
|
||
|
|
Task<UserPlanResponse?> GetCurrentPlanAsync(Guid userId);
|
||
|
|
Task<PurchasePlanResponse> PurchasePlanAsync(Guid userId, Guid tenantId, PurchasePlanRequest request);
|
||
|
|
}
|