mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
20 lines
480 B
C#
20 lines
480 B
C#
namespace BTCPayServer.Data.Payouts.LightningLike
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
}
|