mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* Separate coinswitch as a system plugin * Decouple Coinswitch from Checkout UI * remove dummy csproj * Remove CoinSwitchTests.cs per @NicolasDorier feedback Co-authored-by: rockstardev <rockstardev@users.noreply.github.com>
16 lines
410 B
C#
16 lines
410 B
C#
namespace BTCPayServer.Plugins.CoinSwitch
|
|
{
|
|
public class CoinSwitchSettings
|
|
{
|
|
public string MerchantId { get; set; }
|
|
public string Mode { get; set; }
|
|
public bool Enabled { get; set; }
|
|
public decimal AmountMarkupPercentage { get; set; }
|
|
|
|
public bool IsConfigured()
|
|
{
|
|
return
|
|
!string.IsNullOrEmpty(MerchantId);
|
|
}
|
|
}
|
|
}
|