PaymentAcknowledgedResponse class

Response to payment acknowledgment

Inheritance

Constructors

PaymentAcknowledgedResponse({required String channelId, int sequenceNumber = 0, String fullySignedPaymentTxHex = '', bool repeat = false, required bool success, String? error})

Properties

channelId → String
final
correlationId → String
finalinherited
error → String?
Why the request failed; null when success is true.
final
fullySignedPaymentTxHex → String
The payment, fully signed: the server's own settlement. Its signature alone is never answered, so that nothing hands it to the client (bead libspiffy-pkg5).
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>
finalinherited
payload → dynamic
The reply itself, so ask<ConcreteResponse>() completes with it.
no setterinherited
repeat → bool
The payment was one this server had already acknowledged: a client resends a payment until its payment_ack arrives, and the ack may be what was lost. Nothing was journaled; sequenceNumber is the latest payment the server holds, which the client is acknowledged again.
final
replyTo → ActorRef?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → ActorRef?
finalinherited
sequenceNumber → int
final
success → bool
Whether the request this reply answers succeeded.
final
timestamp → DateTime
finalinherited

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