mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
* Excerpts from #971 Relating to selenium tests + small renamings * fix build
This commit is contained in:
committed by
Nicolas Dorier
parent
8f464b0838
commit
7208e63155
@@ -1,14 +1,7 @@
|
||||
using BTCPayServer.Data;
|
||||
using BTCPayServer.Services;
|
||||
using BTCPayServer.Services.Invoices;
|
||||
using BTCPayServer.Services.Rates;
|
||||
using BTCPayServer.Validation;
|
||||
using Microsoft.AspNetCore.Mvc.Rendering;
|
||||
using System;
|
||||
using BTCPayServer.Validation;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using BTCPayServer.Data;
|
||||
|
||||
namespace BTCPayServer.Models.StoreViewModels
|
||||
{
|
||||
@@ -22,7 +15,7 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
public class ThirdPartyPaymentMethod
|
||||
public class AdditionalPaymentMethod
|
||||
{
|
||||
public string Provider { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
@@ -58,8 +51,8 @@ namespace BTCPayServer.Models.StoreViewModels
|
||||
|
||||
public List<StoreViewModel.DerivationScheme> DerivationSchemes { get; set; } = new List<StoreViewModel.DerivationScheme>();
|
||||
|
||||
public List<ThirdPartyPaymentMethod> ThirdPartyPaymentMethods { get; set; } =
|
||||
new List<ThirdPartyPaymentMethod>();
|
||||
public List<AdditionalPaymentMethod> ThirdPartyPaymentMethods { get; set; } =
|
||||
new List<AdditionalPaymentMethod>();
|
||||
|
||||
[Display(Name = "Invoice expires if the full amount has not been paid after ... minutes")]
|
||||
[Range(1, 60 * 24 * 24)]
|
||||
|
||||
Reference in New Issue
Block a user