2022-06-29 19:46:41 -04:00
|
|
|
|
using Bit.Core.Entities;
|
2019-02-01 22:22:08 -05:00
|
|
|
|
using Bit.Core.Enums;
|
2019-01-31 16:45:01 -05:00
|
|
|
|
|
2022-08-29 15:53:48 -04:00
|
|
|
|
namespace Bit.Core.Repositories
|
2019-01-31 16:45:01 -05:00
|
|
|
|
{
|
2022-08-29 15:53:48 -04:00
|
|
|
|
public interface ITransactionRepository : IRepository<Transaction, Guid>
|
|
|
|
|
|
{
|
|
|
|
|
|
Task<ICollection<Transaction>> GetManyByUserIdAsync(Guid userId);
|
|
|
|
|
|
Task<ICollection<Transaction>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
|
|
|
|
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
|
|
|
|
|
|
}
|
2019-01-31 16:45:01 -05:00
|
|
|
|
}
|