Package ru.tinkoff.piapi.contract.v1
Interface AccountOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Account,Account.Builder
public interface AccountOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionУровень доступа к текущему счёту (определяется токеном).intУровень доступа к текущему счёту (определяется токеном).com.google.protobuf.TimestampДата закрытия счёта в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата закрытия счёта в часовом поясе UTC.getId()Идентификатор счёта.com.google.protobuf.ByteStringИдентификатор счёта.getName()Название счёта.com.google.protobuf.ByteStringНазвание счёта.com.google.protobuf.TimestampДата открытия счёта в часовом поясе UTC.com.google.protobuf.TimestampOrBuilderДата открытия счёта в часовом поясе UTC.Статус счёта.intСтатус счёта.getType()Тип счёта.intТип счёта.booleanДата закрытия счёта в часовом поясе UTC.booleanДата открытия счёта в часовом поясе UTC.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
-
getId
String getId()Идентификатор счёта.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Идентификатор счёта.
string id = 1;- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()Тип счёта.
.tinkoff.public.invest.api.contract.v1.AccountType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
AccountType getType()Тип счёта.
.tinkoff.public.invest.api.contract.v1.AccountType type = 2;- Returns:
- The type.
-
getName
String getName()Название счёта.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Название счёта.
string name = 3;- Returns:
- The bytes for name.
-
getStatusValue
int getStatusValue()Статус счёта.
.tinkoff.public.invest.api.contract.v1.AccountStatus status = 4;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
AccountStatus getStatus()Статус счёта.
.tinkoff.public.invest.api.contract.v1.AccountStatus status = 4;- Returns:
- The status.
-
hasOpenedDate
boolean hasOpenedDate()Дата открытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp opened_date = 5;- Returns:
- Whether the openedDate field is set.
-
getOpenedDate
com.google.protobuf.Timestamp getOpenedDate()Дата открытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp opened_date = 5;- Returns:
- The openedDate.
-
getOpenedDateOrBuilder
com.google.protobuf.TimestampOrBuilder getOpenedDateOrBuilder()Дата открытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp opened_date = 5; -
hasClosedDate
boolean hasClosedDate()Дата закрытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp closed_date = 6;- Returns:
- Whether the closedDate field is set.
-
getClosedDate
com.google.protobuf.Timestamp getClosedDate()Дата закрытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp closed_date = 6;- Returns:
- The closedDate.
-
getClosedDateOrBuilder
com.google.protobuf.TimestampOrBuilder getClosedDateOrBuilder()Дата закрытия счёта в часовом поясе UTC.
.google.protobuf.Timestamp closed_date = 6; -
getAccessLevelValue
int getAccessLevelValue()Уровень доступа к текущему счёту (определяется токеном).
.tinkoff.public.invest.api.contract.v1.AccessLevel access_level = 7;- Returns:
- The enum numeric value on the wire for accessLevel.
-
getAccessLevel
AccessLevel getAccessLevel()Уровень доступа к текущему счёту (определяется токеном).
.tinkoff.public.invest.api.contract.v1.AccessLevel access_level = 7;- Returns:
- The accessLevel.
-