Package ru.tinkoff.piapi.contract.v1
Interface OperationItemOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationItem,OperationItem.Builder
public interface OperationItemOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionНакопленный купонный доход.Накопленный купонный доход.Идентификатор активаcom.google.protobuf.ByteStringИдентификатор активаНомер счета клиента.com.google.protobuf.ByteStringНомер счета клиента.com.google.protobuf.TimestampДата и время снятия заявки.com.google.protobuf.TimestampOrBuilderДата и время снятия заявки.Причина отмены операции.com.google.protobuf.ByteStringПричина отмены операции.Комиссия.Комиссия.Курсор.com.google.protobuf.ByteStringКурсор.com.google.protobuf.TimestampgetDate()Дата поручения.com.google.protobuf.TimestampOrBuilderДата поручения.Описание операции.com.google.protobuf.ByteStringОписание операции.getFigi()Figi.com.google.protobuf.ByteStringFigi.getId()Идентификатор операции, может меняться с течением времени.com.google.protobuf.ByteStringИдентификатор операции, может меняться с течением времени.Тип инструмента.intТип инструмента.Тип инструмента.com.google.protobuf.ByteStringТип инструмента.Уникальный идентификатор инструмента.com.google.protobuf.ByteStringУникальный идентификатор инструмента.getName()Название операции.com.google.protobuf.ByteStringНазвание операции.Идентификатор родительской операции, может измениться, если изменился id родительской операции.com.google.protobuf.ByteStringИдентификатор родительской операции, может измениться, если изменился id родительской операции.Сумма операции.Сумма операции.getPrice()Цена операции за 1 инструмент.Цена операции за 1 инструмент.longКоличество единиц инструмента.longИсполненный остаток.longНеисполненный остаток по сделке.getState()Статус поручения.intСтатус поручения.Массив сделок.Массив сделок.getType()Тип операции.intТип операции.getYield()Доходность.Доходность.Относительная доходность.Относительная доходность.booleanНакопленный купонный доход.booleanДата и время снятия заявки.booleanКомиссия.booleanhasDate()Дата поручения.booleanСумма операции.booleanhasPrice()Цена операции за 1 инструмент.booleanМассив сделок.booleanhasYield()Доходность.booleanОтносительная доходность.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
-
getCursor
String getCursor()Курсор.
string cursor = 1;- Returns:
- The cursor.
-
getCursorBytes
com.google.protobuf.ByteString getCursorBytes()Курсор.
string cursor = 1;- Returns:
- The bytes for cursor.
-
getBrokerAccountId
String getBrokerAccountId()Номер счета клиента.
string broker_account_id = 6;- Returns:
- The brokerAccountId.
-
getBrokerAccountIdBytes
com.google.protobuf.ByteString getBrokerAccountIdBytes()Номер счета клиента.
string broker_account_id = 6;- Returns:
- The bytes for brokerAccountId.
-
getId
String getId()Идентификатор операции, может меняться с течением времени.
string id = 16;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Идентификатор операции, может меняться с течением времени.
string id = 16;- Returns:
- The bytes for id.
-
getParentOperationId
String getParentOperationId()Идентификатор родительской операции, может измениться, если изменился id родительской операции.
string parent_operation_id = 17;- Returns:
- The parentOperationId.
-
getParentOperationIdBytes
com.google.protobuf.ByteString getParentOperationIdBytes()Идентификатор родительской операции, может измениться, если изменился id родительской операции.
string parent_operation_id = 17;- Returns:
- The bytes for parentOperationId.
-
getName
String getName()Название операции.
string name = 18;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Название операции.
string name = 18;- Returns:
- The bytes for name.
-
hasDate
boolean hasDate()Дата поручения.
.google.protobuf.Timestamp date = 21;- Returns:
- Whether the date field is set.
-
getDate
com.google.protobuf.Timestamp getDate()Дата поручения.
.google.protobuf.Timestamp date = 21;- Returns:
- The date.
-
getDateOrBuilder
com.google.protobuf.TimestampOrBuilder getDateOrBuilder()Дата поручения.
.google.protobuf.Timestamp date = 21; -
getTypeValue
int getTypeValue()Тип операции.
.tinkoff.public.invest.api.contract.v1.OperationType type = 22;- Returns:
- The enum numeric value on the wire for type.
-
getType
OperationType getType()Тип операции.
.tinkoff.public.invest.api.contract.v1.OperationType type = 22;- Returns:
- The type.
-
getDescription
String getDescription()Описание операции.
string description = 23;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Описание операции.
string description = 23;- Returns:
- The bytes for description.
-
getStateValue
int getStateValue()Статус поручения.
.tinkoff.public.invest.api.contract.v1.OperationState state = 24;- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationState getState()Статус поручения.
.tinkoff.public.invest.api.contract.v1.OperationState state = 24;- Returns:
- The state.
-
getInstrumentUid
String getInstrumentUid()Уникальный идентификатор инструмента.
string instrument_uid = 31;- Returns:
- The instrumentUid.
-
getInstrumentUidBytes
com.google.protobuf.ByteString getInstrumentUidBytes()Уникальный идентификатор инструмента.
string instrument_uid = 31;- Returns:
- The bytes for instrumentUid.
-
getFigi
String getFigi()Figi.
string figi = 32;- Returns:
- The figi.
-
getFigiBytes
com.google.protobuf.ByteString getFigiBytes()Figi.
string figi = 32;- Returns:
- The bytes for figi.
-
getInstrumentType
String getInstrumentType()Тип инструмента.
string instrument_type = 33;- Returns:
- The instrumentType.
-
getInstrumentTypeBytes
com.google.protobuf.ByteString getInstrumentTypeBytes()Тип инструмента.
string instrument_type = 33;- Returns:
- The bytes for instrumentType.
-
getInstrumentKindValue
int getInstrumentKindValue()Тип инструмента.
.tinkoff.public.invest.api.contract.v1.InstrumentType instrument_kind = 34;- Returns:
- The enum numeric value on the wire for instrumentKind.
-
getInstrumentKind
InstrumentType getInstrumentKind()Тип инструмента.
.tinkoff.public.invest.api.contract.v1.InstrumentType instrument_kind = 34;- Returns:
- The instrumentKind.
-
hasPayment
boolean hasPayment()Сумма операции.
.tinkoff.public.invest.api.contract.v1.MoneyValue payment = 41;- Returns:
- Whether the payment field is set.
-
getPayment
MoneyValue getPayment()Сумма операции.
.tinkoff.public.invest.api.contract.v1.MoneyValue payment = 41;- Returns:
- The payment.
-
getPaymentOrBuilder
MoneyValueOrBuilder getPaymentOrBuilder()Сумма операции.
.tinkoff.public.invest.api.contract.v1.MoneyValue payment = 41; -
hasPrice
boolean hasPrice()Цена операции за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 42;- Returns:
- Whether the price field is set.
-
getPrice
MoneyValue getPrice()Цена операции за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 42;- Returns:
- The price.
-
getPriceOrBuilder
MoneyValueOrBuilder getPriceOrBuilder()Цена операции за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.MoneyValue price = 42; -
hasCommission
boolean hasCommission()Комиссия.
.tinkoff.public.invest.api.contract.v1.MoneyValue commission = 43;- Returns:
- Whether the commission field is set.
-
getCommission
MoneyValue getCommission()Комиссия.
.tinkoff.public.invest.api.contract.v1.MoneyValue commission = 43;- Returns:
- The commission.
-
getCommissionOrBuilder
MoneyValueOrBuilder getCommissionOrBuilder()Комиссия.
.tinkoff.public.invest.api.contract.v1.MoneyValue commission = 43; -
hasYield
boolean hasYield()Доходность.
.tinkoff.public.invest.api.contract.v1.MoneyValue yield = 44;- Returns:
- Whether the yield field is set.
-
getYield
MoneyValue getYield()Доходность.
.tinkoff.public.invest.api.contract.v1.MoneyValue yield = 44;- Returns:
- The yield.
-
getYieldOrBuilder
MoneyValueOrBuilder getYieldOrBuilder()Доходность.
.tinkoff.public.invest.api.contract.v1.MoneyValue yield = 44; -
hasYieldRelative
boolean hasYieldRelative()Относительная доходность.
.tinkoff.public.invest.api.contract.v1.Quotation yield_relative = 45;- Returns:
- Whether the yieldRelative field is set.
-
getYieldRelative
Quotation getYieldRelative()Относительная доходность.
.tinkoff.public.invest.api.contract.v1.Quotation yield_relative = 45;- Returns:
- The yieldRelative.
-
getYieldRelativeOrBuilder
QuotationOrBuilder getYieldRelativeOrBuilder()Относительная доходность.
.tinkoff.public.invest.api.contract.v1.Quotation yield_relative = 45; -
hasAccruedInt
boolean hasAccruedInt()Накопленный купонный доход.
.tinkoff.public.invest.api.contract.v1.MoneyValue accrued_int = 46;- Returns:
- Whether the accruedInt field is set.
-
getAccruedInt
MoneyValue getAccruedInt()Накопленный купонный доход.
.tinkoff.public.invest.api.contract.v1.MoneyValue accrued_int = 46;- Returns:
- The accruedInt.
-
getAccruedIntOrBuilder
MoneyValueOrBuilder getAccruedIntOrBuilder()Накопленный купонный доход.
.tinkoff.public.invest.api.contract.v1.MoneyValue accrued_int = 46; -
getQuantity
long getQuantity()Количество единиц инструмента.
int64 quantity = 51;- Returns:
- The quantity.
-
getQuantityRest
long getQuantityRest()Неисполненный остаток по сделке.
int64 quantity_rest = 52;- Returns:
- The quantityRest.
-
getQuantityDone
long getQuantityDone()Исполненный остаток.
int64 quantity_done = 53;- Returns:
- The quantityDone.
-
hasCancelDateTime
boolean hasCancelDateTime()Дата и время снятия заявки.
.google.protobuf.Timestamp cancel_date_time = 56;- Returns:
- Whether the cancelDateTime field is set.
-
getCancelDateTime
com.google.protobuf.Timestamp getCancelDateTime()Дата и время снятия заявки.
.google.protobuf.Timestamp cancel_date_time = 56;- Returns:
- The cancelDateTime.
-
getCancelDateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCancelDateTimeOrBuilder()Дата и время снятия заявки.
.google.protobuf.Timestamp cancel_date_time = 56; -
getCancelReason
String getCancelReason()Причина отмены операции.
string cancel_reason = 57;- Returns:
- The cancelReason.
-
getCancelReasonBytes
com.google.protobuf.ByteString getCancelReasonBytes()Причина отмены операции.
string cancel_reason = 57;- Returns:
- The bytes for cancelReason.
-
hasTradesInfo
boolean hasTradesInfo()Массив сделок.
.tinkoff.public.invest.api.contract.v1.OperationItemTrades trades_info = 61;- Returns:
- Whether the tradesInfo field is set.
-
getTradesInfo
OperationItemTrades getTradesInfo()Массив сделок.
.tinkoff.public.invest.api.contract.v1.OperationItemTrades trades_info = 61;- Returns:
- The tradesInfo.
-
getTradesInfoOrBuilder
OperationItemTradesOrBuilder getTradesInfoOrBuilder()Массив сделок.
.tinkoff.public.invest.api.contract.v1.OperationItemTrades trades_info = 61; -
getAssetUid
String getAssetUid()Идентификатор актива
string asset_uid = 64;- Returns:
- The assetUid.
-
getAssetUidBytes
com.google.protobuf.ByteString getAssetUidBytes()Идентификатор актива
string asset_uid = 64;- Returns:
- The bytes for assetUid.
-