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