Class CosignatureV1Body
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CosignatureV1Bodydeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the multisigAccountAddress field.Gets the otherTransactionHash field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidsetMultisigAccountAddress(Address value) Sets the multisigAccountAddress field.voidsetOtherTransactionHash(Hash256 value) Sets the otherTransactionHash 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.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, sort, toJsonString
-
Field Details
-
TRANSACTION_VERSION
public static final int TRANSACTION_VERSION- See Also:
-
TRANSACTION_TYPE
-
TYPE_HINTS
-
-
Constructor Details
-
CosignatureV1Body
public CosignatureV1Body()Creates a new CosignatureV1Body.
-
-
Method Details
-
typeHints
- CosignatureV1Body.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
- Overrides:
typeHintsin classCatbufferType- Returns:
Field-name → rule-key map.
-
setField
- CosignatureV1Body.setField
Sets a named field. Used by the rule-based descriptor pipeline.
- Overrides:
setFieldin classCatbufferType- Parameters:
name- Field name (descriptor key).value- Value to assign.
-
getField
- CosignatureV1Body.getField
Reads a named field. Used by the facade-level entity inspection helpers.
- Overrides:
getFieldin classCatbufferType- Parameters:
name- Field name.- Returns:
Field value.
-
getOtherTransactionHash
- CosignatureV1Body.getOtherTransactionHash
Gets the otherTransactionHash field.
- Returns:
The otherTransactionHash field.
-
setOtherTransactionHash
- CosignatureV1Body.setOtherTransactionHash
Sets the otherTransactionHash field.
- Parameters:
value- New otherTransactionHash value.
-
getMultisigAccountAddress
- CosignatureV1Body.getMultisigAccountAddress
Gets the multisigAccountAddress field.
- Returns:
The multisigAccountAddress field.
-
setMultisigAccountAddress
- CosignatureV1Body.setMultisigAccountAddress
Sets the multisigAccountAddress field.
- Parameters:
value- New multisigAccountAddress value.
-
size
public int size()- CosignatureV1Body.size
Calculates the size of the object.
- Returns:
Size of this object in bytes.
-
deserialize
- CosignatureV1Body.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
- CosignatureV1Body.serializeInto
Writes this object's fields into the supplied buffer.
- Specified by:
serializeIntoin classCatbufferType- Parameters:
buffer- Output writer.
-
toString
- CosignatureV1Body.toString
Returns a string representation of this object.
-
toJson
- CosignatureV1Body.toJson
Converts this object to a JSON-serializable representation.
- Specified by:
toJsonin classCatbufferType- Returns:
JSON-serializable representation of this object.
-