Class NamespaceRentalFeeReceipt
- All Implemented Interfaces:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceRentalFeeReceiptdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.Reads a named field.Gets the mosaic field.Gets the recipientAddress field.Gets the senderAddress field.protected voidserializeInto(Writer buffer) Writes this object's fields into the supplied buffer.voidSets a named field.voidSets the mosaic field.voidsetRecipientAddress(Address value) Sets the recipientAddress field.voidsetSenderAddress(Address value) Sets the senderAddress 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
-
NamespaceRentalFeeReceipt
public NamespaceRentalFeeReceipt()Creates a new NamespaceRentalFeeReceipt.
-
-
Method Details
-
typeHints
- NamespaceRentalFeeReceipt.typeHints
Returns the type-hint map driving the rule-based descriptor pipeline.
-
setField
- NamespaceRentalFeeReceipt.setField
Sets a named field. Used by the rule-based descriptor pipeline.
-
getField
- NamespaceRentalFeeReceipt.getField
Reads a named field. Used by the facade-level entity inspection helpers.
-
sort
public void sort()- NamespaceRentalFeeReceipt.sort
Sorts the collections of this object so that it can be serialized canonically.
- Overrides:
sortin classCatbufferType
-
getMosaic
- NamespaceRentalFeeReceipt.getMosaic
Gets the mosaic field.
- Returns:
The mosaic field.
-
setMosaic
- NamespaceRentalFeeReceipt.setMosaic
Sets the mosaic field.
- Parameters:
value- New mosaic value.
-
getSenderAddress
- NamespaceRentalFeeReceipt.getSenderAddress
Gets the senderAddress field.
- Returns:
The senderAddress field.
-
setSenderAddress
- NamespaceRentalFeeReceipt.setSenderAddress
Sets the senderAddress field.
- Parameters:
value- New senderAddress value.
-
getRecipientAddress
- NamespaceRentalFeeReceipt.getRecipientAddress
Gets the recipientAddress field.
- Returns:
The recipientAddress field.
-
setRecipientAddress
- NamespaceRentalFeeReceipt.setRecipientAddress
Sets the recipientAddress field.
- Parameters:
value- New recipientAddress value.
-
size
public int size()- NamespaceRentalFeeReceipt.size
Calculates the size of the object.
- Specified by:
sizein interfaceSerializer- Overrides:
- Returns:
Size of this object in bytes.
-
deserialize
- NamespaceRentalFeeReceipt.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
- NamespaceRentalFeeReceipt.serializeInto
Writes this object's fields into the supplied buffer.
- Overrides:
serializeIntoin classReceipt- Parameters:
buffer- Output writer.
-
toString
- NamespaceRentalFeeReceipt.toString
Returns a string representation of this object.
-
toJson
- NamespaceRentalFeeReceipt.toJson
Converts this object to a JSON-serializable representation.
-