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()
TransactionBuilderAccountgetAccountId in interface TransactionBuilderAccountpublic KeyPair getKeyPair()
TransactionBuilderAccountgetKeyPair in interface TransactionBuilderAccountpublic java.lang.Long getSequenceNumber()
TransactionBuilderAccountgetSequenceNumber in interface TransactionBuilderAccountpublic void setSequenceNumber(long seqNum)
TransactionBuilderAccountsetSequenceNumber in interface TransactionBuilderAccountpublic java.lang.Long getIncrementedSequenceNumber()
TransactionBuilderAccountgetIncrementedSequenceNumber in interface TransactionBuilderAccountpublic void incrementSequenceNumber()
TransactionBuilderAccountincrementSequenceNumber in interface TransactionBuilderAccountpublic 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.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object