Interface TypedDescriptor

All Known Subinterfaces:

NemTransactionDescriptor, NemTypedDescriptor

All Known Implementing Classes:

AccountKeyLinkTransactionV1Descriptor, CosignatureV1BodyDescriptor, CosignatureV1Descriptor, MessageDescriptor, MosaicDefinitionDescriptor, MosaicDefinitionTransactionV1Descriptor, MosaicDescriptor, MosaicIdDescriptor, MosaicLevyDescriptor, MosaicPropertyDescriptor, MosaicSupplyChangeTransactionV1Descriptor, MultisigAccountModificationDescriptor, MultisigAccountModificationTransactionV1Descriptor, MultisigAccountModificationTransactionV2Descriptor, MultisigTransactionV1Descriptor, NamespaceIdDescriptor, NamespaceRegistrationTransactionV1Descriptor, SizePrefixedCosignatureV1Descriptor, SizePrefixedMosaicDescriptor, SizePrefixedMosaicPropertyDescriptor, SizePrefixedMultisigAccountModificationDescriptor, TransferTransactionV1Descriptor, TransferTransactionV2Descriptor


public interface TypedDescriptor
TypedDescriptor

Type-safe descriptor contract implemented by every generated XxxDescriptor class; toMap() yields the raw descriptor map consumed by the facades and RuleBasedTransactionFactory.

  • Method Summary

    Modifier and Type
    Method
    Description
    Builds a representation of this descriptor that can be passed to a factory function.
  • Method Details

    • toMap

      Map<String,Object> toMap()
      TypedDescriptor.toMap

      Builds a representation of this descriptor that can be passed to a factory function.

      Returns:

      Descriptor map that can be passed to a transaction factory.