Record Class Tvm.TransactionFees

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 storage
gasFee - Fee for processing
outMsgsFwdFee - 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 forwarding
accountFees - 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(Long inMsgFwdFee, Long storageFee, Long gasFee, Long outMsgsFwdFee, Long totalAccountFees, Long totalOutput, Long extInMsgFee, Long totalFwdFees, Long accountFees) extends Record
  • Constructor Details

    • TransactionFees

      public TransactionFees(Long inMsgFwdFee, Long storageFee, Long gasFee, Long outMsgsFwdFee, Long totalAccountFees, Long totalOutput, Long extInMsgFee, Long totalFwdFees, Long accountFees)
      Creates an instance of a TransactionFees record class.
      Parameters:
      inMsgFwdFee - the value for the inMsgFwdFee record component
      storageFee - the value for the storageFee record component
      gasFee - the value for the gasFee record component
      outMsgsFwdFee - the value for the outMsgsFwdFee record component
      totalAccountFees - the value for the totalAccountFees record component
      totalOutput - the value for the totalOutput record component
      extInMsgFee - the value for the extInMsgFee record component
      totalFwdFees - the value for the totalFwdFees record component
      accountFees - the value for the accountFees record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • inMsgFwdFee

      public Long inMsgFwdFee()
      Returns the value of the inMsgFwdFee record component.
      Returns:
      the value of the inMsgFwdFee record component
    • storageFee

      public Long storageFee()
      Returns the value of the storageFee record component.
      Returns:
      the value of the storageFee record component
    • gasFee

      public Long gasFee()
      Returns the value of the gasFee record component.
      Returns:
      the value of the gasFee record component
    • outMsgsFwdFee

      public Long outMsgsFwdFee()
      Returns the value of the outMsgsFwdFee record component.
      Returns:
      the value of the outMsgsFwdFee record component
    • totalAccountFees

      public Long totalAccountFees()
      Returns the value of the totalAccountFees record component.
      Returns:
      the value of the totalAccountFees record component
    • totalOutput

      public Long totalOutput()
      Returns the value of the totalOutput record component.
      Returns:
      the value of the totalOutput record component
    • extInMsgFee

      public Long extInMsgFee()
      Returns the value of the extInMsgFee record component.
      Returns:
      the value of the extInMsgFee record component
    • totalFwdFees

      public Long totalFwdFees()
      Returns the value of the totalFwdFees record component.
      Returns:
      the value of the totalFwdFees record component
    • accountFees

      public Long accountFees()
      Returns the value of the accountFees record component.
      Returns:
      the value of the accountFees record component