Add UpdateLightningNetworkPaymentMethodRequest

This commit is contained in:
Umar Bolatov
2021-08-29 21:38:57 -07:00
committed by Andrew Camilleri
parent d39ec97b9a
commit 2f4e610900
4 changed files with 44 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
namespace BTCPayServer.Client.Models
{
public class UpdateLightningNetworkPaymentMethodRequest: LightningNetworkPaymentMethodBaseData
{
/// <summary>
/// Whether the payment method is enabled
/// </summary>
public bool Enabled { get; set; }
public UpdateLightningNetworkPaymentMethodRequest()
{
}
public UpdateLightningNetworkPaymentMethodRequest(string connectionString, bool enabled)
{
Enabled = enabled;
ConnectionString = connectionString;
}
}
}