mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 22:58:28 +01:00
23 lines
580 B
C#
23 lines
580 B
C#
|
#nullable enable
|
||
|
using System;
|
||
|
using BTCPayServer.Lightning;
|
||
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace BTCPayServer.Payments.Lightning
|
||
|
{
|
||
|
public class LNURLPaySupportedPaymentMethod : ISupportedPaymentMethod
|
||
|
{
|
||
|
public string CryptoCode { get; set; } = string.Empty;
|
||
|
|
||
|
[JsonIgnore]
|
||
|
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, PaymentTypes.LNURLPay);
|
||
|
|
||
|
public bool UseBech32Scheme { get; set; }
|
||
|
|
||
|
public bool EnableForStandardInvoices { get; set; } = false;
|
||
|
|
||
|
public bool LUD12Enabled { get; set; } = true;
|
||
|
|
||
|
}
|
||
|
}
|