Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface RoyaltyFeeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
RoyaltyFee,RoyaltyFee.Builder
@Generated
public interface RoyaltyFeeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription* The fraction of fungible value exchanged for an NFT to collect as royalty.* A fixed fee to assess if no fungible value is known to be traded for the NFT.boolean* The fraction of fungible value exchanged for an NFT to collect as royalty.boolean* A fixed fee to assess if no fungible value is known to be traded for the NFT.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasExchangeValueFraction
boolean hasExchangeValueFraction()* The fraction of fungible value exchanged for an NFT to collect as royalty. <p> This SHALL be applied once to the total fungible value transferred for the transaction.<br/> There SHALL NOT be any adjustment based on multiple transfers involving the NFT sender as part of a single transaction.
.proto.Fraction exchange_value_fraction = 1;- Returns:
- Whether the exchangeValueFraction field is set.
-
getExchangeValueFraction
Fraction getExchangeValueFraction()* The fraction of fungible value exchanged for an NFT to collect as royalty. <p> This SHALL be applied once to the total fungible value transferred for the transaction.<br/> There SHALL NOT be any adjustment based on multiple transfers involving the NFT sender as part of a single transaction.
.proto.Fraction exchange_value_fraction = 1;- Returns:
- The exchangeValueFraction.
-
hasFallbackFee
boolean hasFallbackFee()* A fixed fee to assess if no fungible value is known to be traded for the NFT. <p> If an NFT is transferred without a corresponding transfer of _fungible_ value returned in the same transaction, the network SHALL charge this fee as a fallback.<br/> Fallback fees MAY have unexpected effects when interacting with escrow, market transfers, and smart contracts. It is RECOMMENDED that developers carefully consider possible effects from fallback fees when designing systems that facilitate the transfer of NFTs.
.proto.FixedFee fallback_fee = 2;- Returns:
- Whether the fallbackFee field is set.
-
getFallbackFee
FixedFee getFallbackFee()* A fixed fee to assess if no fungible value is known to be traded for the NFT. <p> If an NFT is transferred without a corresponding transfer of _fungible_ value returned in the same transaction, the network SHALL charge this fee as a fallback.<br/> Fallback fees MAY have unexpected effects when interacting with escrow, market transfers, and smart contracts. It is RECOMMENDED that developers carefully consider possible effects from fallback fees when designing systems that facilitate the transfer of NFTs.
.proto.FixedFee fallback_fee = 2;- Returns:
- The fallbackFee.
-