mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
20 lines
606 B
C#
20 lines
606 B
C#
namespace BTCPayServer.Payments.Changelly
|
|
{
|
|
public class ChangellySettings
|
|
{
|
|
public string ApiKey { get; set; }
|
|
public string ApiSecret { get; set; }
|
|
public string ApiUrl { get; set; }
|
|
public bool Enabled { get; set; }
|
|
public string ChangellyMerchantId { get; set; }
|
|
public decimal AmountMarkupPercentage { get; set; }
|
|
|
|
public bool IsConfigured()
|
|
{
|
|
return
|
|
!string.IsNullOrEmpty(ApiKey) ||
|
|
!string.IsNullOrEmpty(ApiSecret) ||
|
|
!string.IsNullOrEmpty(ApiUrl);
|
|
}
|
|
}
|
|
}
|