using NBitcoin; namespace BTCPayServer.Client.Models { public class OnChainPaymentMethodData : OnChainPaymentMethodBaseData { /// /// Whether the payment method is enabled /// public bool Enabled { get; set; } /// /// Crypto code of the payment method /// public string CryptoCode { get; set; } public OnChainPaymentMethodData() { } public OnChainPaymentMethodData(string cryptoCode, string derivationScheme, bool enabled, string label, RootedKeyPath accountKeyPath) { Enabled = enabled; Label = label; AccountKeyPath = accountKeyPath; CryptoCode = cryptoCode; DerivationScheme = derivationScheme; } } }