15 lines
695 B
C#
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);
|
|
}
|
|
}
|