Package ru.tinkoff.piapi.contract.v1
Interface AssetSecurityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AssetSecurity,AssetSecurity.Builder
public interface AssetSecurityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBond()Облигация.Облигация.Клиринговый сертификат участия.Клиринговый сертификат участия.getEtf()Фонд.Фонд.getIsin()ISIN-идентификатор ценной бумаги.com.google.protobuf.ByteStringISIN-идентификатор ценной бумаги.getShare()Акция.Акция.getSp()Структурная нота.Структурная нота.getType()Тип ценной бумаги.com.google.protobuf.ByteStringТип ценной бумаги.booleanhasBond()Облигация.booleanКлиринговый сертификат участия.booleanhasEtf()Фонд.booleanhasShare()Акция.booleanhasSp()Структурная нота.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
-
getIsin
String getIsin()ISIN-идентификатор ценной бумаги.
string isin = 1;- Returns:
- The isin.
-
getIsinBytes
com.google.protobuf.ByteString getIsinBytes()ISIN-идентификатор ценной бумаги.
string isin = 1;- Returns:
- The bytes for isin.
-
getType
String getType()Тип ценной бумаги.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Тип ценной бумаги.
string type = 2;- Returns:
- The bytes for type.
-
hasBond
boolean hasBond()Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4;- Returns:
- Whether the bond field is set.
-
getBond
AssetBond getBond()Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4;- Returns:
- The bond.
-
getBondOrBuilder
AssetBondOrBuilder getBondOrBuilder()Облигация. Заполняется только для облигаций (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = bond).
.tinkoff.public.invest.api.contract.v1.AssetBond bond = 4; -
hasSp
boolean hasSp()Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5;- Returns:
- Whether the sp field is set.
-
getSp
AssetStructuredProduct getSp()Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5;- Returns:
- The sp.
-
getSpOrBuilder
AssetStructuredProductOrBuilder getSpOrBuilder()Структурная нота. Заполняется только для структурных продуктов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = sp).
.tinkoff.public.invest.api.contract.v1.AssetStructuredProduct sp = 5; -
hasEtf
boolean hasEtf()Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6;- Returns:
- Whether the etf field is set.
-
getEtf
AssetEtf getEtf()Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6;- Returns:
- The etf.
-
getEtfOrBuilder
AssetEtfOrBuilder getEtfOrBuilder()Фонд. Заполняется только для фондов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = etf).
.tinkoff.public.invest.api.contract.v1.AssetEtf etf = 6; -
hasClearingCertificate
boolean hasClearingCertificate()Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7;- Returns:
- Whether the clearingCertificate field is set.
-
getClearingCertificate
AssetClearingCertificate getClearingCertificate()Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7;- Returns:
- The clearingCertificate.
-
getClearingCertificateOrBuilder
AssetClearingCertificateOrBuilder getClearingCertificateOrBuilder()Клиринговый сертификат участия. Заполняется только для клиринговых сертификатов (тип актива asset.type = "ASSET_TYPE_SECURITY" и security.type = clearing_certificate).
.tinkoff.public.invest.api.contract.v1.AssetClearingCertificate clearing_certificate = 7; -
getExtCase
AssetSecurity.ExtCase getExtCase()
-