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(java.lang.String accountId,
java.lang.Long sequenceNumber) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccountId()
Returns ID associated with this Account
|
AccountResponse.Balance[] |
getBalances() |
AccountResponse.Data |
getData() |
AccountResponse.Flags |
getFlags() |
java.lang.String |
getHomeDomain() |
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() |
AccountResponse.Links |
getLinks() |
java.lang.Integer |
getNumSponsored() |
java.lang.Integer |
getNumSponsoring() |
java.lang.Long |
getSequenceNumber()
Returns current sequence number ot this Account.
|
AccountResponse.Signer[] |
getSigners() |
<any> |
getSponsor() |
java.lang.Integer |
getSubentryCount() |
AccountResponse.Thresholds |
getThresholds() |
void |
incrementSequenceNumber()
Increments sequence number in this object by one.
|
getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, setHeaders
public AccountResponse(java.lang.String accountId, java.lang.Long sequenceNumber)
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 java.lang.Long getIncrementedSequenceNumber()
TransactionBuilderAccount
getIncrementedSequenceNumber
in interface TransactionBuilderAccount
public void incrementSequenceNumber()
TransactionBuilderAccount
incrementSequenceNumber
in interface TransactionBuilderAccount
public java.lang.Integer getSubentryCount()
public java.lang.String getInflationDestination()
public java.lang.String getHomeDomain()
public java.lang.Integer getLastModifiedLedger()
public AccountResponse.Thresholds getThresholds()
public AccountResponse.Flags getFlags()
public AccountResponse.Balance[] getBalances()
public AccountResponse.Signer[] getSigners()
public AccountResponse.Data getData()
public java.lang.Integer getNumSponsoring()
public java.lang.Integer getNumSponsored()
public <any> getSponsor()
public AccountResponse.Links getLinks()