Constructor and Description |
---|
AccountInfo(java.lang.String recordId,
int version,
Address address,
java.math.BigInteger addressHeight,
PublicKey publicKey,
java.math.BigInteger publicKeyHeight,
java.math.BigInteger importance,
java.math.BigInteger importanceHeight,
java.util.List<ResolvedMosaic> mosaics,
AccountType accountType,
SupplementalAccountKeys supplementalAccountKeys,
java.util.List<ActivityBucket> activityBuckets) |
Modifier and Type | Method and Description |
---|---|
AccountType |
getAccountType() |
java.util.List<ActivityBucket> |
getActivityBuckets() |
Address |
getAddress()
Returns account address.
|
java.math.BigInteger |
getAddressHeight()
Returns height when the address was published.
|
Importance |
getImportance()
Returns the Importance of the account.
|
java.util.List<ResolvedMosaic> |
getMosaics()
Returns mosaics hold by the account.
|
PublicAccount |
getPublicAccount()
Returns height when the address was published.
|
PublicKey |
getPublicKey()
Returns public key of the account.
|
java.math.BigInteger |
getPublicKeyHeight()
Returns height when the public key was published.
|
java.util.Optional<java.lang.String> |
getRecordId()
Returns database record id of the entity.
|
SupplementalAccountKeys |
getSupplementalAccountKeys() |
int |
getVersion() |
boolean |
isHighValue()
If the account is a harvesting account.
|
byte[] |
serialize() |
public AccountInfo(java.lang.String recordId, int version, Address address, java.math.BigInteger addressHeight, PublicKey publicKey, java.math.BigInteger publicKeyHeight, java.math.BigInteger importance, java.math.BigInteger importanceHeight, java.util.List<ResolvedMosaic> mosaics, AccountType accountType, SupplementalAccountKeys supplementalAccountKeys, java.util.List<ActivityBucket> activityBuckets)
public java.util.Optional<java.lang.String> getRecordId()
Stored
getRecordId
in interface Stored
public java.math.BigInteger getAddressHeight()
public PublicKey getPublicKey()
public java.math.BigInteger getPublicKeyHeight()
public Importance getImportance()
public java.util.List<ResolvedMosaic> getMosaics()
ResolvedMosaic
public PublicAccount getPublicAccount()
PublicAccount
public AccountType getAccountType()
public SupplementalAccountKeys getSupplementalAccountKeys()
public java.util.List<ActivityBucket> getActivityBuckets()
public boolean isHighValue()
public int getVersion()
public byte[] serialize()