- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FixedFee,FixedFee.Builder
@Generated
public interface FixedFeeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong* The amount to assess for each transfer.* The token type used to pay the assessed fee.boolean* The token type used to pay the assessed fee.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getAmount
long getAmount()* The amount to assess for each transfer. <p> This value MUST be greater than `0`.<br/> This amount is expressed in units of 10<sup>-decimals</sup> tokens.
int64 amount = 1;- Returns:
- The amount.
-
hasDenominatingTokenId
boolean hasDenominatingTokenId()* The token type used to pay the assessed fee. <p> If this is unset, the fee SHALL be assessed in HBAR.<br/> If this is set, the fee SHALL be assessed in the token identified. This MAY be any token type. Custom fees assessed in other token types are more likely to fail, however, and it is RECOMMENDED that token creators denominate custom fees in the transferred token, HBAR, or well documented and closely related token types.<br/> If this value is set to `0.0.0` in the `tokenCreate` transaction, it SHALL be replaced with the `TokenID` of the newly created token.
.proto.TokenID denominating_token_id = 2;- Returns:
- Whether the denominatingTokenId field is set.
-
getDenominatingTokenId
TokenID getDenominatingTokenId()* The token type used to pay the assessed fee. <p> If this is unset, the fee SHALL be assessed in HBAR.<br/> If this is set, the fee SHALL be assessed in the token identified. This MAY be any token type. Custom fees assessed in other token types are more likely to fail, however, and it is RECOMMENDED that token creators denominate custom fees in the transferred token, HBAR, or well documented and closely related token types.<br/> If this value is set to `0.0.0` in the `tokenCreate` transaction, it SHALL be replaced with the `TokenID` of the newly created token.
.proto.TokenID denominating_token_id = 2;- Returns:
- The denominatingTokenId.
-