Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface GrantedNftAllowanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
GrantedNftAllowance,GrantedNftAllowance.Builder
@Generated
public interface GrantedNftAllowanceOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* The identifier for the spending account associated with this allowance.* The identifier for the token associated with this allowance.boolean* The identifier for the spending account associated with this allowance.boolean* The identifier for the token associated with this allowance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTokenId
boolean hasTokenId()* The identifier for the token associated with this allowance. <p> This token MUST be a non-fungible/unique token.
.proto.TokenID token_id = 1;- Returns:
- Whether the tokenId field is set.
-
getTokenId
TokenID getTokenId()* The identifier for the token associated with this allowance. <p> This token MUST be a non-fungible/unique token.
.proto.TokenID token_id = 1;- Returns:
- The tokenId.
-
hasSpender
boolean hasSpender()* The identifier for the spending account associated with this allowance. <p> This account SHALL be permitted to sign transactions to spend tokens of the associated token type from the funding/allowing account.
.proto.AccountID spender = 2;- Returns:
- Whether the spender field is set.
-
getSpender
AccountID getSpender()* The identifier for the spending account associated with this allowance. <p> This account SHALL be permitted to sign transactions to spend tokens of the associated token type from the funding/allowing account.
.proto.AccountID spender = 2;- Returns:
- The spender.
-