Class EmbeddedAccountAddressRestrictionTransactionBuilder

  • All Implemented Interfaces:
    Serializer

    public final class EmbeddedAccountAddressRestrictionTransactionBuilder
    extends EmbeddedTransactionBuilder
    implements Serializer
    Binary layout for an embedded account address restriction transaction.
    • Constructor Detail

      • EmbeddedAccountAddressRestrictionTransactionBuilder

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

        protected EmbeddedAccountAddressRestrictionTransactionBuilder​(KeyDto signerPublicKey,
                                                                      byte version,
                                                                      NetworkTypeDto network,
                                                                      EntityTypeDto type,
                                                                      java.util.EnumSet<AccountRestrictionFlagsDto> restrictionFlags,
                                                                      java.util.List<UnresolvedAddressDto> restrictionAdditions,
                                                                      java.util.List<UnresolvedAddressDto> 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

      • create

        public static EmbeddedAccountAddressRestrictionTransactionBuilder create​(KeyDto signerPublicKey,
                                                                                 byte version,
                                                                                 NetworkTypeDto network,
                                                                                 EntityTypeDto type,
                                                                                 java.util.EnumSet<AccountRestrictionFlagsDto> restrictionFlags,
                                                                                 java.util.List<UnresolvedAddressDto> restrictionAdditions,
                                                                                 java.util.List<UnresolvedAddressDto> restrictionDeletions)
        Creates an instance of EmbeddedAccountAddressRestrictionTransactionBuilder.
        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 EmbeddedAccountAddressRestrictionTransactionBuilder.
      • getRestrictionFlags

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

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

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

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