![JAR search and dependency download from the Maven repository](/logo.png)
ru.tinkoff.piapi.contract.v1.OperationOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: operations.proto
package ru.tinkoff.piapi.contract.v1;
public interface OperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:tinkoff.public.invest.api.contract.v1.Operation)
com.google.protobuf.MessageOrBuilder {
/**
*
*Идентификатор операции.
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
*Идентификатор операции.
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
*Идентификатор родительской операции.
*
*
* string parent_operation_id = 2;
* @return The parentOperationId.
*/
java.lang.String getParentOperationId();
/**
*
*Идентификатор родительской операции.
*
*
* string parent_operation_id = 2;
* @return The bytes for parentOperationId.
*/
com.google.protobuf.ByteString
getParentOperationIdBytes();
/**
*
*Валюта операции.
*
*
* string currency = 3;
* @return The currency.
*/
java.lang.String getCurrency();
/**
*
*Валюта операции.
*
*
* string currency = 3;
* @return The bytes for currency.
*/
com.google.protobuf.ByteString
getCurrencyBytes();
/**
*
*Сумма операции.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
* @return Whether the payment field is set.
*/
boolean hasPayment();
/**
*
*Сумма операции.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
* @return The payment.
*/
ru.tinkoff.piapi.contract.v1.MoneyValue getPayment();
/**
*
*Сумма операции.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
*/
ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getPaymentOrBuilder();
/**
*
*Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
* @return Whether the price field is set.
*/
boolean hasPrice();
/**
*
*Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
* @return The price.
*/
ru.tinkoff.piapi.contract.v1.MoneyValue getPrice();
/**
*
*Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
*
*
* .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
*/
ru.tinkoff.piapi.contract.v1.MoneyValueOrBuilder getPriceOrBuilder();
/**
*
*Статус операции.
*
*
* .tinkoff.public.invest.api.contract.v1.OperationState state = 6;
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*Статус операции.
*
*
* .tinkoff.public.invest.api.contract.v1.OperationState state = 6;
* @return The state.
*/
ru.tinkoff.piapi.contract.v1.OperationState getState();
/**
*
*Количество единиц инструмента.
*
*
* int64 quantity = 7;
* @return The quantity.
*/
long getQuantity();
/**
*
*Неисполненный остаток по сделке.
*
*
* int64 quantity_rest = 8;
* @return The quantityRest.
*/
long getQuantityRest();
/**
*
*Figi-идентификатор инструмента, связанного с операцией.
*
*
* string figi = 9;
* @return The figi.
*/
java.lang.String getFigi();
/**
*
*Figi-идентификатор инструмента, связанного с операцией.
*
*
* string figi = 9;
* @return The bytes for figi.
*/
com.google.protobuf.ByteString
getFigiBytes();
/**
*
*Тип инструмента. Возможные значения: </br>**bond** — облигация; </br>**share** — акция; </br>**currency** — валюта; </br>**etf** — фонд; </br>**futures** — фьючерс.
*
*
* string instrument_type = 10;
* @return The instrumentType.
*/
java.lang.String getInstrumentType();
/**
*
*Тип инструмента. Возможные значения: </br>**bond** — облигация; </br>**share** — акция; </br>**currency** — валюта; </br>**etf** — фонд; </br>**futures** — фьючерс.
*
*
* string instrument_type = 10;
* @return The bytes for instrumentType.
*/
com.google.protobuf.ByteString
getInstrumentTypeBytes();
/**
*
*Дата и время операции в формате часовом поясе UTC.
*
*
* .google.protobuf.Timestamp date = 11;
* @return Whether the date field is set.
*/
boolean hasDate();
/**
*
*Дата и время операции в формате часовом поясе UTC.
*
*
* .google.protobuf.Timestamp date = 11;
* @return The date.
*/
com.google.protobuf.Timestamp getDate();
/**
*
*Дата и время операции в формате часовом поясе UTC.
*
*
* .google.protobuf.Timestamp date = 11;
*/
com.google.protobuf.TimestampOrBuilder getDateOrBuilder();
/**
*
*Текстовое описание типа операции.
*
*
* string type = 12;
* @return The type.
*/
java.lang.String getType();
/**
*
*Текстовое описание типа операции.
*
*
* string type = 12;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
*
*Тип операции.
*
*
* .tinkoff.public.invest.api.contract.v1.OperationType operation_type = 13;
* @return The enum numeric value on the wire for operationType.
*/
int getOperationTypeValue();
/**
*
*Тип операции.
*
*
* .tinkoff.public.invest.api.contract.v1.OperationType operation_type = 13;
* @return The operationType.
*/
ru.tinkoff.piapi.contract.v1.OperationType getOperationType();
/**
*
*Массив сделок.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
*/
java.util.List
getTradesList();
/**
*
*Массив сделок.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
*/
ru.tinkoff.piapi.contract.v1.OperationTrade getTrades(int index);
/**
*
*Массив сделок.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
*/
int getTradesCount();
/**
*
*Массив сделок.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
*/
java.util.List extends ru.tinkoff.piapi.contract.v1.OperationTradeOrBuilder>
getTradesOrBuilderList();
/**
*
*Массив сделок.
*
*
* repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
*/
ru.tinkoff.piapi.contract.v1.OperationTradeOrBuilder getTradesOrBuilder(
int index);
/**
*
*Идентификатор актива
*
*
* string asset_uid = 16;
* @return The assetUid.
*/
java.lang.String getAssetUid();
/**
*
*Идентификатор актива
*
*
* string asset_uid = 16;
* @return The bytes for assetUid.
*/
com.google.protobuf.ByteString
getAssetUidBytes();
/**
*
*position_uid-идентификатора инструмента.
*
*
* string position_uid = 17;
* @return The positionUid.
*/
java.lang.String getPositionUid();
/**
*
*position_uid-идентификатора инструмента.
*
*
* string position_uid = 17;
* @return The bytes for positionUid.
*/
com.google.protobuf.ByteString
getPositionUidBytes();
/**
*
*Уникальный идентификатор инструмента.
*
*
* string instrument_uid = 18;
* @return The instrumentUid.
*/
java.lang.String getInstrumentUid();
/**
*
*Уникальный идентификатор инструмента.
*
*
* string instrument_uid = 18;
* @return The bytes for instrumentUid.
*/
com.google.protobuf.ByteString
getInstrumentUidBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy