2017-09-13 15:47:34 +09:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.InvoicingModels
|
|
|
|
{
|
2019-08-25 15:50:11 +02:00
|
|
|
public class CheckoutUIPaymentMethodSettings
|
|
|
|
{
|
|
|
|
public string ExtensionPartial { get; set; }
|
|
|
|
public string CheckoutBodyVueComponentName { get; set; }
|
2019-08-27 04:31:15 +02:00
|
|
|
public string CheckoutHeaderVueComponentName { get; set; }
|
2019-08-25 15:50:11 +02:00
|
|
|
public string NoScriptPartialName { get; set; }
|
|
|
|
}
|
2017-10-27 17:53:04 +09:00
|
|
|
public class PaymentModel
|
|
|
|
{
|
2019-08-25 15:50:11 +02:00
|
|
|
public CheckoutUIPaymentMethodSettings UISettings;
|
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-03-27 15:14:50 +09:00
|
|
|
public string CustomCSSLink { get; set; }
|
|
|
|
public string CustomLogoLink { get; set; }
|
2020-03-26 18:26:06 -05:00
|
|
|
public string HtmlTitle { 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-11-09 01:09:09 -06:00
|
|
|
public bool IsModal { get; set; }
|
2021-08-03 17:03:00 +09:00
|
|
|
public bool IsUnsetTopUp { 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 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; }
|
2019-10-07 21:06:12 -07:00
|
|
|
public bool ShowRecommendedFee { get; set; }
|
|
|
|
public decimal FeeRate { 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; }
|
2020-06-28 17:55:27 +09: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; }
|
2021-07-06 00:43:49 +02:00
|
|
|
public int TxCountForFee { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
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-10-24 07:52:19 +02:00
|
|
|
public string StoreId { get; set; }
|
2018-03-28 02:13:00 -05:00
|
|
|
public string PeerInfo { get; set; }
|
2019-03-09 00:48:33 +09:00
|
|
|
public string RootPath { get; set; }
|
2019-04-11 11:08:42 +02:00
|
|
|
public bool RedirectAutomatically { get; set; }
|
2021-04-07 06:08:42 +02:00
|
|
|
public bool Activated { get; set; }
|
2020-11-06 11:09:17 +01:00
|
|
|
public string InvoiceCurrency { get; set; }
|
2022-07-08 10:55:26 +09:00
|
|
|
public string ReceiptLink { get; set; }
|
2017-10-27 17:53:04 +09:00
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|