InvestmentTransaction constructor

InvestmentTransaction({
  1. required String investmentTransactionId,
  2. String? cancelTransactionId,
  3. required String accountId,
  4. required String? securityId,
  5. required DateTime date,
  6. required String name,
  7. required double quantity,
  8. required double amount,
  9. required double price,
  10. required double? fees,
  11. required InvestmentTransactionType type,
  12. required InvestmentTransactionSubtype subtype,
  13. required String? isoCurrencyCode,
  14. required String? unofficialCurrencyCode,
})

Implementation

InvestmentTransaction({
  required this.investmentTransactionId,
  this.cancelTransactionId,
  required this.accountId,
  required this.securityId,
  required this.date,
  required this.name,
  required this.quantity,
  required this.amount,
  required this.price,
  required this.fees,
  required this.type,
  required this.subtype,
  required this.isoCurrencyCode,
  required this.unofficialCurrencyCode,
});