Restructure store and payment settings (#2995)

Co-authored-by: Kukks <evilkukka@gmail.com>
This commit is contained in:
d11n
2021-10-29 08:25:43 +02:00
committed by GitHub
parent eee8008bb2
commit 2d4aa52fa5
47 changed files with 953 additions and 835 deletions

View File

@@ -10,28 +10,14 @@ namespace BTCPayServer.Models.StoreViewModels
public class LightningNodeViewModel
{
[Display(Name = "Enable LNURL")]
public bool LNURLEnabled { get; set; }
[Display(Name = "LNURL Classic Mode")]
public bool LNURLBech32Mode { get; set; } = true;
[Display(Name = "LNURL enabled for standard invoices")]
public bool LNURLStandardInvoiceEnabled { get; set; } = true;
[Display(Name = "Allow payee to pass a comment")]
public bool LUD12Enabled { get; set; }
[Display(Name = "Do not offer BOLT11 for standard invoices")]
public bool DisableBolt11PaymentMethod { get; set; }
public LightningNodeType LightningNodeType { get; set; }
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
public string StoreId { get; set; }
public string CryptoCode { get; set; }
public bool CanUseInternalNode { get; set; }
public bool SkipPortTest { get; set; }
public bool Enabled { get; set; } = true;
public string StoreId { get; set; }
[Display(Name = "Connection string")]
public string ConnectionString { get; set; }
}
}