{"action":"created","comment":{"url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/comments/169882564","pull_request_review_id":98478539,"id":169882564,"diff_hunk":"@@ -107,6 +120,29 @@ public Memo getMemo() {\n     return memo;\n   }\n \n+  public List<Operation> getOperations() {\n+    String envelopeXdr = getEnvelopeXdr();\n+    try {\n+      Base64 base64 = new Base64();\n+      byte[] decoded = base64.decode(envelopeXdr.getBytes(CHARSET_UTF8));\n+      InputStream is = new ByteArrayInputStream(decoded);\n+      XdrDataInputStream xdrDataInputStream = new XdrDataInputStream(is);\n+      Transaction transaction = Transaction.decode(xdrDataInputStream);","path":"android-stellar-sdk/src/main/java/org/stellar/sdk/responses/TransactionResponse.java","position":38,"original_position":38,"commit_id":"19f66906b8eb58703cf9eb5e2a29388e2599c47d","original_commit_id":"19f66906b8eb58703cf9eb5e2a29388e2599c47d","user":{"login":"YohayBar","id":3635216,"avatar_url":"https://avatars0.githubusercontent.com/u/3635216?v=4","gravatar_id":"","url":"https://api.github.com/users/YohayBar","html_url":"https://github.com/YohayBar","followers_url":"https://api.github.com/users/YohayBar/followers","following_url":"https://api.github.com/users/YohayBar/following{/other_user}","gists_url":"https://api.github.com/users/YohayBar/gists{/gist_id}","starred_url":"https://api.github.com/users/YohayBar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YohayBar/subscriptions","organizations_url":"https://api.github.com/users/YohayBar/orgs","repos_url":"https://api.github.com/users/YohayBar/repos","events_url":"https://api.github.com/users/YohayBar/events{/privacy}","received_events_url":"https://api.github.com/users/YohayBar/received_events","type":"User","site_admin":false},"body":"could separate to additional method  getTransaction()","created_at":"2018-02-22T08:25:53Z","updated_at":"2018-02-22T08:25:53Z","html_url":"https://github.com/kinfoundation/android-stellar-sdk/pull/8#discussion_r169882564","pull_request_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/comments/169882564"},"html":{"href":"https://github.com/kinfoundation/android-stellar-sdk/pull/8#discussion_r169882564"},"pull_request":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8","id":170399943,"html_url":"https://github.com/kinfoundation/android-stellar-sdk/pull/8","diff_url":"https://github.com/kinfoundation/android-stellar-sdk/pull/8.diff","patch_url":"https://github.com/kinfoundation/android-stellar-sdk/pull/8.patch","issue_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/8","number":8,"state":"open","locked":false,"title":"fix sse for watching payments","user":{"login":"yosriz","id":1626032,"avatar_url":"https://avatars3.githubusercontent.com/u/1626032?v=4","gravatar_id":"","url":"https://api.github.com/users/yosriz","html_url":"https://github.com/yosriz","followers_url":"https://api.github.com/users/yosriz/followers","following_url":"https://api.github.com/users/yosriz/following{/other_user}","gists_url":"https://api.github.com/users/yosriz/gists{/gist_id}","starred_url":"https://api.github.com/users/yosriz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosriz/subscriptions","organizations_url":"https://api.github.com/users/yosriz/orgs","repos_url":"https://api.github.com/users/yosriz/repos","events_url":"https://api.github.com/users/yosriz/events{/privacy}","received_events_url":"https://api.github.com/users/yosriz/received_events","type":"User","site_admin":false},"body":"inline OkSse, make it work with horizon by fixing retry mechanism:\r\n* add required Last-Event-Id header\r\n* return correct values in SSE listener\r\n\r\nfor being able to watch payments and get relevant fields, the ability to get operations from transaction response was added, all payments within a single transaction can be observed, to get payment specific details (amount, destination etc.)\r\n","created_at":"2018-02-21T08:08:15Z","updated_at":"2018-02-22T08:25:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dfa5a521501ebdcf3918e4d60c5e1d50ece4900e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8/commits","review_comments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8/comments","review_comment_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/8/comments","statuses_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/statuses/19f66906b8eb58703cf9eb5e2a29388e2599c47d","head":{"label":"kinfoundation:fix_sse","ref":"fix_sse","sha":"19f66906b8eb58703cf9eb5e2a29388e2599c47d","user":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":117524177,"name":"android-stellar-sdk","full_name":"kinfoundation/android-stellar-sdk","owner":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kinfoundation/android-stellar-sdk","description":null,"fork":true,"url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk","forks_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/forks","keys_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/teams","hooks_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/hooks","issue_events_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/events","assignees_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/tags","blobs_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/languages","stargazers_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/stargazers","contributors_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/contributors","subscribers_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/subscribers","subscription_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/subscription","commits_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/merges","archive_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/downloads","issues_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/labels{/name}","releases_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/deployments","created_at":"2018-01-15T09:23:31Z","updated_at":"2018-01-23T08:32:15Z","pushed_at":"2018-02-22T08:21:16Z","git_url":"git://github.com/kinfoundation/android-stellar-sdk.git","ssh_url":"git@github.com:kinfoundation/android-stellar-sdk.git","clone_url":"https://github.com/kinfoundation/android-stellar-sdk.git","svn_url":"https://github.com/kinfoundation/android-stellar-sdk","homepage":"https://stellar.github.io/java-stellar-sdk/","size":6907,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"kinfoundation:master","ref":"master","sha":"4c4d21ac2f4f00d09202b2540057cba898e7a9e6","user":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":117524177,"name":"android-stellar-sdk","full_name":"kinfoundation/android-stellar-sdk","owner":{"login":"kinfoundation","id":28860603,"avatar_url":"https://avatars2.githubusercontent.com/u/28860603?v=4","gravatar_id":"","url":"https://api.github.com/users/kinfoundation","html_url":"https://github.com/kinfoundation","followers_url":"https://api.github.com/users/kinfoundation/followers","following_url":"https://api.github.com/users/kinfoundation/following{/other_user}","gists_url":"https://api.github.com/users/kinfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/kinfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinfoundation/subscriptions","organizations_url":"https://api.github.com/users/kinfoundation/orgs","repos_url":"https://api.github.com/users/kinfoundation/repos","events_url":"https://api.github.com/users/kinfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/kinfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kinfoundation/android-stellar-sdk","description":null,"fork":true,"url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk","forks_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/forks","keys_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/teams","hooks_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/hooks","issue_events_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/events","assignees_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/tags","blobs_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/languages","stargazers_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/stargazers","contributors_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/contributors","subscribers_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/subscribers","subscription_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/subscription","commits_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/merges","archive_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/downloads","issues_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/labels{/name}","releases_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/deployments","created_at":"2018-01-15T09:23:31Z","updated_at":"2018-01-23T08:32:15Z","pushed_at":"2018-02-22T08:21:16Z","git_url":"git://github.com/kinfoundation/android-stellar-sdk.git","ssh_url":"git@github.com:kinfoundation/android-stellar-sdk.git","clone_url":"https://github.com/kinfoundation/android-stellar-sdk.git","svn_url":"https://github.com/kinfoundation/android-stellar-sdk","homepage":"https://stellar.github.io/java-stellar-sdk/","size":6907,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8"},"html":{"href":"https://github.com/kinfoundation/android-stellar-sdk/pull/8"},"issue":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/8"},"comments":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/kinfoundation/android-stellar-sdk/statuses/19f66906b8eb58703cf9eb5e2a29388e2599c47d"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"YohayBar"}}