com.hedera.hashgraph.sdk.proto.FractionalFeeOrBuilder 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 FractionalFeeOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.FractionalFee)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The fraction of the transferred units to assess as a fee
*
*
* .proto.Fraction fractional_amount = 1;
* @return Whether the fractionalAmount field is set.
*/
boolean hasFractionalAmount();
/**
*
**
* The fraction of the transferred units to assess as a fee
*
*
* .proto.Fraction fractional_amount = 1;
* @return The fractionalAmount.
*/
com.hedera.hashgraph.sdk.proto.Fraction getFractionalAmount();
/**
*
**
* The fraction of the transferred units to assess as a fee
*
*
* .proto.Fraction fractional_amount = 1;
*/
com.hedera.hashgraph.sdk.proto.FractionOrBuilder getFractionalAmountOrBuilder();
/**
*
**
* The minimum amount to assess
*
*
* int64 minimum_amount = 2;
* @return The minimumAmount.
*/
long getMinimumAmount();
/**
*
**
* The maximum amount to assess (zero implies no maximum)
*
*
* int64 maximum_amount = 3;
* @return The maximumAmount.
*/
long getMaximumAmount();
/**
*
**
* If true, assesses the fee to the sender, so the receiver gets the full amount from the token
* transfer list, and the sender is charged an additional fee; if false, the receiver does NOT get
* the full amount, but only what is left over after paying the fractional fee
*
*
* bool net_of_transfers = 4;
* @return The netOfTransfers.
*/
boolean getNetOfTransfers();
}