mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-10 09:15:29 +01:00
24 lines
731 B
C#
24 lines
731 B
C#
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using BTCPayServer.Lightning;
|
||
|
using BTCPayServer.Services.Invoices;
|
||
|
using NBitcoin;
|
||
|
using Newtonsoft.Json;
|
||
|
using Newtonsoft.Json.Linq;
|
||
|
|
||
|
namespace BTCPayServer.Payments.Lightning
|
||
|
{
|
||
|
public class LigthningPaymentPromptDetails
|
||
|
{
|
||
|
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
|
||
|
public uint256 PaymentHash { get; set; }
|
||
|
[JsonConverter(typeof(NBitcoin.JsonConverters.UInt256JsonConverter))]
|
||
|
public uint256 Preimage { get; set; }
|
||
|
/// <summary>
|
||
|
/// The invoice id for the lightning node
|
||
|
/// </summary>
|
||
|
public string InvoiceId { get; set; }
|
||
|
public string NodeInfo { get; set; }
|
||
|
}
|
||
|
}
|