Interface OrderOrBuilder

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

public interface OrderOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Цена за 1 инструмент.
    Цена за 1 инструмент.
    long
    Количество в лотах.
    boolean
    Цена за 1 инструмент.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPrice

      boolean hasPrice()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 1;
      Returns:
      Whether the price field is set.
    • getPrice

      Quotation getPrice()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 1;
      Returns:
      The price.
    • getPriceOrBuilder

      QuotationOrBuilder getPriceOrBuilder()
      Цена за 1 инструмент. Для получения стоимости лота требуется умножить на лотность инструмента. Для перевод цен в валюту рекомендуем использовать [информацию со страницы](https://tinkoff.github.io/investAPI/faq_marketdata/)
       
      .tinkoff.public.invest.api.contract.v1.Quotation price = 1;
    • getQuantity

      long getQuantity()
      Количество в лотах.
       
      int64 quantity = 2;
      Returns:
      The quantity.