Package ru.tinkoff.piapi.contract.v1
Interface ReplaceOrderRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplaceOrderRequest,ReplaceOrderRequest.Builder
public interface ReplaceOrderRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionНомер счета.com.google.protobuf.ByteStringНомер счета.Новый идентификатор запроса выставления поручения для целей идемпотентности.com.google.protobuf.ByteStringНовый идентификатор запроса выставления поручения для целей идемпотентности.Идентификатор заявки на бирже.com.google.protobuf.ByteStringИдентификатор заявки на бирже.getPrice()Цена за 1 инструмент.Цена за 1 инструмент.Тип цены.intТип цены.longКоличество лотов.booleanhasPrice()Цена за 1 инструмент.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.
-
getOrderId
String getOrderId()Идентификатор заявки на бирже.
string order_id = 6;- Returns:
- The orderId.
-
getOrderIdBytes
com.google.protobuf.ByteString getOrderIdBytes()Идентификатор заявки на бирже.
string order_id = 6;- Returns:
- The bytes for orderId.
-
getIdempotencyKey
String getIdempotencyKey()Новый идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов. Перезатирает старый ключ.
string idempotency_key = 7;- Returns:
- The idempotencyKey.
-
getIdempotencyKeyBytes
com.google.protobuf.ByteString getIdempotencyKeyBytes()Новый идентификатор запроса выставления поручения для целей идемпотентности. Максимальная длина 36 символов. Перезатирает старый ключ.
string idempotency_key = 7;- Returns:
- The bytes for idempotencyKey.
-
getQuantity
long getQuantity()Количество лотов.
int64 quantity = 11;- Returns:
- The quantity.
-
hasPrice
boolean hasPrice()Цена за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.Quotation price = 12;- Returns:
- Whether the price field is set.
-
getPrice
Quotation getPrice()Цена за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.Quotation price = 12;- Returns:
- The price.
-
getPriceOrBuilder
QuotationOrBuilder getPriceOrBuilder()Цена за 1 инструмент.
.tinkoff.public.invest.api.contract.v1.Quotation price = 12; -
getPriceTypeValue
int getPriceTypeValue()Тип цены.
.tinkoff.public.invest.api.contract.v1.PriceType price_type = 13;- Returns:
- The enum numeric value on the wire for priceType.
-
getPriceType
PriceType getPriceType()Тип цены.
.tinkoff.public.invest.api.contract.v1.PriceType price_type = 13;- Returns:
- The priceType.
-