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

19 lines
771 B
C#

using Microsoft.AspNetCore.Http;
namespace Fitness_core_BE.Interfaces.Services
{
public interface ITimeBankCardService
{
/// <summary>Staff issues/sells a card -- minutes purchased, optionally linked to a member.</summary>
Task<object> IssueCard(object payload, HttpContext httpContext);
/// <summary>The tap-in/tap-out swipe action: first swipe on a card starts its session
/// (no deduction), second swipe ends it and deducts the elapsed minutes. No login
/// required (called by the reader/agent, or by staff at a manual terminal).</summary>
Task<object> Swipe(object payload);
Task<object> GetBalance(object payload);
Task<object> GetMyCards(object payload, HttpContext httpContext);
}
}