Class EmbeddedAccountLinkTransactionBuilder

    • Constructor Detail

      • EmbeddedAccountLinkTransactionBuilder

        protected EmbeddedAccountLinkTransactionBuilder​(java.io.DataInputStream stream)
        Constructor - Creates an object from stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
      • EmbeddedAccountLinkTransactionBuilder

        protected EmbeddedAccountLinkTransactionBuilder​(KeyDto signerPublicKey,
                                                        byte version,
                                                        NetworkTypeDto network,
                                                        EntityTypeDto type,
                                                        KeyDto remotePublicKey,
                                                        AccountLinkActionDto linkAction)
        Constructor.
        Parameters:
        signerPublicKey - Entity signer's public key.
        version - Entity version.
        network - Entity network.
        type - Entity type.
        remotePublicKey - Remote public key.
        linkAction - Account link action.
    • Method Detail

      • create

        public static EmbeddedAccountLinkTransactionBuilder create​(KeyDto signerPublicKey,
                                                                   byte version,
                                                                   NetworkTypeDto network,
                                                                   EntityTypeDto type,
                                                                   KeyDto remotePublicKey,
                                                                   AccountLinkActionDto linkAction)
        Creates an instance of EmbeddedAccountLinkTransactionBuilder.
        Parameters:
        signerPublicKey - Entity signer's public key.
        version - Entity version.
        network - Entity network.
        type - Entity type.
        remotePublicKey - Remote public key.
        linkAction - Account link action.
        Returns:
        Instance of EmbeddedAccountLinkTransactionBuilder.
      • getRemotePublicKey

        public KeyDto getRemotePublicKey()
        Gets remote public key.
        Returns:
        Remote public key.
      • getLinkAction

        public AccountLinkActionDto getLinkAction()
        Gets account link action.
        Returns:
        Account link action.
      • loadFromBinary

        public static EmbeddedAccountLinkTransactionBuilder loadFromBinary​(java.io.DataInputStream stream)
        Creates an instance of EmbeddedAccountLinkTransactionBuilder from a stream.
        Parameters:
        stream - Byte stream to use to serialize the object.
        Returns:
        Instance of EmbeddedAccountLinkTransactionBuilder.