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
-
copyWith(
{String? transactionId, String? reference, WalletTransactionType? type, WalletTransactionAmount? amount, WalletTransactionCounterparty? counterparty, WalletTransactionStatus? status, DateTime? createdAt, DateTime? lastStatusUpdate, String? paymentId}) → WalletTransaction -
Available on WalletTransaction, provided by the $WalletTransactionExtension extension
-
copyWithWrapped(
{Wrapped< String> ? transactionId, Wrapped<String> ? reference, Wrapped<WalletTransactionType> ? type, Wrapped<WalletTransactionAmount> ? amount, Wrapped<WalletTransactionCounterparty> ? counterparty, Wrapped<WalletTransactionStatus> ? status, Wrapped<DateTime> ? createdAt, Wrapped<DateTime> ? lastStatusUpdate, Wrapped<String?> ? paymentId}) → WalletTransaction -
Available on WalletTransaction, provided by the $WalletTransactionExtension extension
-
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)