mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
17 lines
588 B
C#
17 lines
588 B
C#
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();
|
|
} |