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