Class AccountMosaicRestrictionTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.AccountMosaicRestrictionTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class AccountMosaicRestrictionTransactionV1Descriptor
extends Object
implements SymbolTransactionDescriptor
- AccountMosaicRestrictionTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for AccountMosaicRestrictionTransactionV1Descriptor.
Allow or block incoming transactions containing a given set of mosaics (V1, latest).
-
Constructor Summary
ConstructorsConstructorDescriptionAccountMosaicRestrictionTransactionV1Descriptor(AccountRestrictionFlags restrictionFlags, List<UnresolvedMosaicId> restrictionAdditions, List<UnresolvedMosaicId> restrictionDeletions) Creates a descriptor for AccountMosaicRestrictionTransactionV1. -
Method Summary
-
Constructor Details
-
AccountMosaicRestrictionTransactionV1Descriptor
public AccountMosaicRestrictionTransactionV1Descriptor(AccountRestrictionFlags restrictionFlags, List<UnresolvedMosaicId> restrictionAdditions, List<UnresolvedMosaicId> restrictionDeletions) Creates a descriptor for AccountMosaicRestrictionTransactionV1.- Parameters:
restrictionFlags- Type of restriction being applied to the listed mosaics.restrictionAdditions- Array of mosaics being added to the restricted list. (field is omitted when null)restrictionDeletions- Array of mosaics being removed from the restricted list. (field is omitted when null)
-
-
Method Details
-
toMap
- AccountMosaicRestrictionTransactionV1Descriptor.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.
-