mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
30 lines
955 B
C#
30 lines
955 B
C#
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class LightningNetworkPaymentMethodData : LightningNetworkPaymentMethodBaseData
|
|
{
|
|
/// <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, string paymentMethod, bool disableBOLT11PaymentOption)
|
|
{
|
|
Enabled = enabled;
|
|
CryptoCode = cryptoCode;
|
|
ConnectionString = connectionString;
|
|
PaymentMethod = paymentMethod;
|
|
DisableBOLT11PaymentOption = disableBOLT11PaymentOption;
|
|
}
|
|
|
|
public string PaymentMethod { get; set; }
|
|
}
|
|
}
|