Skip to content

Commit

Permalink
Updated to FederationResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekn committed Feb 17, 2016
1 parent 970ce88 commit c4c5a4d
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class FederationResponse {
@SerializedName("memo")
private final String memo;

FederationResponse(String stellarAddress, String accountId, String memoType, String memo) {
public FederationResponse(String stellarAddress, String accountId, String memoType, String memo) {
this.stellarAddress = stellarAddress;
this.accountId = accountId;
this.memoType = memoType;
Expand All @@ -31,10 +31,16 @@ public String getAccountId() {
return accountId;
}

/**
* @return Memo type or null when no memo attached
*/
public String getMemoType() {
return memoType;
}

/**
* @return Memo value or null when no memo attached
*/
public String getMemo() {
return memo;
}
Expand Down

0 comments on commit c4c5a4d

Please sign in to comment.