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
|
|
|
|
|
{
|
2017-10-27 17:53:04 +09:00
|
|
|
|
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; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
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; }
|
2017-10-20 22:06:42 -05:00
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
// 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; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
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
|
|
|
|
|
2017-10-27 17:53:04 +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; }
|
2018-01-20 00:33:37 +09:00
|
|
|
|
public int MaxTimeMinutes { get; internal set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
|
}
|