Package org.symbol.sdk.symbol.models
Class AggregateBondedTransactionV2
java.lang.Object
org.symbol.sdk.CatbufferType
org.symbol.sdk.symbol.models.Transaction
org.symbol.sdk.symbol.models.AggregateBondedTransactionV2
- All Implemented Interfaces:
Serializer,BaseTransaction
-
Field Summary
FieldsFields inherited from class org.symbol.sdk.symbol.models.Transaction
deadline, entityBodyReserved_1, fee, network, signature, signerPublicKey, type, verifiableEntityHeaderReserved_1, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregateBondedTransactionV2deserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Gets the cosignatures field.Reads a named field.Gets the transactions field.Gets the transactionsHash field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidsetCosignatures(List<Cosignature> value) Sets the cosignatures field.voidSets a named field.voidsetTransactions(List<EmbeddedTransaction> value) Sets the transactions field.voidsetTransactionsHash(Hash256 value) Sets the transactionsHash field.intsize()Calculates the size of the object.toJson()Converts this object to a JSON-serializable representation.toString()Returns a string representation of this object.Returns the type-hint map driving the rule-based descriptor pipeline.Methods inherited from class org.symbol.sdk.symbol.models.Transaction
getDeadline, getFee, getNetwork, getSignature, getSignerPublicKey, getType, getVersion, setDeadline, setFee, setNetwork, setSignature, setSignerPublicKey, setType, setVersionMethods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, sort, toJsonStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.symbol.sdk.symbol.BaseTransaction
sortMethods inherited from interface org.symbol.sdk.Serializer
serialize
-
Field Details
-
TRANSACTION_VERSION
public static final int TRANSACTION_VERSION- See Also:
-
TRANSACTION_TYPE
-
TYPE_HINTS
-
-
Constructor Details
-
AggregateBondedTransactionV2
public AggregateBondedTransactionV2()Creates a new AggregateBondedTransactionV2.
-
-
Method Details
-
typeHints
- AggregateBondedTransactionV2.typeHints
- Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classTransaction- Returns:
- Field-name → rule-key map.
-
setField
- AggregateBondedTransactionV2.setField
- Sets a named field. Used by the rule-based descriptor pipeline.
- Specified by:
setFieldin interfaceBaseTransaction- Overrides:
setFieldin classTransaction- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- AggregateBondedTransactionV2.getField
- Reads a named field. Used by the facade-level entity inspection helpers.
- Specified by:
getFieldin interfaceBaseTransaction- Overrides:
getFieldin classTransaction- Parameters:
name- Field name.- Returns:
- Field value.
-
getTransactionsHash
- AggregateBondedTransactionV2.getTransactionsHash
- Gets the transactionsHash field.
- Returns:
- The transactionsHash field.
-
setTransactionsHash
- AggregateBondedTransactionV2.setTransactionsHash
- Sets the transactionsHash field.
- Parameters:
value- New transactionsHash value.
-
getTransactions
- AggregateBondedTransactionV2.getTransactions
- Gets the transactions field.
- Returns:
- The transactions field.
-
setTransactions
- AggregateBondedTransactionV2.setTransactions
- Sets the transactions field.
- Parameters:
value- New transactions value.
-
getCosignatures
- AggregateBondedTransactionV2.getCosignatures
- Gets the cosignatures field.
- Returns:
- The cosignatures field.
-
setCosignatures
- AggregateBondedTransactionV2.setCosignatures
- Sets the cosignatures field.
- Parameters:
value- New cosignatures value.
-
size
public int size()- AggregateBondedTransactionV2.size
- Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
sizein classTransaction- Returns:
- Size of this object in bytes.
-
deserialize
- AggregateBondedTransactionV2.deserialize
- Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
- Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-
serializeInto
- AggregateBondedTransactionV2.serializeInto
- Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classTransaction- Parameters:
buffer- Output writer.
-
toString
- AggregateBondedTransactionV2.toString
- Returns a string representation of this object.
- Overrides:
toStringin classTransaction- Returns:
- String representation of this object.
-
toJson
- AggregateBondedTransactionV2.toJson
- Converts this object to a JSON-serializable representation.
- Overrides:
toJsonin classTransaction- Returns:
- JSON-serializable representation of this object.
-