Package org.stellar.sdk.responses
Class AccountResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.AccountResponse
- All Implemented Interfaces:
TransactionBuilderAccount
Represents account response.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents account balance.static classData connected to account.static final classRepresents account flags.static final classLinks connected to account.static final classRepresents account signers.static final classRepresents account thresholds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns ID associated with this Account.getData()getFlags()getId()Returns sequence number incremented by one, but does not increment internal counter.Returns keypair associated with this Account.getLinks()Returns current sequence number of this Account.inthashCode()voidIncrements sequence number in this object by one.voidsetSequenceNumber(long seqNum) Sets current sequence number on this Account.toString()
-
Constructor Details
-
AccountResponse
public AccountResponse()
-
-
Method Details
-
getAccountId
Description copied from interface:TransactionBuilderAccountReturns ID associated with this Account.- Specified by:
getAccountIdin interfaceTransactionBuilderAccount- Returns:
- the account ID as a Stellar public key string (starting with
G)
-
getKeyPair
Description copied from interface:TransactionBuilderAccountReturns keypair associated with this Account.- Specified by:
getKeyPairin interfaceTransactionBuilderAccount- Returns:
- the
KeyPairfor this account
-
getSequenceNumber
Description copied from interface:TransactionBuilderAccountReturns current sequence number of this Account.- Specified by:
getSequenceNumberin interfaceTransactionBuilderAccount- Returns:
- the current sequence number
-
setSequenceNumber
public void setSequenceNumber(long seqNum) Description copied from interface:TransactionBuilderAccountSets current sequence number on this Account.- Specified by:
setSequenceNumberin interfaceTransactionBuilderAccount- Parameters:
seqNum- the new sequence number to set
-
getIncrementedSequenceNumber
Description copied from interface:TransactionBuilderAccountReturns sequence number incremented by one, but does not increment internal counter.- Specified by:
getIncrementedSequenceNumberin interfaceTransactionBuilderAccount- Returns:
- the sequence number incremented by one
-
incrementSequenceNumber
public void incrementSequenceNumber()Description copied from interface:TransactionBuilderAccountIncrements sequence number in this object by one.- Specified by:
incrementSequenceNumberin interfaceTransactionBuilderAccount
-
getId
-
getSequenceLedger
-
getSequenceTime
-
getSubentryCount
-
getInflationDestination
-
getHomeDomain
-
getLastModifiedLedger
-
getLastModifiedTime
-
getThresholds
-
getFlags
-
getBalances
-
getSigners
-
getData
-
getNumSponsoring
-
getNumSponsored
-
getSponsor
-
getPagingToken
-
getLinks
-
toString
-
equals
-
hashCode
public int hashCode()
-