InvoiceCreatedEvent class
Invoice created successfully
- Inheritance
-
- Object
- CoordinatorEvent
- InvoiceCreatedEvent
Constructors
-
InvoiceCreatedEvent({required String walletId, required String invoiceId, required List<
String> addresses, required BigInt amount, List<InvoiceOutputSpec> ? outputs, List<IssuedAddress> issuedAddresses = const [], String? description, DateTime? expiresAt, required bool success, String? error})
Properties
-
addresses
→ List<
String> -
final
- amount → BigInt
-
final
- description → String?
-
final
- error → String?
-
final
- eventTimestamp → DateTime
-
Timestamp of the event
no setteroverride
- expiresAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceId → String
-
final
-
issuedAddresses
→ List<
IssuedAddress> -
The addresses the wallet issued for the invoice, each with its chain
and derivation index (bead libspiffy-m8qu). The chain is the payment
mode (spv-understanding.md, "Payment modes"): receive for a wallet
that holds its keys; delegated for a service's xpub wallet answering
for an offline payee, which hands the payment over later with the
index (TransactionExportedEvent.delegatedIndices carries it too). An
address the caller supplied in an output is not among them.
final
-
outputs
→ List<
InvoiceOutputSpec> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
final
- walletId → String
-
Optional wallet ID for filtering events by wallet
final
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