Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Debot.DebotActivity.Transaction
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Debot.DebotActivity.Transaction
- Record Components:
msg- External inbound message BOC.dst- Target smart contract address.out- List of spendings as a result of transaction.fee- Transaction total fee.setcode- Indicates if target smart contract updates its code.signkey- Public key from keypair that was used to sign external message.signingBoxHandle- Signing box handle used to sign external message.
- All Implemented Interfaces:
Debot.DebotActivity
- Enclosing interface:
Debot.DebotActivity
public static record Debot.DebotActivity.Transaction(String msg, String dst, Debot.Spending[] out, Long fee, Boolean setcode, String signkey, Integer signingBoxHandle)
extends Record
implements Debot.DebotActivity
DeBot wants to create new transaction in blockchain.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Debot.DebotActivity
Debot.DebotActivity.Transaction -
Constructor Summary
ConstructorsConstructorDescriptionTransaction(String msg, String dst, Debot.Spending[] out, Long fee, Boolean setcode, String signkey, Integer signingBoxHandle) Creates an instance of aTransactionrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondst()Returns the value of thedstrecord component.final booleanIndicates whether some other object is "equal to" this one.fee()Returns the value of thefeerecord component.final inthashCode()Returns a hash code value for this object.msg()Returns the value of themsgrecord component.out()Returns the value of theoutrecord component.setcode()Returns the value of thesetcoderecord component.Returns the value of thesigningBoxHandlerecord component.signkey()Returns the value of thesignkeyrecord component.final StringtoString()Returns a string representation of this record class.type()
-
Constructor Details
-
Transaction
public Transaction(String msg, String dst, Debot.Spending[] out, Long fee, Boolean setcode, String signkey, Integer signingBoxHandle) Creates an instance of aTransactionrecord class.- Parameters:
msg- the value for themsgrecord componentdst- the value for thedstrecord componentout- the value for theoutrecord componentfee- the value for thefeerecord componentsetcode- the value for thesetcoderecord componentsignkey- the value for thesignkeyrecord componentsigningBoxHandle- the value for thesigningBoxHandlerecord component
-
-
Method Details
-
type
-
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). -
msg
Returns the value of themsgrecord component.- Returns:
- the value of the
msgrecord component
-
dst
Returns the value of thedstrecord component.- Returns:
- the value of the
dstrecord component
-
out
Returns the value of theoutrecord component.- Returns:
- the value of the
outrecord component
-
fee
Returns the value of thefeerecord component.- Returns:
- the value of the
feerecord component
-
setcode
Returns the value of thesetcoderecord component.- Returns:
- the value of the
setcoderecord component
-
signkey
Returns the value of thesignkeyrecord component.- Returns:
- the value of the
signkeyrecord component
-
signingBoxHandle
Returns the value of thesigningBoxHandlerecord component.- Returns:
- the value of the
signingBoxHandlerecord component
-