public final class FederationResponse
extends java.lang.Object
Constructor and Description |
---|
FederationResponse(java.lang.String stellarAddress,
java.lang.String accountId,
java.lang.String memoType,
java.lang.String memo)
Creates a new
FederationResponse instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAccountId()
Account ID (e.g.
|
java.lang.String |
getMemo()
Memo value or null when no memo attached
|
java.lang.String |
getMemoType()
Memo type or null when no memo attached
|
java.lang.String |
getStellarAddress()
Stellar address (e.g.
|
int |
hashCode() |
java.lang.String |
toString() |
public FederationResponse(java.lang.String stellarAddress, java.lang.String accountId, java.lang.String memoType, java.lang.String memo)
FederationResponse
instance.stellarAddress
- Stellar address (e.g. `bob*stellar.org`).accountId
- Account ID (e.g. `GAVHK7L...`).memoType
- Memo type or null when no memo attachedmemo
- Memo value or null when no memo attachedpublic java.lang.String getStellarAddress()
public java.lang.String getAccountId()
public java.lang.String getMemoType()
public java.lang.String getMemo()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object