Add pull payment feature (#1639)

This commit is contained in:
Nicolas Dorier
2020-06-24 10:34:09 +09:00
committed by GitHub
parent 7805e5cea4
commit 8230a408ac
50 changed files with 3886 additions and 163 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Models.WalletViewModels
{
public class PayoutsModel
{
public string PullPaymentId { get; set; }
public string Command { get; set; }
public class PayoutModel
{
public string PayoutId { get; set; }
public bool Selected { get; set; }
public DateTimeOffset Date { get; set; }
public string PullPaymentId { get; set; }
public string PullPaymentName { get; set; }
public string Destination { get; set; }
public string Amount { get; set; }
public string TransactionLink { get; set; }
}
public List<PayoutModel> WaitingForApproval { get; set; } = new List<PayoutModel>();
public List<PayoutModel> Other { get; set; } = new List<PayoutModel>();
}
}