Files
Core_Be/Interfaces/Services/ISubscriptionRenewalApprovalService.cs
T
Dhananjaya99 bffc9b1686 first commit
2026-09-28 11:44:26 +05:30

15 lines
695 B
C#

using Microsoft.AspNetCore.Http;
namespace Fitness_core_BE.Interfaces.Services
{
// Staff-facing approval workflow for the unapproved (IsActive=false) invoices the daily
// SubscriptionRenewalJob sweep creates. See Services/SubscriptionRenewalApprovalService.cs.
public interface ISubscriptionRenewalApprovalService
{
Task<object> GetUnapprovedInvoicesAsync(HttpContext httpContext);
Task<object> ApproveAsync(Guid customerInvoiceId, HttpContext httpContext);
Task<object> ChangePlanAsync(Guid customerInvoiceId, Guid newCustomerPlanId, HttpContext httpContext);
Task<object> RejectAsync(Guid customerInvoiceId, HttpContext httpContext);
}
}