public class AccountResponse extends Response implements TransactionBuilderAccount
Modifier and Type | Class and Description |
---|---|
static class |
AccountResponse.Balance
Represents account balance.
|
static class |
AccountResponse.Data
Data connected to account.
|
static class |
AccountResponse.Flags
Represents account flags.
|
static class |
AccountResponse.Links
Links connected to account.
|
static class |
AccountResponse.Signer
Represents account signers.
|
static class |
AccountResponse.Thresholds
Represents account thresholds.
|
Constructor and Description |
---|
AccountResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccountId()
Returns ID associated with this Account
|
java.util.List<AccountResponse.Balance> |
getBalances() |
AccountResponse.Data |
getData() |
AccountResponse.Flags |
getFlags() |
java.lang.String |
getHomeDomain() |
java.lang.String |
getId() |
java.lang.Long |
getIncrementedSequenceNumber()
Returns sequence number incremented by one, but does not increment internal counter.
|
java.lang.String |
getInflationDestination() |
KeyPair |
getKeyPair()
Returns keypair associated with this Account
|
java.lang.Integer |
getLastModifiedLedger() |
java.lang.String |
getLastModifiedTime() |
AccountResponse.Links |
getLinks() |
java.lang.Integer |
getNumSponsored() |
java.lang.Integer |
getNumSponsoring() |
java.lang.String |
getPagingToken() |
java.lang.Long |
getSequenceLedger() |
java.lang.Long |
getSequenceNumber()
Returns current sequence number ot this Account.
|
java.lang.Long |
getSequenceTime() |
java.util.List<AccountResponse.Signer> |
getSigners() |
java.lang.String |
getSponsor() |
java.lang.Integer |
getSubentryCount() |
AccountResponse.Thresholds |
getThresholds() |
int |
hashCode() |
void |
incrementSequenceNumber()
Increments sequence number in this object by one.
|
void |
setSequenceNumber(long seqNum)
Set current sequence number on this Account.
|
java.lang.String |
toString() |
public java.lang.String getAccountId()
TransactionBuilderAccount
getAccountId
in interface TransactionBuilderAccount
public KeyPair getKeyPair()
TransactionBuilderAccount
getKeyPair
in interface TransactionBuilderAccount
public java.lang.Long getSequenceNumber()
TransactionBuilderAccount
getSequenceNumber
in interface TransactionBuilderAccount
public void setSequenceNumber(long seqNum)
TransactionBuilderAccount
setSequenceNumber
in interface TransactionBuilderAccount
public java.lang.Long getIncrementedSequenceNumber()
TransactionBuilderAccount
getIncrementedSequenceNumber
in interface TransactionBuilderAccount
public void incrementSequenceNumber()
TransactionBuilderAccount
incrementSequenceNumber
in interface TransactionBuilderAccount
public java.lang.String getId()
public java.lang.Long getSequenceLedger()
public java.lang.Long getSequenceTime()
public java.lang.Integer getSubentryCount()
public java.lang.String getInflationDestination()
public java.lang.String getHomeDomain()
public java.lang.Integer getLastModifiedLedger()
public java.lang.String getLastModifiedTime()
public AccountResponse.Thresholds getThresholds()
public AccountResponse.Flags getFlags()
public java.util.List<AccountResponse.Balance> getBalances()
public java.util.List<AccountResponse.Signer> getSigners()
public AccountResponse.Data getData()
public java.lang.Integer getNumSponsoring()
public java.lang.Integer getNumSponsored()
public java.lang.String getSponsor()
public java.lang.String getPagingToken()
public AccountResponse.Links getLinks()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object