Allow invoice creation to only allow specific payment methods in UI (#792)

* allow invoice creation to only allow specific payment methods

* add test

* reuse existing feature

* final fixes
This commit is contained in:
Andrew Camilleri
2019-05-02 14:29:51 +02:00
committed by Nicolas Dorier
parent 4bc03fbf06
commit b5f4739ae5
5 changed files with 75 additions and 2 deletions

View File

@@ -70,5 +70,16 @@ namespace BTCPayServer.Models.InvoicingModels
get;
set;
}
public List<string> SupportedTransactionCurrencies
{
get;
set;
}
public SelectList AvailablePaymentMethods
{
get;
set;
}
}
}