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