Class InvoiceData

java.lang.Object
org.ngengine.wallets.InvoiceData

public class InvoiceData extends Object
  • Constructor Details

  • Method Details

    • type

      @Nonnull public InvoiceType type()
    • invoice

      @Nullable public String invoice()
    • description

      @Nullable public String description()
    • descriptionHash

      @Nullable public String descriptionHash()
    • preimage

      @Nullable public String preimage()
    • paymentHash

      @Nonnull public String paymentHash()
    • amountMsats

      public long amountMsats()
    • feesPaid

      public long feesPaid()
    • createdAt

      @Nonnull public Instant createdAt()
    • expiresAt

      @Nullable public Instant expiresAt()
    • settledAt

      @Nullable public Instant settledAt()
    • metadata

      @Nullable public Map<String,Object> metadata()
    • comment

      public String comment()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object