Owneat Technical Guide main Help

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

IRepository<Payment\>

Methods

GetAsync\(Expression<Func<Payment, bool\>\>\)

Task<Payment?> GetAsync(Expression<Func<Payment, bool>> expression)

Parameters

expression Expression < Func < Payment, bool \>\>

Returns

Task < Payment ?\>

GetByCheckoutSessionId\(string\)

Task<Payment> GetByCheckoutSessionId(string sessionId)

Parameters

sessionId string

Returns

Task < Payment \>

GetByTableIdAsync\(Guid\)

Task<IEnumerable<Payment>> GetByTableIdAsync(Guid tableId)

Parameters

tableId Guid

Returns

Task < IEnumerable < Payment \>\>

Last modified: 21 May 2024