2019-01-31 16:45:01 -05:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2022-01-11 10:40:51 +01: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
|
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Repositories
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface ITransactionRepository : IRepository<Transaction, Guid>
|
|
|
|
|
|
{
|
|
|
|
|
|
Task<ICollection<Transaction>> GetManyByUserIdAsync(Guid userId);
|
|
|
|
|
|
Task<ICollection<Transaction>> GetManyByOrganizationIdAsync(Guid organizationId);
|
2019-02-01 22:22:08 -05:00
|
|
|
|
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
|
2019-01-31 16:45:01 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|