Class AccountOperationRestrictionTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
- AccountOperationRestrictionTransactionV1Descriptor
Type safe descriptor used to generate a descriptor map for AccountOperationRestrictionTransactionV1Descriptor.
Allow or block outgoing transactions depending on their transaction type (V1, latest).
-
Constructor Summary
ConstructorsConstructorDescriptionAccountOperationRestrictionTransactionV1Descriptor(AccountRestrictionFlags restrictionFlags, List<TransactionType> restrictionAdditions, List<TransactionType> restrictionDeletions) Creates a descriptor for AccountOperationRestrictionTransactionV1. -
Method Summary
-
Constructor Details
-
AccountOperationRestrictionTransactionV1Descriptor
public AccountOperationRestrictionTransactionV1Descriptor(AccountRestrictionFlags restrictionFlags, List<TransactionType> restrictionAdditions, List<TransactionType> restrictionDeletions) Creates a descriptor for AccountOperationRestrictionTransactionV1.- Parameters:
restrictionFlags- Type of restriction being applied to the listed transaction types.restrictionAdditions- Array of transaction types being added to the restricted list. (field is omitted when null)restrictionDeletions- Array of transaction types being rtemoved from the restricted list. (field is omitted when null)
-
-
Method Details
-
toMap
- AccountOperationRestrictionTransactionV1Descriptor.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.
-