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 longamountMsats()java.lang.Stringdescription()java.lang.StringdescriptionHash()booleanequals(java.lang.Object o)java.time.Durationexpiry()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-