2022-02-07 09:39:48 +01:00
|
|
|
using System.Collections.Generic;
|
2021-12-31 16:59:02 +09:00
|
|
|
using BTCPayServer.Client.JsonConverters;
|
2021-10-25 08:18:02 +02:00
|
|
|
using BTCPayServer.Lightning;
|
|
|
|
using BTCPayServer.Payments.Lightning;
|
2023-01-13 09:29:41 +01:00
|
|
|
using BTCPayServer.Services.Invoices;
|
2023-04-12 16:30:22 +09:00
|
|
|
using LNURL;
|
2021-10-25 08:18:02 +02:00
|
|
|
using Newtonsoft.Json;
|
2022-02-15 11:36:04 +01:00
|
|
|
using Newtonsoft.Json.Linq;
|
2021-10-25 08:18:02 +02:00
|
|
|
|
|
|
|
namespace BTCPayServer.Payments
|
|
|
|
{
|
2024-04-04 16:31:04 +09:00
|
|
|
public class LNURLPayPaymentMethodDetails : LigthningPaymentPromptDetails
|
2021-10-25 08:18:02 +02:00
|
|
|
{
|
|
|
|
[JsonConverter(typeof(LightMoneyJsonConverter))]
|
|
|
|
public LightMoney GeneratedBoltAmount { get; set; }
|
|
|
|
public bool Bech32Mode { get; set; }
|
|
|
|
|
|
|
|
public string ProvidedComment { get; set; }
|
2021-10-29 11:01:16 +02:00
|
|
|
public string ConsumedLightningAddress { get; set; }
|
2023-04-12 16:30:22 +09:00
|
|
|
public LNURLPayRequest PayRequest { get; set; }
|
2021-10-25 08:18:02 +02:00
|
|
|
}
|
|
|
|
}
|