Add a new Pay Button Type : Slider

This commit is contained in:
Ludovic
2019-04-04 20:56:12 +02:00
parent 4221763f48
commit 449066449b
4 changed files with 65 additions and 7 deletions

View File

@@ -16,6 +16,12 @@ namespace BTCPayServer.Models.StoreViewModels
public string OrderId { get; set; }
public int ButtonSize { get; set; }
public int ButtonType { get; set; }
// Slider properties (ButtonType = 2)
public decimal Min { get; set; }
public decimal Max { get; set; }
public decimal Step { get; set; }
[Url]
public string ServerIpn { get; set; }
[Url]