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