Package org.symbol.sdk.symbol.models
Class LockHashCreatedFeeReceipt
java.lang.Object
org.symbol.sdk.CatbufferType
org.symbol.sdk.symbol.models.Receipt
org.symbol.sdk.symbol.models.LockHashCreatedFeeReceipt
- All Implemented Interfaces:
Serializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LockHashCreatedFeeReceiptdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the mosaic field.Gets the targetAddress field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidSets the mosaic field.voidsetTargetAddress(Address value) Sets the targetAddress field.intsize()Calculates the size of the object.voidsort()Sorts the collections of this object so that it can be serialized canonically.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.Receipt
getType, getVersion, setType, setVersionMethods inherited from class org.symbol.sdk.CatbufferType
asByteArray, asBytes, asInt, asList, asLong, serialize, toJsonString
-
Field Details
-
RECEIPT_TYPE
-
TYPE_HINTS
-
-
Constructor Details
-
LockHashCreatedFeeReceipt
public LockHashCreatedFeeReceipt()Creates a new LockHashCreatedFeeReceipt.
-
-
Method Details
-
typeHints
- LockHashCreatedFeeReceipt.typeHints
- Returns the type-hint map driving the rule-based descriptor pipeline.
-
setField
- LockHashCreatedFeeReceipt.setField
- Sets a named field. Used by the rule-based descriptor pipeline.
-
getField
- LockHashCreatedFeeReceipt.getField
- Reads a named field. Used by the facade-level entity inspection helpers.
-
sort
public void sort()- LockHashCreatedFeeReceipt.sort
- Sorts the collections of this object so that it can be serialized canonically.
- Overrides:
sortin classCatbufferType
-
getMosaic
- LockHashCreatedFeeReceipt.getMosaic
- Gets the mosaic field.
- Returns:
- The mosaic field.
-
setMosaic
- LockHashCreatedFeeReceipt.setMosaic
- Sets the mosaic field.
- Parameters:
value- New mosaic value.
-
getTargetAddress
- LockHashCreatedFeeReceipt.getTargetAddress
- Gets the targetAddress field.
- Returns:
- The targetAddress field.
-
setTargetAddress
- LockHashCreatedFeeReceipt.setTargetAddress
- Sets the targetAddress field.
- Parameters:
value- New targetAddress value.
-
size
public int size()- LockHashCreatedFeeReceipt.size
- Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
sizein classReceipt- Returns:
- Size of this object in bytes.
-
deserialize
- LockHashCreatedFeeReceipt.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
- LockHashCreatedFeeReceipt.serializeInto
- Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classReceipt- Parameters:
buffer- Output writer.
-
toString
- LockHashCreatedFeeReceipt.toString
- Returns a string representation of this object.
-
toJson
- LockHashCreatedFeeReceipt.toJson
- Converts this object to a JSON-serializable representation.
-