1
0
mirror of https://github.com/bitwarden/server synced 2026-01-01 08:03:23 +00:00
Files
server/src/Core/Billing/Services/IPaymentHistoryService.cs
Conner Turnbull f2e69efd56 Added filter for status when getting invoices (#4866)
(cherry picked from commit 9d06c7b1e0)
2024-10-09 10:18:41 -04:00

20 lines
551 B
C#

#nullable enable
using Bit.Core.Billing.Models;
using Bit.Core.Entities;
namespace Bit.Core.Billing.Services;
public interface IPaymentHistoryService
{
Task<IEnumerable<BillingHistoryInfo.BillingInvoice>> GetInvoiceHistoryAsync(
ISubscriber subscriber,
int pageSize = 5,
string? status = null,
string? startAfter = null);
Task<IEnumerable<BillingHistoryInfo.BillingTransaction>> GetTransactionHistoryAsync(
ISubscriber subscriber,
int pageSize = 5,
DateTime? startAfter = null);
}