2023-07-24 11:37:18 +02:00
|
|
|
using System.Collections.Generic;
|
2021-04-13 10:36:49 +02:00
|
|
|
using BTCPayServer.JsonConverters;
|
|
|
|
using Newtonsoft.Json;
|
2023-07-24 11:37:18 +02:00
|
|
|
using Newtonsoft.Json.Linq;
|
2021-04-13 10:36:49 +02:00
|
|
|
|
|
|
|
namespace BTCPayServer.Data
|
|
|
|
{
|
|
|
|
public class PayoutBlob
|
|
|
|
{
|
|
|
|
[JsonConverter(typeof(NumericStringJsonConverter))]
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
[JsonConverter(typeof(NumericStringJsonConverter))]
|
|
|
|
public decimal? CryptoAmount { get; set; }
|
|
|
|
public int MinimumConfirmation { get; set; } = 1;
|
|
|
|
public string Destination { get; set; }
|
|
|
|
public int Revision { get; set; }
|
2023-07-24 11:37:18 +02:00
|
|
|
|
|
|
|
[JsonExtensionData]
|
|
|
|
public Dictionary<string, JToken> AdditionalData { get; set; } = new();
|
|
|
|
|
|
|
|
public JObject Metadata { get; set; }
|
2021-04-13 10:36:49 +02:00
|
|
|
}
|
|
|
|
}
|