public interface AccountRestrictionFlags
AccountRestrictionFlag
that creates any AccountRestrictionFlags
.
Type of account restriction types:
0x0001 (1 decimal) - Allow only incoming transactions from a given address.
0x0002 (2 decimal) - Allow only incoming transactions containing a given mosaic identifier.
0x4001 (16385 decimal) - Allow only outgoing transactions to a given address.
0x4004 (16388 decimal) - Allow only outgoing transactions with a given transaction type.
0x8001 (32769 decimal) - Block incoming transactions from a given address.
0x8002 (32770 decimal) - Block incoming transactions containing a given mosaic identifier.
0xC001 (49153 decimal) - Block outgoing transactions to a given address.
0xC004 (49156 decimal) - Block outgoing transactions with a given transaction type.
Modifier and Type | Method and Description |
---|---|
java.util.List<AccountRestrictionFlag> |
getFlags() |
AccountRestrictionTargetType |
getTargetType() |
int |
getValue()
Returns enum value.
|
java.lang.String |
name() |
static AccountRestrictionFlags |
rawValueOf(int value)
Search for all the possible AccountRestrictionFlags
|
static java.util.List<? extends AccountRestrictionFlags> |
values() |
int getValue()
java.lang.String name()
java.util.List<AccountRestrictionFlag> getFlags()
AccountRestrictionTargetType getTargetType()
static AccountRestrictionFlags rawValueOf(int value)
value
- Raw value of the enum.static java.util.List<? extends AccountRestrictionFlags> values()