Transaction constructor
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,
Implementation
Transaction({
required this.paymentChannel,
required this.authorizedDate,
required this.authorizedDatetime,
required this.datetime,
required this.transactionCode,
this.personalFinanceCategory,
this.transactionType,
required this.pendingTransactionId,
required this.categoryId,
required this.category,
required this.location,
required this.paymentMeta,
required this.accountOwner,
required this.name,
this.originalDescription,
required this.accountId,
required this.amount,
required this.isoCurrencyCode,
required this.unofficialCurrencyCode,
required this.date,
required this.pending,
required this.transactionId,
this.merchantName,
this.checkNumber,
});