com.hedera.hashgraph.sdk.proto.CustomFeeOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: custom_fees.proto
// Protobuf Java Version: 3.25.4
package com.hedera.hashgraph.sdk.proto;
public interface CustomFeeOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.CustomFee)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* 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();
/**
*
**
* 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();
/**
*
**
* 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();
/**
*
**
* 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();
/**
*
**
* 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();
public com.hedera.hashgraph.sdk.proto.CustomFee.FeeCase getFeeCase();
}