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()
- Alphabetic
- By Inheritance
- AddHoldInvoiceRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllRouteHints(__vs: Iterable[RouteHint]): AddHoldInvoiceRequest
- def addRouteHints(__vs: RouteHint*): AddHoldInvoiceRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearRouteHints: AddHoldInvoiceRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cltvExpiry: Long
- def companion: AddHoldInvoiceRequest.type
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- val descriptionHash: ByteString
- def discardUnknownFields: AddHoldInvoiceRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expiry: Long
- val fallbackAddr: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- val hash: ByteString
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val memo: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val private: Boolean
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val routeHints: Seq[RouteHint]
- def serializedSize: Int
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[AddHoldInvoiceRequest, AddHoldInvoiceRequest]) => Mutation[AddHoldInvoiceRequest]*): AddHoldInvoiceRequest
- Definition Classes
- Updatable
- val value: Long
- val valueMsat: Long
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCltvExpiry(__v: Long): AddHoldInvoiceRequest
- def withDescriptionHash(__v: ByteString): AddHoldInvoiceRequest
- def withExpiry(__v: Long): AddHoldInvoiceRequest
- def withFallbackAddr(__v: String): AddHoldInvoiceRequest
- def withHash(__v: ByteString): AddHoldInvoiceRequest
- def withMemo(__v: String): AddHoldInvoiceRequest
- def withPrivate(__v: Boolean): AddHoldInvoiceRequest
- def withRouteHints(__v: Seq[RouteHint]): AddHoldInvoiceRequest
- def withUnknownFields(__v: UnknownFieldSet): AddHoldInvoiceRequest
- def withValue(__v: Long): AddHoldInvoiceRequest
- def withValueMsat(__v: Long): AddHoldInvoiceRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AddHoldInvoiceRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage