mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
c93497af10
* Rename PaymentMethod => PaymentMethodId * Rename DB Columns
20 lines
617 B
C#
20 lines
617 B
C#
using System;
|
|
using BTCPayServer.Client.JsonConverters;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
public class OnChainAutomatedPayoutSettings
|
|
{
|
|
public string PayoutMethodId { get; set; }
|
|
|
|
[JsonConverter(typeof(TimeSpanJsonConverter.Seconds))]
|
|
public TimeSpan IntervalSeconds { get; set; }
|
|
|
|
public int? FeeBlockTarget { get; set; }
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
public decimal Threshold { get; set; }
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
public bool ProcessNewPayoutsInstantly { get; set; }
|
|
}
|