2023-01-06 14:18:07 +01:00
|
|
|
using System;
|
2022-04-24 05:19:34 +02:00
|
|
|
using BTCPayServer.Client.JsonConverters;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
|
|
|
|
public class LightningAutomatedPayoutSettings
|
|
|
|
{
|
|
|
|
public string PaymentMethod { get; set; }
|
2023-01-06 14:18:07 +01:00
|
|
|
|
2022-04-24 05:19:34 +02:00
|
|
|
[JsonConverter(typeof(TimeSpanJsonConverter.Seconds))]
|
|
|
|
public TimeSpan IntervalSeconds { get; set; }
|
2023-07-20 15:05:14 +02:00
|
|
|
|
|
|
|
public int? CancelPayoutAfterFailures { get; set; }
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
|
|
public bool ProcessNewPayoutsInstantly { get; set; }
|
|
|
|
|
2022-04-24 05:19:34 +02:00
|
|
|
}
|