mirror of
https://github.com/bitwarden/server
synced 2026-01-01 08:03:23 +00:00
20 lines
551 B
C#
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);
|
|
}
|