Record Class API1BlockchainTransactions
java.lang.Object
java.lang.Record
org.cardanofoundation.lob.app.blockchain_publisher.domain.core.API1BlockchainTransactions
public record API1BlockchainTransactions(String organisationId, Set<TransactionEntity> submittedTransactions, Set<TransactionEntity> remainingTransactions, long creationSlot, byte[] serialisedTxData, String receiverAddress)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAPI1BlockchainTransactions(String organisationId, Set<TransactionEntity> submittedTransactions, Set<TransactionEntity> remainingTransactions, long creationSlot, byte[] serialisedTxData, String receiverAddress) Creates an instance of aAPI1BlockchainTransactionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecreationSlotrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.Returns the value of theorganisationIdrecord component.Returns the value of thereceiverAddressrecord component.Returns the value of theremainingTransactionsrecord component.byte[]Returns the value of theserialisedTxDatarecord component.Returns the value of thesubmittedTransactionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
API1BlockchainTransactions
public API1BlockchainTransactions(String organisationId, Set<TransactionEntity> submittedTransactions, Set<TransactionEntity> remainingTransactions, long creationSlot, byte[] serialisedTxData, String receiverAddress) Creates an instance of aAPI1BlockchainTransactionsrecord class.- Parameters:
organisationId- the value for theorganisationIdrecord componentsubmittedTransactions- the value for thesubmittedTransactionsrecord componentremainingTransactions- the value for theremainingTransactionsrecord componentcreationSlot- the value for thecreationSlotrecord componentserialisedTxData- the value for theserialisedTxDatarecord componentreceiverAddress- the value for thereceiverAddressrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
organisationId
Returns the value of theorganisationIdrecord component.- Returns:
- the value of the
organisationIdrecord component
-
submittedTransactions
Returns the value of thesubmittedTransactionsrecord component.- Returns:
- the value of the
submittedTransactionsrecord component
-
remainingTransactions
Returns the value of theremainingTransactionsrecord component.- Returns:
- the value of the
remainingTransactionsrecord component
-
creationSlot
public long creationSlot()Returns the value of thecreationSlotrecord component.- Returns:
- the value of the
creationSlotrecord component
-
serialisedTxData
public byte[] serialisedTxData()Returns the value of theserialisedTxDatarecord component.- Returns:
- the value of the
serialisedTxDatarecord component
-
receiverAddress
Returns the value of thereceiverAddressrecord component.- Returns:
- the value of the
receiverAddressrecord component
-