mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
32 lines
791 B
C#
32 lines
791 B
C#
using NBitcoin;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class LightningNetworkPaymentMethodData
|
|
{
|
|
/// <summary>
|
|
/// Whether the payment method is enabled
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Crypto code of the payment method
|
|
/// </summary>
|
|
public string CryptoCode { get; set; }
|
|
|
|
public string ConnectionString { get; set; }
|
|
|
|
public LightningNetworkPaymentMethodData()
|
|
{
|
|
}
|
|
|
|
public LightningNetworkPaymentMethodData(string cryptoCode, string connectionString, bool enabled)
|
|
{
|
|
Enabled = enabled;
|
|
CryptoCode = cryptoCode;
|
|
ConnectionString = connectionString;
|
|
}
|
|
}
|
|
}
|