Class EmbeddedAccountOperationRestrictionTransactionBuilder

  • All Implemented Interfaces:
    Serializer

    public class EmbeddedAccountOperationRestrictionTransactionBuilder
    extends EmbeddedTransactionBuilder
    implements Serializer
    Binary layout for an embedded account operation restriction transaction
    • Constructor Detail

      • EmbeddedAccountOperationRestrictionTransactionBuilder

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

        protected EmbeddedAccountOperationRestrictionTransactionBuilder​(KeyDto signerPublicKey,
                                                                        byte version,
                                                                        NetworkTypeDto network,
                                                                        EntityTypeDto type,
                                                                        java.util.EnumSet<AccountRestrictionFlagsDto> restrictionFlags,
                                                                        java.util.List<EntityTypeDto> restrictionAdditions,
                                                                        java.util.List<EntityTypeDto> restrictionDeletions)
        Constructor.
        Parameters:
        signerPublicKey - Entity signer's public key.
        version - Entity version.
        network - Entity network.
        type - Entity type.
        restrictionFlags - Account restriction flags.
        restrictionAdditions - Account restriction additions.
        restrictionDeletions - Account restriction deletions.
    • Method Detail

      • loadFromBinary

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

        public static EmbeddedAccountOperationRestrictionTransactionBuilder create​(KeyDto signerPublicKey,
                                                                                   byte version,
                                                                                   NetworkTypeDto network,
                                                                                   EntityTypeDto type,
                                                                                   java.util.EnumSet<AccountRestrictionFlagsDto> restrictionFlags,
                                                                                   java.util.List<EntityTypeDto> restrictionAdditions,
                                                                                   java.util.List<EntityTypeDto> restrictionDeletions)
        Creates an instance of EmbeddedAccountOperationRestrictionTransactionBuilder.
        Parameters:
        signerPublicKey - Entity signer's public key.
        version - Entity version.
        network - Entity network.
        type - Entity type.
        restrictionFlags - Account restriction flags.
        restrictionAdditions - Account restriction additions.
        restrictionDeletions - Account restriction deletions.
        Returns:
        Instance of EmbeddedAccountOperationRestrictionTransactionBuilder.
      • getRestrictionFlags

        public java.util.EnumSet<AccountRestrictionFlagsDto> getRestrictionFlags()
        Gets account restriction flags.
        Returns:
        Account restriction flags.
      • getRestrictionAdditions

        public java.util.List<EntityTypeDto> getRestrictionAdditions()
        Gets account restriction additions.
        Returns:
        Account restriction additions.
      • getRestrictionDeletions

        public java.util.List<EntityTypeDto> getRestrictionDeletions()
        Gets account restriction deletions.
        Returns:
        Account restriction deletions.