2021-02-26 03:58:51 +01:00
|
|
|
namespace BTCPayServer.Client.Models
|
|
|
|
{
|
2021-07-23 10:05:15 +02:00
|
|
|
public class LightningNetworkPaymentMethodData: LightningNetworkPaymentMethodBaseData
|
2021-02-26 03:58:51 +01:00
|
|
|
{
|
|
|
|
/// <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 LightningNetworkPaymentMethodData()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public LightningNetworkPaymentMethodData(string cryptoCode, string connectionString, bool enabled)
|
|
|
|
{
|
|
|
|
Enabled = enabled;
|
|
|
|
CryptoCode = cryptoCode;
|
|
|
|
ConnectionString = connectionString;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|