Packages

final case class Payment(paymentHash: String = "", value: Long = 0L, creationDate: Long = 0L, fee: Long = 0L, paymentPreimage: String = "", valueSat: Long = 0L, valueMsat: Long = 0L, paymentRequest: String = "", status: PaymentStatus = lnrpc.Payment.PaymentStatus.UNKNOWN, feeSat: Long = 0L, feeMsat: Long = 0L, creationTimeNs: Long = 0L, htlcs: Seq[HTLCAttempt] = _root_.scala.Seq.empty, paymentIndex: UInt64 = lnrpc.Payment._typemapper_paymentIndex.toCustom(0L), failureReason: PaymentFailureReason = lnrpc.PaymentFailureReason.FAILURE_REASON_NONE, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Payment] with Product with Serializable

paymentHash

The payment hash

value

Deprecated, use value_sat or value_msat.

creationDate

Deprecated, use creation_time_ns

fee

Deprecated, use fee_sat or fee_msat.

paymentPreimage

The payment preimage

valueSat

The value of the payment in satoshis

valueMsat

The value of the payment in milli-satoshis

paymentRequest

The optional payment request being fulfilled.

status

The status of the payment.

feeSat

The fee paid for this payment in satoshis

feeMsat

The fee paid for this payment in milli-satoshis

creationTimeNs

The time in UNIX nanoseconds at which the payment was created.

htlcs

The HTLCs made in attempt to settle the payment.

paymentIndex

The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Payment
  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 Payment(paymentHash: String = "", value: Long = 0L, creationDate: Long = 0L, fee: Long = 0L, paymentPreimage: String = "", valueSat: Long = 0L, valueMsat: Long = 0L, paymentRequest: String = "", status: PaymentStatus = lnrpc.Payment.PaymentStatus.UNKNOWN, feeSat: Long = 0L, feeMsat: Long = 0L, creationTimeNs: Long = 0L, htlcs: Seq[HTLCAttempt] = _root_.scala.Seq.empty, paymentIndex: UInt64 = lnrpc.Payment._typemapper_paymentIndex.toCustom(0L), failureReason: PaymentFailureReason = lnrpc.PaymentFailureReason.FAILURE_REASON_NONE, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    paymentHash

    The payment hash

    value

    Deprecated, use value_sat or value_msat.

    creationDate

    Deprecated, use creation_time_ns

    fee

    Deprecated, use fee_sat or fee_msat.

    paymentPreimage

    The payment preimage

    valueSat

    The value of the payment in satoshis

    valueMsat

    The value of the payment in milli-satoshis

    paymentRequest

    The optional payment request being fulfilled.

    status

    The status of the payment.

    feeSat

    The fee paid for this payment in satoshis

    feeMsat

    The fee paid for this payment in milli-satoshis

    creationTimeNs

    The time in UNIX nanoseconds at which the payment was created.

    htlcs

    The HTLCs made in attempt to settle the payment.

    paymentIndex

    The creation index of this payment. Each payment can be uniquely identified by this index, which may not strictly increment by 1 for payments made in older versions of lnd.

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 addAllHtlcs(__vs: Iterable[HTLCAttempt]): Payment
  5. def addHtlcs(__vs: HTLCAttempt*): Payment
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearHtlcs: Payment
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def companion: Payment.type
    Definition Classes
    Payment → GeneratedMessage
  10. val creationTimeNs: Long
  11. def discardUnknownFields: Payment
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val failureReason: PaymentFailureReason
  14. val feeMsat: Long
  15. val feeSat: Long
  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
    Payment → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Payment → GeneratedMessage
  20. val htlcs: Seq[HTLCAttempt]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val paymentHash: String
  26. val paymentIndex: UInt64
  27. val paymentPreimage: String
  28. val paymentRequest: String
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def serializedSize: Int
    Definition Classes
    Payment → GeneratedMessage
  31. val status: PaymentStatus
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  34. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  35. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  36. def toProtoString: String
    Definition Classes
    Payment → GeneratedMessage
  37. val unknownFields: UnknownFieldSet
  38. def update(ms: (Lens[Payment, Payment]) => Mutation[Payment]*): Payment
    Definition Classes
    Updatable
  39. val valueMsat: Long
  40. val valueSat: Long
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. def withCreationDate(__v: Long): Payment
  45. def withCreationTimeNs(__v: Long): Payment
  46. def withFailureReason(__v: PaymentFailureReason): Payment
  47. def withFee(__v: Long): Payment
  48. def withFeeMsat(__v: Long): Payment
  49. def withFeeSat(__v: Long): Payment
  50. def withHtlcs(__v: Seq[HTLCAttempt]): Payment
  51. def withPaymentHash(__v: String): Payment
  52. def withPaymentIndex(__v: UInt64): Payment
  53. def withPaymentPreimage(__v: String): Payment
  54. def withPaymentRequest(__v: String): Payment
  55. def withStatus(__v: PaymentStatus): Payment
  56. def withUnknownFields(__v: UnknownFieldSet): Payment
  57. def withValue(__v: Long): Payment
  58. def withValueMsat(__v: Long): Payment
  59. def withValueSat(__v: Long): Payment
  60. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  61. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Payment → GeneratedMessage
  62. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. val creationDate: Long
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

  2. val fee: Long
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

  3. val value: Long
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[Payment]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped