java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.TransactionFees
- Record Components:
inMsgFwdFee
- Contains the same data as ext_in_msg_fee field Deprecated.storageFee
- Fee for account storagegasFee
- Fee for processingoutMsgsFwdFee
- Contains the same data as total_fwd_fees field. Deprecated because of its confusing name, that is not the same with GraphQL API Transaction type's field. Deprecated.totalAccountFees
- Contains the same data as account_fees field Deprecated.totalOutput
- Deprecated because it means total value sent in the transaction, which does not relate to any fees.extInMsgFee
- Fee for inbound external message import.totalFwdFees
- Total fees the account pays for message forwardingaccountFees
- Total account fees for the transaction execution. Compounds of storage_fee + gas_fee + ext_in_msg_fee + total_fwd_fees
- Enclosing class:
Tvm
public static record Tvm.TransactionFees(BigInteger inMsgFwdFee, BigInteger storageFee, BigInteger gasFee, BigInteger outMsgsFwdFee, BigInteger totalAccountFees, BigInteger totalOutput, BigInteger extInMsgFee, BigInteger totalFwdFees, BigInteger accountFees)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionFees
(BigInteger inMsgFwdFee, BigInteger storageFee, BigInteger gasFee, BigInteger outMsgsFwdFee, BigInteger totalAccountFees, BigInteger totalOutput, BigInteger extInMsgFee, BigInteger totalFwdFees, BigInteger accountFees) Creates an instance of aTransactionFees
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountFees
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theextInMsgFee
record component.gasFee()
Returns the value of thegasFee
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinMsgFwdFee
record component.Returns the value of theoutMsgsFwdFee
record component.Returns the value of thestorageFee
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thetotalAccountFees
record component.Returns the value of thetotalFwdFees
record component.Returns the value of thetotalOutput
record component.
-
Constructor Details
-
TransactionFees
public TransactionFees(BigInteger inMsgFwdFee, BigInteger storageFee, BigInteger gasFee, BigInteger outMsgsFwdFee, BigInteger totalAccountFees, BigInteger totalOutput, BigInteger extInMsgFee, BigInteger totalFwdFees, BigInteger accountFees) Creates an instance of aTransactionFees
record class.- Parameters:
inMsgFwdFee
- the value for theinMsgFwdFee
record componentstorageFee
- the value for thestorageFee
record componentgasFee
- the value for thegasFee
record componentoutMsgsFwdFee
- the value for theoutMsgsFwdFee
record componenttotalAccountFees
- the value for thetotalAccountFees
record componenttotalOutput
- the value for thetotalOutput
record componentextInMsgFee
- the value for theextInMsgFee
record componenttotalFwdFees
- the value for thetotalFwdFees
record componentaccountFees
- the value for theaccountFees
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
inMsgFwdFee
Returns the value of theinMsgFwdFee
record component.- Returns:
- the value of the
inMsgFwdFee
record component
-
storageFee
Returns the value of thestorageFee
record component.- Returns:
- the value of the
storageFee
record component
-
gasFee
-
outMsgsFwdFee
Returns the value of theoutMsgsFwdFee
record component.- Returns:
- the value of the
outMsgsFwdFee
record component
-
totalAccountFees
Returns the value of thetotalAccountFees
record component.- Returns:
- the value of the
totalAccountFees
record component
-
totalOutput
Returns the value of thetotalOutput
record component.- Returns:
- the value of the
totalOutput
record component
-
extInMsgFee
Returns the value of theextInMsgFee
record component.- Returns:
- the value of the
extInMsgFee
record component
-
totalFwdFees
Returns the value of thetotalFwdFees
record component.- Returns:
- the value of the
totalFwdFees
record component
-
accountFees
Returns the value of theaccountFees
record component.- Returns:
- the value of the
accountFees
record component
-