com.hederahashgraph.api.proto.java.FractionalFeeOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: custom_fees.proto
package com.hederahashgraph.api.proto.java;
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.hederahashgraph.api.proto.java.Fraction getFractionalAmount();
/**
*
**
* The fraction of the transferred units to assess as a fee
*
*
* .proto.Fraction fractional_amount = 1;
*/
com.hederahashgraph.api.proto.java.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();
}