btcpayserver/BTCPayServer/Plugins/CoinSwitch/CoinswitchSettings.cs

17 lines
410 B
C#
Raw Normal View History

namespace BTCPayServer.Plugins.CoinSwitch
2018-12-11 12:47:38 +01:00
{
public class CoinSwitchSettings
{
public string MerchantId { get; set; }
2018-12-18 19:01:58 +01:00
public string Mode { get; set; }
2018-12-11 12:47:38 +01:00
public bool Enabled { get; set; }
2019-03-31 18:55:14 +02:00
public decimal AmountMarkupPercentage { get; set; }
2020-06-28 17:55:27 +09:00
2018-12-11 12:47:38 +01:00
public bool IsConfigured()
{
return
!string.IsNullOrEmpty(MerchantId);
}
}
}