btcpayserver/BTCPayServer/Models/InvoicingModels/PaymentModel.cs

45 lines
1.6 KiB
C#
Raw Normal View History

2017-09-13 15:47:34 +09:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Models.InvoicingModels
{
public class PaymentModel
{
2018-01-09 23:55:08 +09:00
public class AvailableCrypto
{
public string CryptoCode { get; set; }
public string CryptoImage { get; set; }
public string Link { get; set; }
}
public List<AvailableCrypto> AvailableCryptos { get; set; } = new List<AvailableCrypto>();
2018-01-09 11:41:07 +09:00
public string CryptoCode { get; set; }
public string ServerUrl { get; set; }
public string InvoiceId { get; set; }
public string BtcAddress { get; set; }
public string BtcDue { get; set; }
public string CustomerEmail { get; set; }
public int ExpirationSeconds { get; set; }
public string Status { get; set; }
public string MerchantRefLink { get; set; }
public int MaxTimeSeconds { get; set; }
// These properties are not used in client side code
public string StoreName { get; set; }
public string ItemDesc { get; set; }
public string TimeLeft { get; set; }
public string Rate { get; set; }
2018-01-09 17:27:26 +09:00
public string OrderAmount { get; set; }
public string InvoiceBitcoinUrl { get; set; }
public int TxCount { get; set; }
public string BtcPaid { get; set; }
public string StoreEmail { get; set; }
2017-09-13 15:47:34 +09:00
public string OrderId { get; set; }
2018-01-09 11:41:07 +09:00
public string CryptoImage { get; set; }
2018-01-09 17:27:26 +09:00
public string NetworkFeeDescription { get; internal set; }
public int MaxTimeMinutes { get; internal set; }
}
2017-09-13 15:47:34 +09:00
}