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
|
|
|
|
|
{
|
2018-02-19 15:13:45 +09:00
|
|
|
|
public string PaymentMethodId { get; set; }
|
2018-01-09 23:55:08 +09:00
|
|
|
|
public string CryptoImage { get; set; }
|
|
|
|
|
public string Link { get; set; }
|
2018-07-13 15:58:59 -05:00
|
|
|
|
public string PaymentMethodName { get; set; }
|
2018-07-18 23:53:00 -05:00
|
|
|
|
public bool IsLightning { get; set; }
|
2018-07-16 23:43:52 -05:00
|
|
|
|
public string CryptoCode { get; set; }
|
2018-01-09 23:55:08 +09:00
|
|
|
|
}
|
2018-05-03 16:51:04 -05:00
|
|
|
|
public string HtmlTitle { get; set; }
|
2018-03-27 15:14:50 +09:00
|
|
|
|
public string CustomCSSLink { get; set; }
|
|
|
|
|
public string CustomLogoLink { get; set; }
|
2018-03-23 17:27:48 +09:00
|
|
|
|
public string DefaultLang { get; set; }
|
2018-01-09 23:55:08 +09:00
|
|
|
|
public List<AvailableCrypto> AvailableCryptos { get; set; } = new List<AvailableCrypto>();
|
2018-03-24 23:43:02 +09:00
|
|
|
|
public bool IsLightning { get; set; }
|
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; }
|
2018-04-26 11:13:44 +09:00
|
|
|
|
public bool RequiresRefundEmail { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
public int ExpirationSeconds { get; set; }
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
public string MerchantRefLink { get; set; }
|
|
|
|
|
public int MaxTimeSeconds { get; set; }
|
2018-07-16 23:25:28 -05:00
|
|
|
|
|
2017-10-27 17:53:04 +09:00
|
|
|
|
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; }
|
2018-05-11 12:15:26 -05:00
|
|
|
|
public string OrderAmountFiat { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
public string InvoiceBitcoinUrl { get; set; }
|
2018-02-26 00:48:12 +09:00
|
|
|
|
public string InvoiceBitcoinUrlQR { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
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-04-13 14:10:06 -05:00
|
|
|
|
public decimal NetworkFee { get; set; }
|
|
|
|
|
public bool IsMultiCurrency { get; set; }
|
2018-07-13 15:58:59 -05:00
|
|
|
|
public int MaxTimeMinutes { get; set; }
|
|
|
|
|
public string PaymentType { get; set; }
|
|
|
|
|
public string PaymentMethodId { get; set; }
|
|
|
|
|
public string PaymentMethodName { get; set; }
|
|
|
|
|
public string CryptoImage { get; set; }
|
2018-03-17 23:49:09 -05:00
|
|
|
|
|
2018-10-18 12:27:46 +09:00
|
|
|
|
public bool AllowCoinConversion { get; set; }
|
2018-03-28 02:13:00 -05:00
|
|
|
|
public string PeerInfo { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
|
}
|