Package ru.tinkoff.piapi.contract.v1
Interface OperationTradeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationTrade,OperationTrade.Builder
public interface OperationTradeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampДата и время сделки в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата и время сделки в часовом поясе UTC.getPrice()Цена за 1 инструмент.Цена за 1 инструмент.longКоличество инструментов.Идентификатор сделки.com.google.protobuf.ByteStringИдентификатор сделки.booleanДата и время сделки в часовом поясе UTC.booleanhasPrice()Цена за 1 инструмент.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTradeId
String getTradeId()Идентификатор сделки.
string trade_id = 1;- Returns:
- The tradeId.
-
getTradeIdBytes
com.google.protobuf.ByteString getTradeIdBytes()Идентификатор сделки.
string trade_id = 1;- Returns:
- The bytes for tradeId.
-
hasDateTime
boolean hasDateTime()Дата и время сделки в часовом поясе UTC.
.google.protobuf.Timestamp date_time = 2;- Returns:
- Whether the dateTime field is set.
-
getDateTime
com.google.protobuf.Timestamp getDateTime()Дата и время сделки в часовом поясе UTC.
.google.protobuf.Timestamp date_time = 2;- Returns:
- The dateTime.
-
getDateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getDateTimeOrBuilder()Дата и время сделки в часовом поясе UTC.
.google.protobuf.Timestamp date_time = 2; -
getQuantity
long getQuantity()Количество инструментов.
int64 quantity = 3;- Returns:
- The quantity.
-
hasPrice
boolean hasPrice()Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 4;- Returns:
- Whether the price field is set.
-
getPrice
MoneyValue getPrice()Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 4;- Returns:
- The price.
-
getPriceOrBuilder
MoneyValueOrBuilder getPriceOrBuilder()Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 4;
-