Package org.symbol.sdk.nem.descriptors
Class NamespaceRegistrationTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.nem.descriptors.NamespaceRegistrationTransactionV1Descriptor
- All Implemented Interfaces:
NemTransactionDescriptor,NemTypedDescriptor,TypedDescriptor
public final class NamespaceRegistrationTransactionV1Descriptor
extends Object
implements NemTransactionDescriptor
- NamespaceRegistrationTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for NamespaceRegistrationTransactionV1Descriptor.
binary layout for a namespace registration transaction (V1, latest)
-
Constructor Summary
ConstructorsConstructorDescriptionNamespaceRegistrationTransactionV1Descriptor(Address rentalFeeSink, Amount rentalFee, byte[] name, byte[] parentName) Creates a descriptor for NamespaceRegistrationTransactionV1. -
Method Summary
-
Constructor Details
-
NamespaceRegistrationTransactionV1Descriptor
public NamespaceRegistrationTransactionV1Descriptor(Address rentalFeeSink, Amount rentalFee, byte[] name, byte[] parentName) Creates a descriptor for NamespaceRegistrationTransactionV1.- Parameters:
rentalFeeSink- mosaic rental fee sink public keyrentalFee- mosaic rental feename- new namespace name (field is omitted when null)parentName- parent namespace name (field is omitted when null)
-
-
Method Details
-
toMap
- NamespaceRegistrationTransactionV1Descriptor.toMap
Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
Descriptor map that can be passed to a transaction factory.
-