mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
26 lines
679 B
C#
26 lines
679 B
C#
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;
|
|
}
|
|
}
|
|
}
|