Transaction class

Implementers
Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Transaction({TransactionTransactionType? transactionType, String? transactionId, String? accountOwner, String? pendingTransactionId, bool? pending, TransactionPaymentChannel? paymentChannel, PaymentMeta? paymentMeta, String? name, String? merchantName, Location? location, String? authorizedDate, String? authorizedDatetime, String? date, String? datetime, String? categoryId, List<String>? category, String? unofficialCurrencyCode, String? isoCurrencyCode, double? amount, String? accountId, TransactionCode? transactionCode, String? originalDescription})
Transaction.fromJson(Map<String, dynamic> json)
factory

Properties

accountId String?
final
accountOwner String?
final
amount double?
final
authorizedDate String?
final
authorizedDatetime String?
final
category List<String>?
final
categoryId String?
final
date String?
final
datetime String?
final
hashCode int
The hash code for this object.
no setterinherited
isoCurrencyCode String?
final
location Location?
final
merchantName String?
final
name String?
final
originalDescription String?
final
paymentChannel TransactionPaymentChannel?
final
paymentMeta PaymentMeta?
final
pending bool?
final
pendingTransactionId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionCode TransactionCode?
final
transactionId String?
final
transactionType TransactionTransactionType?
final
unofficialCurrencyCode String?
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.
inherited

Operators

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

Constants

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