nopcommerce/BtcPaySettings.cs
2023-11-24 15:50:23 +00:00

35 lines
957 B
C#

using Nop.Core.Configuration;
namespace Nop.Plugin.Payments.BTCPayServer
{
/// <summary>
/// Represents settings of BtcPay payment plugin
/// </summary>
public class BtcPaySettings : ISettings
{
/// <summary>
/// The url of your BTCPay instance
/// </summary>
public string BtcPayUrl { get; set; }
/// <summary>
/// The API Key value generated in your BTCPay instance
/// </summary>
public string? ApiKey { get; set; }
/// <summary>
/// The BTCPay StoreID
/// </summary>
public string? BtcPayStoreID { get; set; }
/// <summary>
/// The WebHook Secret value generated in your BTCPay instance
/// </summary>
public string? WebHookSecret { get; set; }
public decimal AdditionalFee { get; set; }
public bool AdditionalFeePercentage { get; set; }
}
}