btcpayserver/BTCPayServer/Models/InvoicingModels/InvoiceDetailsModel.cs

131 lines
2.9 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Data;
2017-10-20 21:06:37 +02:00
using BTCPayServer.Services.Invoices;
using NBitcoin;
namespace BTCPayServer.Models.InvoicingModels
{
public class InvoiceDetailsModel
{
public class CryptoPayment
{
public string CryptoCode { get; set; }
public string Due { get; set; }
public string Paid { get; set; }
public string Address { get; internal set; }
public string Rate { get; internal set; }
public string PaymentUrl { get; internal set; }
}
public class Payment
{
public string CryptoCode { get; set; }
public int Confirmations
{
get; set;
}
public BitcoinAddress DepositAddress
{
get; set;
}
public string Amount
{
get; set;
}
public string TransactionId
{
get; set;
}
public DateTimeOffset ReceivedTime
{
get;
internal set;
}
public string TransactionLink
{
get;
set;
}
2018-01-10 10:40:53 +01:00
public bool Replaced { get; set; }
}
public string StatusMessage
{
get; set;
}
public String Id
{
get; set;
}
public List<CryptoPayment> CryptoPayments
{
get; set;
} = new List<CryptoPayment>();
public List<Payment> Payments { get; set; } = new List<Payment>();
public string Status
{
get; set;
}
2018-01-10 10:30:45 +01:00
public string StatusException { get; set; }
public DateTimeOffset CreatedDate
{
get; set;
}
public DateTimeOffset ExpirationDate
{
get; set;
}
public string OrderId
{
get; set;
}
public string RefundEmail
{
get;
set;
}
public BuyerInformation BuyerInformation
{
get;
set;
}
public object StoreName
{
get;
internal set;
}
public string StoreLink
{
get;
set;
}
public string NotificationUrl
{
get;
internal set;
}
2018-01-14 07:01:09 +01:00
public string RedirectUrl { get; set; }
public string Fiat
{
get;
set;
}
public ProductInformation ProductInformation
{
get;
internal set;
}
public HistoricalAddressInvoiceData[] Addresses { get; set; }
public DateTimeOffset MonitoringDate { get; internal set; }
}
}