mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
69 lines
2.7 KiB
C#
69 lines
2.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Models.InvoicingModels
|
|
{
|
|
public class PaymentModel
|
|
{
|
|
public class AvailableCrypto
|
|
{
|
|
public string PaymentMethodId { get; set; }
|
|
public string CryptoImage { get; set; }
|
|
public string Link { get; set; }
|
|
public string PaymentMethodName { get; set; }
|
|
public bool IsLightning { get; set; }
|
|
public string CryptoCode { get; set; }
|
|
}
|
|
public string HtmlTitle { get; set; }
|
|
public string CustomCSSLink { get; set; }
|
|
public string CustomLogoLink { get; set; }
|
|
public string DefaultLang { get; set; }
|
|
public List<AvailableCrypto> AvailableCryptos { get; set; } = new List<AvailableCrypto>();
|
|
public bool IsModal { get; set; }
|
|
public bool IsLightning { get; set; }
|
|
public string CryptoCode { get; set; }
|
|
public string InvoiceId { get; set; }
|
|
public string BtcAddress { get; set; }
|
|
public string BtcDue { get; set; }
|
|
public string CustomerEmail { get; set; }
|
|
public bool RequiresRefundEmail { get; set; }
|
|
public int ExpirationSeconds { get; set; }
|
|
public string Status { get; set; }
|
|
public string MerchantRefLink { get; set; }
|
|
public int MaxTimeSeconds { get; set; }
|
|
|
|
public string StoreName { get; set; }
|
|
public string ItemDesc { get; set; }
|
|
public string TimeLeft { get; set; }
|
|
public string Rate { get; set; }
|
|
public string OrderAmount { get; set; }
|
|
public string OrderAmountFiat { get; set; }
|
|
public string InvoiceBitcoinUrl { get; set; }
|
|
public string InvoiceBitcoinUrlQR { get; set; }
|
|
public int TxCount { get; set; }
|
|
public string BtcPaid { get; set; }
|
|
public string StoreEmail { get; set; }
|
|
|
|
public string OrderId { get; set; }
|
|
public decimal NetworkFee { get; set; }
|
|
public bool IsMultiCurrency { get; set; }
|
|
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; }
|
|
|
|
public bool ChangellyEnabled { get; set; }
|
|
public string StoreId { get; set; }
|
|
public string PeerInfo { get; set; }
|
|
public string ChangellyMerchantId { get; set; }
|
|
public decimal? ChangellyAmountDue { get; set; }
|
|
|
|
public bool CoinSwitchEnabled { get; set; }
|
|
public string CoinSwitchMode { get; set; }
|
|
public string CoinSwitchMerchantId { get; set; }
|
|
}
|
|
}
|