Files
BTCPayServerPlugins/Plugins/BTCPayServer.Plugins.Prism/PrismSettings.cs
2023-07-04 14:16:06 +02:00

24 lines
798 B
C#

using System.Collections.Generic;
namespace BTCPayServer.Plugins.Prism;
public class PrismSettings
{
public bool Enabled { get; set; }
public Dictionary<string, long> DestinationBalance { get; set; } = new();
public List<Split> Splits { get; set; } = new();
public Dictionary<string, PendingPayout> PendingPayouts { get; set; } = new();
public Dictionary<string, PrismDestination> Destinations { get; set; } = new();
public long SatThreshold { get; set; } = 100;
public ulong Version { get; set; } = 0;
public decimal Reserve { get; set; } = 2;
}
public class PrismDestination
{
public string Destination { get; set; }
public decimal? Reserve { get; set; }
public long? SatThreshold { get; set; }
public string? PaymentMethodId { get; set; }
}