Package org.ngengine.lnurl
Interface LnUrlService
-
- All Known Implementing Classes:
LnUrlException,LnUrlPay,LnUrlVerify
public interface LnUrlServiceA generic interface to implement LNURL service clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()A human readable name for the service.java.util.Map<java.lang.String,java.lang.Object>toMap()Return the serializable representation of this service
-
-
-
Method Detail
-
toMap
java.util.Map<java.lang.String,java.lang.Object> toMap()
Return the serializable representation of this service- Returns:
- the service data, the same way it was received from the LNURL endpoint.
-
getName
java.lang.String getName()
A human readable name for the service. Used for debugging and logging purposes.- Returns:
- the name of the service
-
-