LnPaymentDetails class
Details of a LN payment, as included in a Payment
Constructors
- LnPaymentDetails({required String paymentHash, required String label, required String destinationPubkey, required String paymentPreimage, required bool keysend, required String bolt11, String? openChannelBolt11, SuccessActionProcessed? lnurlSuccessAction, String? lnurlPayDomain, String? lnurlPayComment, String? lnAddress, String? lnurlMetadata, String? lnurlWithdrawEndpoint, SwapInfo? swapInfo, ReverseSwapInfo? reverseSwapInfo, int? pendingExpirationBlock})
-
const
Properties
- bolt11 → String
-
final
- destinationPubkey → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keysend → bool
-
final
- label → String
-
final
- lnAddress → String?
-
Only set for
PaymentType::Sent
payments that are sent to a Lightning Addressfinal - lnurlMetadata → String?
-
Only set for
PaymentType::Sent
payments where the receiver endpoint returned LNURL metadatafinal - lnurlPayComment → String?
-
Only set for
PaymentType::Sent
payments if the user sent the comment using LNURL-payfinal - lnurlPayDomain → String?
-
Only set for
PaymentType::Sent
payments if it is not a payment to a Lightning Addressfinal - lnurlSuccessAction → SuccessActionProcessed?
-
Only set for
PaymentType::Sent
payments that are part of a LNURL-pay workflow where the endpoint returns a success actionfinal - lnurlWithdrawEndpoint → String?
-
Only set for
PaymentType::Received
payments that were received as part of LNURL-withdrawfinal - openChannelBolt11 → String?
-
Only set for
PaymentType::Received
, payments which require to open a channel. Represents the actual invoice paid by the senderfinal - paymentHash → String
-
final
- paymentPreimage → String
-
final
- pendingExpirationBlock → int?
-
Only set for
PaymentStatus::Pending
payments that are inflight.final - reverseSwapInfo → ReverseSwapInfo?
-
Only set for
PaymentType::Sent
payments that were sent in the context of a reverse swapfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- swapInfo → SwapInfo?
-
Only set for
PaymentType::Received
payments that were received in the context of a swapfinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited