Package org.stellar.sdk.federation
Class FederationResponse
java.lang.Object
org.stellar.sdk.federation.FederationResponse
Object to hold a response from a federation server.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFederationResponse(String stellarAddress, String accountId, String memoType, String memo) Creates a newFederationResponseinstance. -
Method Summary
-
Constructor Details
-
FederationResponse
Creates a newFederationResponseinstance.- Parameters:
stellarAddress- Stellar address (e.g.bob*stellar.org).accountId- Account ID (e.g.GAVHK7L...).memoType- Memo type or null when no memo attached.memo- Memo value or null when no memo attached.
-
-
Method Details
-
getStellarAddress
Stellar address (e.g.bob*stellar.org).- Returns:
- the Stellar address
-
getAccountId
Account ID (e.g.GAVHK7L...).- Returns:
- the account ID
-
getMemoType
Memo type or null when no memo attached.- Returns:
- the memo type, or null
-
getMemo
Memo value or null when no memo attached.- Returns:
- the memo value, or null
-
equals
-
hashCode
public int hashCode() -
toString
-