Add UpdateOnChainPaymentMethodRequest

This commit is contained in:
Umar Bolatov
2021-08-29 21:53:49 -07:00
committed by Andrew Camilleri
parent 2f4e610900
commit 748423dfe8
4 changed files with 51 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
using NBitcoin;
namespace BTCPayServer.Client.Models
{
public class UpdateOnChainPaymentMethodRequest : OnChainPaymentMethodBaseData
{
/// <summary>
/// Whether the payment method is enabled
/// </summary>
public bool Enabled { get; set; }
public UpdateOnChainPaymentMethodRequest()
{
}
public UpdateOnChainPaymentMethodRequest(bool enabled, string derivationScheme, string label, RootedKeyPath accountKeyPath)
{
Enabled = enabled;
Label = label;
AccountKeyPath = accountKeyPath;
DerivationScheme = derivationScheme;
}
}
}