btcpayserver/BTCPayServer/Data/Payouts/LightningLike/LNURLPayClaimDestinaton.cs

20 lines
480 B
C#
Raw Normal View History

2021-12-31 08:59:02 +01:00
namespace BTCPayServer.Data.Payouts.LightningLike
{
2021-12-31 08:59:02 +01:00
public class LNURLPayClaimDestinaton : ILightningLikeLikeClaimDestination
{
public LNURLPayClaimDestinaton(string lnurl)
{
LNURL = lnurl;
}
public string Id => null; //lnurls are reusable
public decimal? Amount { get; } = null;
public string LNURL { get; set; }
public override string ToString()
{
return LNURL;
}
}
}