20 lines
910 B
C#
20 lines
910 B
C#
using Fitness_core_BE.Models;
|
|
|
|
namespace Fitness_core_BE.Interfaces
|
|
{
|
|
public interface IPaymentsEnablementRepository
|
|
{
|
|
Task<ClientWallet?> GetWalletByClientIdAsync(Guid clientId, CancellationToken ct = default);
|
|
Task<List<WalletLedgerEntry>> GetLedgerAsync(Guid walletId, CancellationToken ct = default);
|
|
|
|
Task<ClientPayoutKyc?> GetKycByClientIdAsync(Guid clientId, CancellationToken ct = default);
|
|
Task<ClientPayoutKyc?> GetKycForUpdateAsync(Guid clientId, CancellationToken ct = default);
|
|
Task CreateKycAsync(ClientPayoutKyc kyc, CancellationToken ct = default);
|
|
|
|
Task<(List<ClientPayoutKyc> Items, int Total)> ListKycAsync(string? status, CancellationToken ct = default);
|
|
|
|
Task CreateWalletAsync(ClientWallet wallet, CancellationToken ct = default);
|
|
Task CreateClientCardAsync(ClientCard card, CancellationToken ct = default);
|
|
}
|
|
}
|