Package ru.tinkoff.piapi.contract.v1
Interface GetOperationsByCursorRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetOperationsByCursorRequest,GetOperationsByCursorRequest.Builder
public interface GetOperationsByCursorRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionИдентификатор счёта клиента.com.google.protobuf.ByteStringИдентификатор счёта клиента.Идентификатор элемента, с которого начать формировать ответ.com.google.protobuf.ByteStringИдентификатор элемента, с которого начать формировать ответ.com.google.protobuf.TimestampgetFrom()Начало периода (по UTC).com.google.protobuf.TimestampOrBuilderНачало периода (по UTC).Идентификатор инструмента (Figi инструмента или uid инструмента)com.google.protobuf.ByteStringИдентификатор инструмента (Figi инструмента или uid инструмента)intgetLimit()Лимит количества операций.getOperationTypes(int index) Тип операции.intТип операции.Тип операции.intgetOperationTypesValue(int index) Тип операции.Тип операции.getState()Статус запрашиваемых операций, возможные значения указаны в OperationState.intСтатус запрашиваемых операций, возможные значения указаны в OperationState.com.google.protobuf.TimestampgetTo()Окончание периода (по UTC).com.google.protobuf.TimestampOrBuilderОкончание периода (по UTC).booleanФлаг возвращать ли комиссии, по умолчанию falsebooleanФлаг не показывать overnight операций.booleanФлаг получения ответа без массива сделок.booleanhasFrom()Начало периода (по UTC).booleanhasTo()Окончание периода (по UTC).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
-
getAccountId
String getAccountId()Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны.
string account_id = 1;- Returns:
- The accountId.
-
getAccountIdBytes
com.google.protobuf.ByteString getAccountIdBytes()Идентификатор счёта клиента. Обязательный параметр для данного метода, остальные параметры опциональны.
string account_id = 1;- Returns:
- The bytes for accountId.
-
getInstrumentId
String getInstrumentId()Идентификатор инструмента (Figi инструмента или uid инструмента)
string instrument_id = 2;- Returns:
- The instrumentId.
-
getInstrumentIdBytes
com.google.protobuf.ByteString getInstrumentIdBytes()Идентификатор инструмента (Figi инструмента или uid инструмента)
string instrument_id = 2;- Returns:
- The bytes for instrumentId.
-
hasFrom
boolean hasFrom()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6;- Returns:
- Whether the from field is set.
-
getFrom
com.google.protobuf.Timestamp getFrom()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6;- Returns:
- The from.
-
getFromOrBuilder
com.google.protobuf.TimestampOrBuilder getFromOrBuilder()Начало периода (по UTC).
.google.protobuf.Timestamp from = 6; -
hasTo
boolean hasTo()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7;- Returns:
- Whether the to field is set.
-
getTo
com.google.protobuf.Timestamp getTo()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7;- Returns:
- The to.
-
getToOrBuilder
com.google.protobuf.TimestampOrBuilder getToOrBuilder()Окончание периода (по UTC).
.google.protobuf.Timestamp to = 7; -
getCursor
String getCursor()Идентификатор элемента, с которого начать формировать ответ.
string cursor = 11;- Returns:
- The cursor.
-
getCursorBytes
com.google.protobuf.ByteString getCursorBytes()Идентификатор элемента, с которого начать формировать ответ.
string cursor = 11;- Returns:
- The bytes for cursor.
-
getLimit
int getLimit()Лимит количества операций. По умолчанию устанавливается значение **100**, максимальное значение 1000.
int32 limit = 12;- Returns:
- The limit.
-
getOperationTypesList
List<OperationType> getOperationTypesList()Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Returns:
- A list containing the operationTypes.
-
getOperationTypesCount
int getOperationTypesCount()Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Returns:
- The count of operationTypes.
-
getOperationTypes
Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Parameters:
index- The index of the element to return.- Returns:
- The operationTypes at the given index.
-
getOperationTypesValueList
Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Returns:
- A list containing the enum numeric values on the wire for operationTypes.
-
getOperationTypesValue
int getOperationTypesValue(int index) Тип операции. Принимает значение из списка OperationType.
repeated .tinkoff.public.invest.api.contract.v1.OperationType operation_types = 13;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of operationTypes at the given index.
-
getStateValue
int getStateValue()Статус запрашиваемых операций, возможные значения указаны в OperationState.
.tinkoff.public.invest.api.contract.v1.OperationState state = 14;- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationState getState()Статус запрашиваемых операций, возможные значения указаны в OperationState.
.tinkoff.public.invest.api.contract.v1.OperationState state = 14;- Returns:
- The state.
-
getWithoutCommissions
boolean getWithoutCommissions()Флаг возвращать ли комиссии, по умолчанию false
bool without_commissions = 15;- Returns:
- The withoutCommissions.
-
getWithoutTrades
boolean getWithoutTrades()Флаг получения ответа без массива сделок.
bool without_trades = 16;- Returns:
- The withoutTrades.
-
getWithoutOvernights
boolean getWithoutOvernights()Флаг не показывать overnight операций.
bool without_overnights = 17;- Returns:
- The withoutOvernights.
-