This commit is contained in:
Kukks
2024-04-11 15:10:57 +02:00
parent 71cb4c3f82
commit 215edd5b0a
18 changed files with 1352 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using System.Collections.Generic;
using BTCPayServer.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Plugins.Subscriptions;
public class SubscriptionAppSettings
{
[JsonIgnore] public string SubscriptionName { get; set; }
public string Description { get; set; }
public int DurationDays { get; set; }
public string? FormId { get; set; }
[JsonConverter(typeof(NumericStringJsonConverter))]
public decimal Price { get; set; }
public string Currency { get; set; }
public Dictionary<string, Subscription> Subscriptions { get; set; } = new();
}