com.hedera.hashgraph.sdk.proto.CustomFeeOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: custom_fees.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface CustomFeeOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CustomFee)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Fixed fee to be charged
*
*
* .proto.FixedFee fixed_fee = 1;
* @return Whether the fixedFee field is set.
*/
boolean hasFixedFee();
/**
*
**
* Fixed fee to be charged
*
*
* .proto.FixedFee fixed_fee = 1;
* @return The fixedFee.
*/
com.hedera.hashgraph.sdk.proto.FixedFee getFixedFee();
/**
*
**
* Fixed fee to be charged
*
*
* .proto.FixedFee fixed_fee = 1;
*/
com.hedera.hashgraph.sdk.proto.FixedFeeOrBuilder getFixedFeeOrBuilder();
/**
*
**
* Fractional fee to be charged
*
*
* .proto.FractionalFee fractional_fee = 2;
* @return Whether the fractionalFee field is set.
*/
boolean hasFractionalFee();
/**
*
**
* Fractional fee to be charged
*
*
* .proto.FractionalFee fractional_fee = 2;
* @return The fractionalFee.
*/
com.hedera.hashgraph.sdk.proto.FractionalFee getFractionalFee();
/**
*
**
* Fractional fee to be charged
*
*
* .proto.FractionalFee fractional_fee = 2;
*/
com.hedera.hashgraph.sdk.proto.FractionalFeeOrBuilder getFractionalFeeOrBuilder();
/**
*
**
* Royalty fee to be charged
*
*
* .proto.RoyaltyFee royalty_fee = 4;
* @return Whether the royaltyFee field is set.
*/
boolean hasRoyaltyFee();
/**
*
**
* Royalty fee to be charged
*
*
* .proto.RoyaltyFee royalty_fee = 4;
* @return The royaltyFee.
*/
com.hedera.hashgraph.sdk.proto.RoyaltyFee getRoyaltyFee();
/**
*
**
* Royalty fee to be charged
*
*
* .proto.RoyaltyFee royalty_fee = 4;
*/
com.hedera.hashgraph.sdk.proto.RoyaltyFeeOrBuilder getRoyaltyFeeOrBuilder();
/**
*
**
* The account to receive the custom fee
*
*
* .proto.AccountID fee_collector_account_id = 3;
* @return Whether the feeCollectorAccountId field is set.
*/
boolean hasFeeCollectorAccountId();
/**
*
**
* The account to receive the custom fee
*
*
* .proto.AccountID fee_collector_account_id = 3;
* @return The feeCollectorAccountId.
*/
com.hedera.hashgraph.sdk.proto.AccountID getFeeCollectorAccountId();
/**
*
**
* The account to receive the custom fee
*
*
* .proto.AccountID fee_collector_account_id = 3;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getFeeCollectorAccountIdOrBuilder();
/**
*
**
* If true, exempts all the token's fee collection accounts from this fee.
* (The token's treasury and the above fee_collector_account_id will always
* be exempt. Please see <a href="https://hips.hedera.com/hip/hip-573">HIP-573</a>
* for details.)
*
*
* bool all_collectors_are_exempt = 5;
* @return The allCollectorsAreExempt.
*/
boolean getAllCollectorsAreExempt();
com.hedera.hashgraph.sdk.proto.CustomFee.FeeCase getFeeCase();
}