forked from btcpayserver/grandnode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBtcPaySettings.cs
42 lines (35 loc) · 1.23 KB
/
BtcPaySettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using Grand.Domain.Configuration;
namespace 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; }
/// <summary>
/// Gets or sets a value indicating whether to "additional fee" is specified as percentage. true - percentage, false - fixed value.
/// </summary>
public bool AdditionalFeePercentage { get; set; }
/// <summary>
/// Additional fee
/// </summary>
public double AdditionalFee { get; set; }
public int DisplayOrder { get; set; }
}
}