start contrib perks

This commit is contained in:
Kukks
2018-12-29 11:52:07 +01:00
parent 6fced3fab2
commit 6eb36abe2e
9 changed files with 156 additions and 20 deletions

View File

@@ -22,6 +22,7 @@ namespace BTCPayServer.Models.AppViewModels
public CrowdfundInfo Info { get; set; }
public string Tagline { get; set; }
public ViewPointOfSaleViewModel.Item[] Perks { get; set; }
public class CrowdfundInfo
@@ -46,6 +47,8 @@ namespace BTCPayServer.Models.AppViewModels
public ViewCrowdfundViewModel ViewCrowdfundViewModel { get; set; }
[Required] public decimal Amount { get; set; }
public string Email { get; set; }
public bool RedirectToCheckout { get; set; }
public string ChoiceKey { get; set; }
public bool RedirectToCheckout { get; set; }
public string RedirectUrl { get; set; }
}
}