Interface IPaymentRepository
Namespace: Payment.Domain.Aggregates.Payment.Contracts
Assembly: Payment.Domain.dll
Payment repository interface, deliver all custom methods signature for Payment.Domain.Aggregates.Payment.Payment.
public interface IPaymentRepository : IRepository<Payment>
Implements
Methods
GetAsync\(Expression<Func<Payment, bool\>\>\)
Task<Payment?> GetAsync(Expression<Func<Payment, bool>> expression)
Parameters
expression Expression < Func < Payment, bool \>\>
Returns
GetByCheckoutSessionId\(string\)
Task<Payment> GetByCheckoutSessionId(string sessionId)
Parameters
sessionId string
Returns
GetByTableIdAsync\(Guid\)
Task<IEnumerable<Payment>> GetByTableIdAsync(Guid tableId)
Parameters
tableId Guid
Returns
Task < IEnumerable < Payment \>\>
Last modified: 21 May 2024