final case class AddHoldInvoiceRequest(memo: String = "", hash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, value: Long = 0L, valueMsat: Long = 0L, descriptionHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, expiry: Long = 0L, fallbackAddr: String = "", cltvExpiry: Long = 0L, routeHints: Seq[RouteHint] = _root_.scala.Seq.empty, private: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[AddHoldInvoiceRequest] with Product with Serializable

memo

An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.

hash

The hash of the preimage

value

The value of this invoice in satoshis The fields value and value_msat are mutually exclusive.

valueMsat

The value of this invoice in millisatoshis The fields value and value_msat are mutually exclusive.

descriptionHash

Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field of an encoded payment request.

expiry

Payment request expiry time in seconds. Default is 86400 (24 hours).

fallbackAddr

Fallback on-chain address.

cltvExpiry

Delta to use for the time-lock of the CLTV extended to the final hop.

routeHints

Route hints that can each be individually used to assist in reaching the invoice's destination.

private

Whether this invoice should include routing hints for private channels.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddHoldInvoiceRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AddHoldInvoiceRequest(memo: String = "", hash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, value: Long = 0L, valueMsat: Long = 0L, descriptionHash: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, expiry: Long = 0L, fallbackAddr: String = "", cltvExpiry: Long = 0L, routeHints: Seq[RouteHint] = _root_.scala.Seq.empty, private: Boolean = false, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    memo

    An optional memo to attach along with the invoice. Used for record keeping purposes for the invoice's creator, and will also be set in the description field of the encoded payment request if the description_hash field is not being used.

    hash

    The hash of the preimage

    value

    The value of this invoice in satoshis The fields value and value_msat are mutually exclusive.

    valueMsat

    The value of this invoice in millisatoshis The fields value and value_msat are mutually exclusive.

    descriptionHash

    Hash (SHA-256) of a description of the payment. Used if the description of payment (memo) is too long to naturally fit within the description field of an encoded payment request.

    expiry

    Payment request expiry time in seconds. Default is 86400 (24 hours).

    fallbackAddr

    Fallback on-chain address.

    cltvExpiry

    Delta to use for the time-lock of the CLTV extended to the final hop.

    routeHints

    Route hints that can each be individually used to assist in reaching the invoice's destination.

    private

    Whether this invoice should include routing hints for private channels.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllRouteHints(__vs: Iterable[RouteHint]): AddHoldInvoiceRequest
  5. def addRouteHints(__vs: RouteHint*): AddHoldInvoiceRequest
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearRouteHints: AddHoldInvoiceRequest
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val cltvExpiry: Long
  10. def companion: AddHoldInvoiceRequest.type
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  11. val descriptionHash: ByteString
  12. def discardUnknownFields: AddHoldInvoiceRequest
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val expiry: Long
  15. val fallbackAddr: String
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  20. val hash: ByteString
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val memo: String
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val private: Boolean
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. val routeHints: Seq[RouteHint]
  29. def serializedSize: Int
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  32. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  33. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  34. def toProtoString: String
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  35. val unknownFields: UnknownFieldSet
  36. def update(ms: (Lens[AddHoldInvoiceRequest, AddHoldInvoiceRequest]) => Mutation[AddHoldInvoiceRequest]*): AddHoldInvoiceRequest
    Definition Classes
    Updatable
  37. val value: Long
  38. val valueMsat: Long
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. def withCltvExpiry(__v: Long): AddHoldInvoiceRequest
  43. def withDescriptionHash(__v: ByteString): AddHoldInvoiceRequest
  44. def withExpiry(__v: Long): AddHoldInvoiceRequest
  45. def withFallbackAddr(__v: String): AddHoldInvoiceRequest
  46. def withHash(__v: ByteString): AddHoldInvoiceRequest
  47. def withMemo(__v: String): AddHoldInvoiceRequest
  48. def withPrivate(__v: Boolean): AddHoldInvoiceRequest
  49. def withRouteHints(__v: Seq[RouteHint]): AddHoldInvoiceRequest
  50. def withUnknownFields(__v: UnknownFieldSet): AddHoldInvoiceRequest
  51. def withValue(__v: Long): AddHoldInvoiceRequest
  52. def withValueMsat(__v: Long): AddHoldInvoiceRequest
  53. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  54. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AddHoldInvoiceRequest → GeneratedMessage
  55. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped