Add Heimdall patron support intake

This commit is contained in:
Meta Vens 2026-06-09 17:16:27 +01:00
commit bb1b1056be
21 changed files with 625 additions and 13 deletions

View file

@ -163,7 +163,15 @@ public enum PointTransactionType
public enum PatronSupportEventKind
{
OneTimeDonation,
RecurringSupportSnapshot
RecurringSupportSnapshot,
SupportAdjustment
}
public enum ExternalPatronProvider
{
Manual,
Patreon,
PayPal
}
public sealed class UserAccount
@ -717,6 +725,14 @@ public sealed class PatronSupportEvent
public string ExternalSupportId { get; set; } = string.Empty;
public ExternalPatronProvider Provider { get; set; } = ExternalPatronProvider.Manual;
public string ProviderEventId { get; set; } = string.Empty;
public string ProviderPayerId { get; set; } = string.Empty;
public string ProviderSubscriptionId { get; set; } = string.Empty;
public PatronSupportEventKind Kind { get; set; } = PatronSupportEventKind.OneTimeDonation;
public decimal Amount { get; set; }