btcpayserver/BTCPayServer/Models/StoreViewModels/PaymentMethodOptionViewModel.cs
Umar Bolatov 8feb60c30d
Add ability to set default payment method for pay button (#3606)
* Add ability to set default payment method for pay button

close #3604

* Add "#nullable enable" to UIStoresController

* Add PaymentMethodOptionViewModel

* Add explicit "Use the store’s default" option
2022-04-11 17:48:12 +09:00

15 lines
336 B
C#

using BTCPayServer.Payments;
namespace BTCPayServer.Models.StoreViewModels
{
public class PaymentMethodOptionViewModel
{
public class Format
{
public string Name { get; set; }
public string Value { get; set; }
public PaymentMethodId PaymentId { get; set; }
}
}
}