Interface OperationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Operation, Operation.Builder

public interface OperationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      String getId()
      Идентификатор операции.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
      Идентификатор операции.
       
      string id = 1;
      Returns:
      The bytes for id.
    • getParentOperationId

      String getParentOperationId()
      Идентификатор родительской операции.
       
      string parent_operation_id = 2;
      Returns:
      The parentOperationId.
    • getParentOperationIdBytes

      com.google.protobuf.ByteString getParentOperationIdBytes()
      Идентификатор родительской операции.
       
      string parent_operation_id = 2;
      Returns:
      The bytes for parentOperationId.
    • getCurrency

      String getCurrency()
      Валюта операции.
       
      string currency = 3;
      Returns:
      The currency.
    • getCurrencyBytes

      com.google.protobuf.ByteString getCurrencyBytes()
      Валюта операции.
       
      string currency = 3;
      Returns:
      The bytes for currency.
    • hasPayment

      boolean hasPayment()
      Сумма операции.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
      Returns:
      Whether the payment field is set.
    • getPayment

      MoneyValue getPayment()
      Сумма операции.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
      Returns:
      The payment.
    • getPaymentOrBuilder

      MoneyValueOrBuilder getPaymentOrBuilder()
      Сумма операции.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue payment = 4;
    • hasPrice

      boolean hasPrice()
      Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
      Returns:
      Whether the price field is set.
    • getPrice

      MoneyValue getPrice()
      Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
      Returns:
      The price.
    • getPriceOrBuilder

      MoneyValueOrBuilder getPriceOrBuilder()
      Цена операции за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента.
       
      .tinkoff.public.invest.api.contract.v1.MoneyValue price = 5;
    • getStateValue

      int getStateValue()
      Статус операции.
       
      .tinkoff.public.invest.api.contract.v1.OperationState state = 6;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      OperationState getState()
      Статус операции.
       
      .tinkoff.public.invest.api.contract.v1.OperationState state = 6;
      Returns:
      The state.
    • getQuantity

      long getQuantity()
      Количество единиц инструмента.
       
      int64 quantity = 7;
      Returns:
      The quantity.
    • getQuantityRest

      long getQuantityRest()
      Неисполненный остаток по сделке.
       
      int64 quantity_rest = 8;
      Returns:
      The quantityRest.
    • getFigi

      String getFigi()
      Figi-идентификатор инструмента, связанного с операцией.
       
      string figi = 9;
      Returns:
      The figi.
    • getFigiBytes

      com.google.protobuf.ByteString getFigiBytes()
      Figi-идентификатор инструмента, связанного с операцией.
       
      string figi = 9;
      Returns:
      The bytes for figi.
    • getInstrumentType

      String getInstrumentType()
      Тип инструмента. Возможные значения: </br>**bond** — облигация; </br>**share** — акция; </br>**currency** — валюта; </br>**etf** — фонд; </br>**futures** — фьючерс.
       
      string instrument_type = 10;
      Returns:
      The instrumentType.
    • getInstrumentTypeBytes

      com.google.protobuf.ByteString getInstrumentTypeBytes()
      Тип инструмента. Возможные значения: </br>**bond** — облигация; </br>**share** — акция; </br>**currency** — валюта; </br>**etf** — фонд; </br>**futures** — фьючерс.
       
      string instrument_type = 10;
      Returns:
      The bytes for instrumentType.
    • hasDate

      boolean hasDate()
      Дата и время операции в формате часовом поясе UTC.
       
      .google.protobuf.Timestamp date = 11;
      Returns:
      Whether the date field is set.
    • getDate

      com.google.protobuf.Timestamp getDate()
      Дата и время операции в формате часовом поясе UTC.
       
      .google.protobuf.Timestamp date = 11;
      Returns:
      The date.
    • getDateOrBuilder

      com.google.protobuf.TimestampOrBuilder getDateOrBuilder()
      Дата и время операции в формате часовом поясе UTC.
       
      .google.protobuf.Timestamp date = 11;
    • getType

      String getType()
      Текстовое описание типа операции.
       
      string type = 12;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
      Текстовое описание типа операции.
       
      string type = 12;
      Returns:
      The bytes for type.
    • getOperationTypeValue

      int getOperationTypeValue()
      Тип операции.
       
      .tinkoff.public.invest.api.contract.v1.OperationType operation_type = 13;
      Returns:
      The enum numeric value on the wire for operationType.
    • getOperationType

      OperationType getOperationType()
      Тип операции.
       
      .tinkoff.public.invest.api.contract.v1.OperationType operation_type = 13;
      Returns:
      The operationType.
    • getTradesList

      List<OperationTrade> getTradesList()
      Массив сделок.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
    • getTrades

      OperationTrade getTrades(int index)
      Массив сделок.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
    • getTradesCount

      int getTradesCount()
      Массив сделок.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
    • getTradesOrBuilderList

      List<? extends OperationTradeOrBuilder> getTradesOrBuilderList()
      Массив сделок.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
    • getTradesOrBuilder

      OperationTradeOrBuilder getTradesOrBuilder(int index)
      Массив сделок.
       
      repeated .tinkoff.public.invest.api.contract.v1.OperationTrade trades = 14;
    • getAssetUid

      String getAssetUid()
      Идентификатор актива
       
      string asset_uid = 16;
      Returns:
      The assetUid.
    • getAssetUidBytes

      com.google.protobuf.ByteString getAssetUidBytes()
      Идентификатор актива
       
      string asset_uid = 16;
      Returns:
      The bytes for assetUid.