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

15 lines
641 B
C#

using Fitness_core_BE.Models;
namespace Fitness_core_BE.Interfaces
{
public interface IPaymentRepository
{
Task<PaymentTransaction> CreatePaymentAttemptAsync(PaymentTransaction attempt);
Task<PaymentTransaction?> GetPaymentByIdAsync(Guid attemptId);
Task<List<PaymentTransaction>> GetPaymentsByCustomerInvoiceIdAsync(Guid customerInvoiceId);
Task<List<PaymentTransaction>> GetPaymentsByClientInvoiceIdAsync(Guid clientInvoiceId);
Task<PaymentTransaction> UpdatePaymentAttemptAsync(PaymentTransaction attempt);
Task<decimal> GetApprovedPaidAmountAsync(Guid customerInvoiceId);
}
}