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
-
copyWith(
{String? investmentTransactionId, String? cancelTransactionId, String? accountId, String? securityId, DateTime? date, String? name, double? quantity, double? amount, double? price, double? fees, InvestmentTransactionType? type, InvestmentTransactionSubtype? subtype, String? isoCurrencyCode, String? unofficialCurrencyCode}) → InvestmentTransaction -
Available on InvestmentTransaction, provided by the $InvestmentTransactionExtension extension
-
copyWithWrapped(
{Wrapped< String> ? investmentTransactionId, Wrapped<String?> ? cancelTransactionId, Wrapped<String> ? accountId, Wrapped<String?> ? securityId, Wrapped<DateTime> ? date, Wrapped<String> ? name, Wrapped<double> ? quantity, Wrapped<double> ? amount, Wrapped<double> ? price, Wrapped<double?> ? fees, Wrapped<InvestmentTransactionType> ? type, Wrapped<InvestmentTransactionSubtype> ? subtype, Wrapped<String?> ? isoCurrencyCode, Wrapped<String?> ? unofficialCurrencyCode}) → InvestmentTransaction -
Available on InvestmentTransaction, provided by the $InvestmentTransactionExtension 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 InvestmentTransaction Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(InvestmentTransaction instance)