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 aTransaction
record class. -
Method Summary
Modifier and TypeMethodDescriptiondst()
Returns the value of thedst
record component.final boolean
Indicates whether some other object is "equal to" this one.fee()
Returns the value of thefee
record component.final int
hashCode()
Returns a hash code value for this object.msg()
Returns the value of themsg
record component.out()
Returns the value of theout
record component.setcode()
Returns the value of thesetcode
record component.Returns the value of thesigningBoxHandle
record component.signkey()
Returns the value of thesignkey
record component.final String
toString()
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 aTransaction
record class.- Parameters:
msg
- the value for themsg
record componentdst
- the value for thedst
record componentout
- the value for theout
record componentfee
- the value for thefee
record componentsetcode
- the value for thesetcode
record componentsignkey
- the value for thesignkey
record componentsigningBoxHandle
- the value for thesigningBoxHandle
record 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 themsg
record component.- Returns:
- the value of the
msg
record component
-
dst
Returns the value of thedst
record component.- Returns:
- the value of the
dst
record component
-
out
Returns the value of theout
record component.- Returns:
- the value of the
out
record component
-
fee
Returns the value of thefee
record component.- Returns:
- the value of the
fee
record component
-
setcode
Returns the value of thesetcode
record component.- Returns:
- the value of the
setcode
record component
-
signkey
Returns the value of thesignkey
record component.- Returns:
- the value of the
signkey
record component
-
signingBoxHandle
Returns the value of thesigningBoxHandle
record component.- Returns:
- the value of the
signingBoxHandle
record component
-