Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TokenFeeScheduleUpdateTransactionBodyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TokenFeeScheduleUpdateTransactionBody,TokenFeeScheduleUpdateTransactionBody.Builder
@Generated
public interface TokenFeeScheduleUpdateTransactionBodyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomFees(int index) * A list of custom fees representing a fee schedule.int* A list of custom fees representing a fee schedule.* A list of custom fees representing a fee schedule.* A token identifier.boolean* A token identifier.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasTokenId
boolean hasTokenId()* A token identifier. <p> This SHALL identify the token type to modify with an updated custom fee schedule.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token_id = 1;- Returns:
- Whether the tokenId field is set.
-
getTokenId
TokenID getTokenId()* A token identifier. <p> This SHALL identify the token type to modify with an updated custom fee schedule.<br/> The identified token MUST exist, and MUST NOT be deleted.
.proto.TokenID token_id = 1;- Returns:
- The tokenId.
-
getCustomFeesList
* A list of custom fees representing a fee schedule. <p> This list MAY be empty to remove custom fees from a token.<br/> If the identified token is a non-fungible/unique type, the entries in this list MUST NOT declare a `fractional_fee`.<br/> If the identified token is a fungible/common type, the entries in this list MUST NOT declare a `royalty_fee`.<br/> Any token type MAY include entries that declare a `fixed_fee`.
repeated .proto.CustomFee custom_fees = 2; -
getCustomFees
* A list of custom fees representing a fee schedule. <p> This list MAY be empty to remove custom fees from a token.<br/> If the identified token is a non-fungible/unique type, the entries in this list MUST NOT declare a `fractional_fee`.<br/> If the identified token is a fungible/common type, the entries in this list MUST NOT declare a `royalty_fee`.<br/> Any token type MAY include entries that declare a `fixed_fee`.
repeated .proto.CustomFee custom_fees = 2; -
getCustomFeesCount
int getCustomFeesCount()* A list of custom fees representing a fee schedule. <p> This list MAY be empty to remove custom fees from a token.<br/> If the identified token is a non-fungible/unique type, the entries in this list MUST NOT declare a `fractional_fee`.<br/> If the identified token is a fungible/common type, the entries in this list MUST NOT declare a `royalty_fee`.<br/> Any token type MAY include entries that declare a `fixed_fee`.
repeated .proto.CustomFee custom_fees = 2;
-