InvestmentTransaction class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

InvestmentTransaction({required String investmentTransactionId, String? cancelTransactionId, required String accountId, required String? securityId, required DateTime date, required String name, required double quantity, required double amount, required double price, required double? fees, required InvestmentTransactionType type, required InvestmentTransactionSubtype subtype, required String? isoCurrencyCode, required String? unofficialCurrencyCode})
InvestmentTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

accountId String
final
amount double
final
cancelTransactionId String?
final
date DateTime
final
fees double?
final
hashCode int
The hash code for this object.
no setteroverride
investmentTransactionId String
final
isoCurrencyCode String?
final
name String
final
price double
final
quantity double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityId String?
final
subtype InvestmentTransactionSubtype
final
type InvestmentTransactionType
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 InvestmentTransaction Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(InvestmentTransaction instance)