Package org.ngengine.wallets
Class InvoiceProperties
- java.lang.Object
-
- org.ngengine.wallets.InvoiceProperties
-
public class InvoiceProperties extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InvoiceProperties(long amountMsats, java.lang.String description, java.lang.String descriptionHash, java.time.Duration expiry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
amountMsats()
java.lang.String
description()
java.lang.String
descriptionHash()
boolean
equals(java.lang.Object o)
java.time.Duration
expiry()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
amountMsats
public long amountMsats()
-
description
@Nullable public java.lang.String description()
-
descriptionHash
@Nullable public java.lang.String descriptionHash()
-
expiry
@Nullable public java.time.Duration expiry()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-