public class AccountOperationRestrictionTransactionFactory extends TransactionFactory<AccountOperationRestrictionTransaction>
AccountOperationRestrictionTransaction
Modifier and Type | Method and Description |
---|---|
AccountOperationRestrictionTransaction |
build() |
static AccountOperationRestrictionTransactionFactory |
create(NetworkType networkType,
Deadline deadline,
AccountOperationRestrictionFlags restrictionFlags,
java.util.List<TransactionType> restrictionAdditions,
java.util.List<TransactionType> restrictionDeletions)
Static create method for factory.
|
java.util.List<TransactionType> |
getRestrictionAdditions() |
java.util.List<TransactionType> |
getRestrictionDeletions() |
AccountOperationRestrictionFlags |
getRestrictionFlags()
Get account restriction falgs.
|
calculateMaxFeeFromMultiplier, deadline, getDeadline, getGroup, getMaxFee, getNetworkType, getProvidedSize, getSignature, getSigner, getSize, getTransactionInfo, getType, getVersion, group, maxFee, signature, signer, size, transactionInfo, version
public static AccountOperationRestrictionTransactionFactory create(NetworkType networkType, Deadline deadline, AccountOperationRestrictionFlags restrictionFlags, java.util.List<TransactionType> restrictionAdditions, java.util.List<TransactionType> restrictionDeletions)
networkType
- Network type.deadline
- the deadlinerestrictionFlags
- Restriction flags.restrictionAdditions
- List of transaction types that are going to be added to the
restriction.restrictionDeletions
- List of transaction types that are going to be removed from the
restriction.public AccountOperationRestrictionFlags getRestrictionFlags()
AccountOperationRestrictionFlags
public AccountOperationRestrictionTransaction build()
build
in class TransactionFactory<AccountOperationRestrictionTransaction>
public java.util.List<TransactionType> getRestrictionAdditions()
public java.util.List<TransactionType> getRestrictionDeletions()