WalletTransaction class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

WalletTransaction({required String transactionId, required String reference, required WalletTransactionType type, required WalletTransactionAmount amount, required WalletTransactionCounterparty counterparty, required WalletTransactionStatus status, required DateTime createdAt, required DateTime lastStatusUpdate, String? paymentId})
WalletTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

amount WalletTransactionAmount
final
counterparty WalletTransactionCounterparty
final
createdAt DateTime
final
hashCode int
The hash code for this object.
no setteroverride
lastStatusUpdate DateTime
final
paymentId String?
final
reference String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status WalletTransactionStatus
final
transactionId String
final
type WalletTransactionType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const WalletTransaction Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(WalletTransaction instance)