mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +01:00
41 lines
1.3 KiB
C#
41 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Services.Invoices;
|
|
|
|
namespace BTCPayServer.Models.InvoicingModels
|
|
{
|
|
public class InvoicesModel
|
|
{
|
|
public int Skip { get; set; }
|
|
public int Count { get; set; }
|
|
public int Total { get; set; }
|
|
public string SearchTerm { get; set; }
|
|
public int? TimezoneOffset { get; set; }
|
|
|
|
public List<InvoiceModel> Invoices { get; set; } = new List<InvoiceModel>();
|
|
public string StatusMessage { get; set; }
|
|
}
|
|
|
|
public class InvoiceModel
|
|
{
|
|
public DateTimeOffset Date { get; set; }
|
|
|
|
public string OrderId { get; set; }
|
|
public string RedirectUrl { get; set; }
|
|
public string InvoiceId { get; set; }
|
|
|
|
public InvoiceStatus Status { get; set; }
|
|
public string StatusString { get; set; }
|
|
public bool CanMarkComplete { get; set; }
|
|
public bool CanMarkInvalid { get; set; }
|
|
public bool CanMarkStatus => CanMarkComplete || CanMarkInvalid;
|
|
public bool ShowCheckout { get; set; }
|
|
public string ExceptionStatus { get; set; }
|
|
public string AmountCurrency { get; set; }
|
|
public string StatusMessage { get; set; }
|
|
|
|
public InvoiceDetailsModel Details { get; set; }
|
|
}
|
|
}
|