Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfEncodeAccount
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeAccount
- Record Components:
stateInit- Source of the account state init.balance- Initial balance.lastTransLt- Initial value for the `last_trans_lt`.lastPaid- Initial value for the `last_paid`.bocCache- Cache type to put the result. The BOC itself returned if no cache type provided
- Enclosing class:
Abi
public static record Abi.ParamsOfEncodeAccount(Abi.StateInitSource stateInit, Long balance, Long lastTransLt, Number lastPaid, Boc.BocCacheType bocCache)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeAccount(Abi.StateInitSource stateInit, Long balance, Long lastTransLt, Number lastPaid, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeAccountrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbalance()Returns the value of thebalancerecord component.bocCache()Returns the value of thebocCacherecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lastPaid()Returns the value of thelastPaidrecord component.Returns the value of thelastTransLtrecord component.Returns the value of thestateInitrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfEncodeAccount
public ParamsOfEncodeAccount(Abi.StateInitSource stateInit, Long balance, Long lastTransLt, Number lastPaid, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeAccountrecord class.- Parameters:
stateInit- the value for thestateInitrecord componentbalance- the value for thebalancerecord componentlastTransLt- the value for thelastTransLtrecord componentlastPaid- the value for thelastPaidrecord componentbocCache- the value for thebocCacherecord component
-
-
Method Details
-
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. -
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. -
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). -
stateInit
Returns the value of thestateInitrecord component.- Returns:
- the value of the
stateInitrecord component
-
balance
Returns the value of thebalancerecord component.- Returns:
- the value of the
balancerecord component
-
lastTransLt
Returns the value of thelastTransLtrecord component.- Returns:
- the value of the
lastTransLtrecord component
-
lastPaid
Returns the value of thelastPaidrecord component.- Returns:
- the value of the
lastPaidrecord component
-
bocCache
Returns the value of thebocCacherecord component.- Returns:
- the value of the
bocCacherecord component
-