2021-08-29 21:53:49 -07:00
|
|
|
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()
|
|
|
|
{
|
2021-12-31 16:59:02 +09:00
|
|
|
|
2021-08-29 21:53:49 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
public UpdateOnChainPaymentMethodRequest(bool enabled, string derivationScheme, string label, RootedKeyPath accountKeyPath)
|
|
|
|
{
|
|
|
|
Enabled = enabled;
|
|
|
|
Label = label;
|
|
|
|
AccountKeyPath = accountKeyPath;
|
|
|
|
DerivationScheme = derivationScheme;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|