mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
28 lines
714 B
C#
28 lines
714 B
C#
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class OnChainPaymentMethodData : OnChainPaymentMethodBaseData
|
|
{
|
|
/// <summary>
|
|
/// Whether the payment method is enabled
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Crypto code of the payment method
|
|
/// </summary>
|
|
public string CryptoCode { get; set; }
|
|
|
|
public OnChainPaymentMethodData()
|
|
{
|
|
|
|
}
|
|
|
|
public OnChainPaymentMethodData(string cryptoCode, string derivationScheme, bool enabled)
|
|
{
|
|
Enabled = enabled;
|
|
CryptoCode = cryptoCode;
|
|
DerivationScheme = derivationScheme;
|
|
}
|
|
}
|
|
}
|