Add Heimdall patron support intake
This commit is contained in:
parent
ba09539561
commit
bb1b1056be
21 changed files with 625 additions and 13 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue