Operation class

Constructors

Operation(String id, OperationStatus status, List<OperationTrade>? trades, MoneyAmount? commission, Currency currency, double payment, double? price, int? quantity, int? quantityExecuted, String? figi, InstrumentType? instrumentType, DateTime date, OperationTypeWithCommission? operationType, {required bool isMarginCall})
Operation.fromJson(Map<String, dynamic> map)
factory

Properties

commission MoneyAmount?
final
currency Currency
final
date DateTime
final
figi String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
instrumentType InstrumentType?
final
isMarginCall bool
final
operationType OperationTypeWithCommission?
final
payment double
final
price double?
final
quantity int?
Число инструментов в выставленной заявке.
final
quantityExecuted int?
Число инструментов, исполненных в заявке.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status OperationStatus
Статус заявки.
final
trades List<OperationTrade>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited