16 lines
No EOL
535 B
C#
16 lines
No EOL
535 B
C#
#nullable disable
|
|
namespace EllieBot.Modules.Patronage;
|
|
|
|
/// <summary>
|
|
/// Services implementing this interface are handling pledges/subscriptions/payments coming
|
|
/// from a payment platform.
|
|
/// </summary>
|
|
public interface ISubscriptionHandler
|
|
{
|
|
/// <summary>
|
|
/// Get Current patrons in batches.
|
|
/// This will only return patrons who have their discord account connected
|
|
/// </summary>
|
|
/// <returns>Batched patrons</returns>
|
|
public IAsyncEnumerable<IReadOnlyCollection<ISubscriberData>> GetPatronsAsync();
|
|
} |