btcpayserver/BTCPayServer/Data/Payouts/LightningLike/LNURLPayClaimDestinaton.cs
2021-12-31 16:59:02 +09:00

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;
}
}
}