Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenFreezeAccountTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenFreezeAccountTransactionBody,TokenFreezeAccountTransactionBody.Builder
@Generated
public interface TokenFreezeAccountTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Details
-
hasToken
boolean hasToken()* A token identifier. <p> This SHALL identify the token type to "freeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1;- Returns:
- Whether the token field is set.
-
getToken
TokenID getToken()* A token identifier. <p> This SHALL identify the token type to "freeze".<br/> The identified token MUST exist, MUST NOT be deleted, and MUST be associated to the identified account.
.proto.TokenID token = 1;- Returns:
- The token.
-
hasAccount
boolean hasAccount()* An account identifier. <p> This shall identify the account to "freeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD NOT be "frozen" with respect to the identified token.
.proto.AccountID account = 2;- Returns:
- Whether the account field is set.
-
getAccount
AccountID getAccount()* An account identifier. <p> This shall identify the account to "freeze".<br/> The identified account MUST exist, MUST NOT be deleted, MUST NOT be expired, and MUST be associated to the identified token.<br/> The identified account SHOULD NOT be "frozen" with respect to the identified token.
.proto.AccountID account = 2;- Returns:
- The account.
-