Transaction class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

accountId String
final
accountOwner String?
final
amount double
final
authorizedDate DateTime?
final
authorizedDatetime DateTime?
final
category List<String>?
final
categoryId String?
final
checkNumber String?
final
date DateTime
final
datetime DateTime?
final
hashCode int
The hash code for this object.
no setteroverride
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
personalFinanceCategory PersonalFinanceCategory?
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.
override

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)