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
-
final
-
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
-
copyWith(
{TransactionPaymentChannel? paymentChannel, DateTime? authorizedDate, DateTime? authorizedDatetime, DateTime? datetime, TransactionCode? transactionCode, PersonalFinanceCategory? personalFinanceCategory, TransactionTransactionType? transactionType, String? pendingTransactionId, String? categoryId, List< String> ? category, Location? location, PaymentMeta? paymentMeta, String? accountOwner, String? name, String? originalDescription, String? accountId, double? amount, String? isoCurrencyCode, String? unofficialCurrencyCode, DateTime? date, bool? pending, String? transactionId, String? merchantName, String? checkNumber}) → Transaction -
Available on Transaction, provided by the $TransactionExtension extension
-
copyWithWrapped(
{Wrapped< TransactionPaymentChannel> ? paymentChannel, Wrapped<DateTime?> ? authorizedDate, Wrapped<DateTime?> ? authorizedDatetime, Wrapped<DateTime?> ? datetime, Wrapped<TransactionCode?> ? transactionCode, Wrapped<PersonalFinanceCategory?> ? personalFinanceCategory, Wrapped<TransactionTransactionType?> ? transactionType, Wrapped<String?> ? pendingTransactionId, Wrapped<String?> ? categoryId, Wrapped<List< ? category, Wrapped<String> ?>Location> ? location, Wrapped<PaymentMeta> ? paymentMeta, Wrapped<String?> ? accountOwner, Wrapped<String> ? name, Wrapped<String?> ? originalDescription, Wrapped<String> ? accountId, Wrapped<double> ? amount, Wrapped<String?> ? isoCurrencyCode, Wrapped<String?> ? unofficialCurrencyCode, Wrapped<DateTime> ? date, Wrapped<bool> ? pending, Wrapped<String> ? transactionId, Wrapped<String?> ? merchantName, Wrapped<String?> ? checkNumber}) → Transaction -
Available on Transaction, provided by the $TransactionExtension 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 Transaction Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Transaction instance)