Can tweak the rate at store level

This commit is contained in:
nicolas.dorier
2018-01-17 15:59:31 +09:00
parent 2b31af80cb
commit 5f6913b3a2
8 changed files with 163 additions and 8 deletions

View File

@@ -47,6 +47,14 @@ namespace BTCPayServer.Models.StoreViewModels
public List<StoreViewModel.DerivationScheme> DerivationSchemes { get; set; } = new List<StoreViewModel.DerivationScheme>();
[Display(Name = "Multiply the original rate by ...")]
[Range(0.01, 10.0)]
public double RateMultiplier
{
get;
set;
}
[Display(Name = "Invoice expires if the full amount has not been paid after ... minutes")]
[Range(1, 60 * 24 * 31)]
public int InvoiceExpiration