first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user