Improve Refund Flow (#3731)

This commit is contained in:
d11n
2022-06-02 10:08:55 +02:00
committed by GitHub
parent fcd6159b42
commit 5616b7550f
7 changed files with 224 additions and 180 deletions

View File

@@ -6,13 +6,14 @@ namespace BTCPayServer.Models.InvoicingModels
public enum RefundSteps
{
SelectPaymentMethod,
SelectRate,
SelectCustomAmount
SelectRate
}
public class RefundModel
{
public string Title { get; set; }
public SelectList AvailablePaymentMethods { get; set; }
[Display(Name = "Select the payment method used for refund")]
public string SelectedPaymentMethod { get; set; }
public RefundSteps RefundStep { get; set; }