{"action":"created","comment":{"url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/comments/57600310","id":57600310,"diff_hunk":"@@ -81,6 +84,27 @@ public Account getAccount() {\n         return account;\n     }\n \n+  /**\n+   * Set this original invoice to the passed in original invoice.\n+   *\n+   * @param originalInvoice original invoice\n+   */\n+  public void setOriginalInvoice(Invoice originalInvoice) {\n+        this.originalInvoice = originalInvoice;\n+    }\n+\n+  /**\n+   * Fetches the original invoice if the href is populated, otherwise return the current original invoice.\n+   *\n+   * @return fully loaded original invoice\n+   */\n+  public Invoice getOriginalInvoice() {","path":"src/main/java/com/ning/billing/recurly/model/Invoice.java","position":28,"original_position":28,"commit_id":"52d2256356d6aa8d2512f2defc1bd2e92d707257","original_commit_id":"52d2256356d6aa8d2512f2defc1bd2e92d707257","user":{"login":"bhelx","id":185919,"avatar_url":"https://avatars.githubusercontent.com/u/185919?v=3","gravatar_id":"","url":"https://api.github.com/users/bhelx","html_url":"https://github.com/bhelx","followers_url":"https://api.github.com/users/bhelx/followers","following_url":"https://api.github.com/users/bhelx/following{/other_user}","gists_url":"https://api.github.com/users/bhelx/gists{/gist_id}","starred_url":"https://api.github.com/users/bhelx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhelx/subscriptions","organizations_url":"https://api.github.com/users/bhelx/orgs","repos_url":"https://api.github.com/users/bhelx/repos","events_url":"https://api.github.com/users/bhelx/events{/privacy}","received_events_url":"https://api.github.com/users/bhelx/received_events","type":"User","site_admin":false},"body":"Indentation problem here too","created_at":"2016-03-28T17:26:53Z","updated_at":"2016-03-28T17:26:53Z","html_url":"https://github.com/killbilling/recurly-java-library/pull/107#discussion_r57600310","pull_request_url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107","_links":{"self":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/comments/57600310"},"html":{"href":"https://github.com/killbilling/recurly-java-library/pull/107#discussion_r57600310"},"pull_request":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107"}}},"pull_request":{"url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107","id":64321932,"html_url":"https://github.com/killbilling/recurly-java-library/pull/107","diff_url":"https://github.com/killbilling/recurly-java-library/pull/107.diff","patch_url":"https://github.com/killbilling/recurly-java-library/pull/107.patch","issue_url":"https://api.github.com/repos/killbilling/recurly-java-library/issues/107","number":107,"state":"open","locked":false,"title":"Added originial invoice to the invoice object.","user":{"login":"mzouitni","id":4752249,"avatar_url":"https://avatars.githubusercontent.com/u/4752249?v=3","gravatar_id":"","url":"https://api.github.com/users/mzouitni","html_url":"https://github.com/mzouitni","followers_url":"https://api.github.com/users/mzouitni/followers","following_url":"https://api.github.com/users/mzouitni/following{/other_user}","gists_url":"https://api.github.com/users/mzouitni/gists{/gist_id}","starred_url":"https://api.github.com/users/mzouitni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzouitni/subscriptions","organizations_url":"https://api.github.com/users/mzouitni/orgs","repos_url":"https://api.github.com/users/mzouitni/repos","events_url":"https://api.github.com/users/mzouitni/events{/privacy}","received_events_url":"https://api.github.com/users/mzouitni/received_events","type":"User","site_admin":false},"body":"The invoice object was missing the original invoice link, this object is populated when you have a refund invoice and the original invoice indicates the invoice for which the refund was applied. This is to fix issue #106 ","created_at":"2016-03-28T13:35:31Z","updated_at":"2016-03-28T17:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83205695355e1ad9bc8b5fb4c08bf41feeed15fe","assignee":{"login":"bhelx","id":185919,"avatar_url":"https://avatars.githubusercontent.com/u/185919?v=3","gravatar_id":"","url":"https://api.github.com/users/bhelx","html_url":"https://github.com/bhelx","followers_url":"https://api.github.com/users/bhelx/followers","following_url":"https://api.github.com/users/bhelx/following{/other_user}","gists_url":"https://api.github.com/users/bhelx/gists{/gist_id}","starred_url":"https://api.github.com/users/bhelx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhelx/subscriptions","organizations_url":"https://api.github.com/users/bhelx/orgs","repos_url":"https://api.github.com/users/bhelx/repos","events_url":"https://api.github.com/users/bhelx/events{/privacy}","received_events_url":"https://api.github.com/users/bhelx/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107/commits","review_comments_url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107/comments","review_comment_url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/comments{/number}","comments_url":"https://api.github.com/repos/killbilling/recurly-java-library/issues/107/comments","statuses_url":"https://api.github.com/repos/killbilling/recurly-java-library/statuses/52d2256356d6aa8d2512f2defc1bd2e92d707257","head":{"label":"mzouitni:master","ref":"master","sha":"52d2256356d6aa8d2512f2defc1bd2e92d707257","user":{"login":"mzouitni","id":4752249,"avatar_url":"https://avatars.githubusercontent.com/u/4752249?v=3","gravatar_id":"","url":"https://api.github.com/users/mzouitni","html_url":"https://github.com/mzouitni","followers_url":"https://api.github.com/users/mzouitni/followers","following_url":"https://api.github.com/users/mzouitni/following{/other_user}","gists_url":"https://api.github.com/users/mzouitni/gists{/gist_id}","starred_url":"https://api.github.com/users/mzouitni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzouitni/subscriptions","organizations_url":"https://api.github.com/users/mzouitni/orgs","repos_url":"https://api.github.com/users/mzouitni/repos","events_url":"https://api.github.com/users/mzouitni/events{/privacy}","received_events_url":"https://api.github.com/users/mzouitni/received_events","type":"User","site_admin":false},"repo":{"id":45419891,"name":"recurly-java-library","full_name":"mzouitni/recurly-java-library","owner":{"login":"mzouitni","id":4752249,"avatar_url":"https://avatars.githubusercontent.com/u/4752249?v=3","gravatar_id":"","url":"https://api.github.com/users/mzouitni","html_url":"https://github.com/mzouitni","followers_url":"https://api.github.com/users/mzouitni/followers","following_url":"https://api.github.com/users/mzouitni/following{/other_user}","gists_url":"https://api.github.com/users/mzouitni/gists{/gist_id}","starred_url":"https://api.github.com/users/mzouitni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzouitni/subscriptions","organizations_url":"https://api.github.com/users/mzouitni/orgs","repos_url":"https://api.github.com/users/mzouitni/repos","events_url":"https://api.github.com/users/mzouitni/events{/privacy}","received_events_url":"https://api.github.com/users/mzouitni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mzouitni/recurly-java-library","description":"Java library for Recurly","fork":true,"url":"https://api.github.com/repos/mzouitni/recurly-java-library","forks_url":"https://api.github.com/repos/mzouitni/recurly-java-library/forks","keys_url":"https://api.github.com/repos/mzouitni/recurly-java-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mzouitni/recurly-java-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mzouitni/recurly-java-library/teams","hooks_url":"https://api.github.com/repos/mzouitni/recurly-java-library/hooks","issue_events_url":"https://api.github.com/repos/mzouitni/recurly-java-library/issues/events{/number}","events_url":"https://api.github.com/repos/mzouitni/recurly-java-library/events","assignees_url":"https://api.github.com/repos/mzouitni/recurly-java-library/assignees{/user}","branches_url":"https://api.github.com/repos/mzouitni/recurly-java-library/branches{/branch}","tags_url":"https://api.github.com/repos/mzouitni/recurly-java-library/tags","blobs_url":"https://api.github.com/repos/mzouitni/recurly-java-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mzouitni/recurly-java-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mzouitni/recurly-java-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/mzouitni/recurly-java-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mzouitni/recurly-java-library/statuses/{sha}","languages_url":"https://api.github.com/repos/mzouitni/recurly-java-library/languages","stargazers_url":"https://api.github.com/repos/mzouitni/recurly-java-library/stargazers","contributors_url":"https://api.github.com/repos/mzouitni/recurly-java-library/contributors","subscribers_url":"https://api.github.com/repos/mzouitni/recurly-java-library/subscribers","subscription_url":"https://api.github.com/repos/mzouitni/recurly-java-library/subscription","commits_url":"https://api.github.com/repos/mzouitni/recurly-java-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/mzouitni/recurly-java-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/mzouitni/recurly-java-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/mzouitni/recurly-java-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/mzouitni/recurly-java-library/contents/{+path}","compare_url":"https://api.github.com/repos/mzouitni/recurly-java-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mzouitni/recurly-java-library/merges","archive_url":"https://api.github.com/repos/mzouitni/recurly-java-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mzouitni/recurly-java-library/downloads","issues_url":"https://api.github.com/repos/mzouitni/recurly-java-library/issues{/number}","pulls_url":"https://api.github.com/repos/mzouitni/recurly-java-library/pulls{/number}","milestones_url":"https://api.github.com/repos/mzouitni/recurly-java-library/milestones{/number}","notifications_url":"https://api.github.com/repos/mzouitni/recurly-java-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mzouitni/recurly-java-library/labels{/name}","releases_url":"https://api.github.com/repos/mzouitni/recurly-java-library/releases{/id}","deployments_url":"https://api.github.com/repos/mzouitni/recurly-java-library/deployments","created_at":"2015-11-02T20:24:53Z","updated_at":"2016-03-27T22:10:15Z","pushed_at":"2016-03-28T13:33:07Z","git_url":"git://github.com/mzouitni/recurly-java-library.git","ssh_url":"git@github.com:mzouitni/recurly-java-library.git","clone_url":"https://github.com/mzouitni/recurly-java-library.git","svn_url":"https://github.com/mzouitni/recurly-java-library","homepage":"http://recurly.com","size":622,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"killbilling:master","ref":"master","sha":"f987f91037ea225ab89a381606cf6df70b2dc888","user":{"login":"killbilling","id":1855150,"avatar_url":"https://avatars.githubusercontent.com/u/1855150?v=3","gravatar_id":"","url":"https://api.github.com/users/killbilling","html_url":"https://github.com/killbilling","followers_url":"https://api.github.com/users/killbilling/followers","following_url":"https://api.github.com/users/killbilling/following{/other_user}","gists_url":"https://api.github.com/users/killbilling/gists{/gist_id}","starred_url":"https://api.github.com/users/killbilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killbilling/subscriptions","organizations_url":"https://api.github.com/users/killbilling/orgs","repos_url":"https://api.github.com/users/killbilling/repos","events_url":"https://api.github.com/users/killbilling/events{/privacy}","received_events_url":"https://api.github.com/users/killbilling/received_events","type":"Organization","site_admin":false},"repo":{"id":5241154,"name":"recurly-java-library","full_name":"killbilling/recurly-java-library","owner":{"login":"killbilling","id":1855150,"avatar_url":"https://avatars.githubusercontent.com/u/1855150?v=3","gravatar_id":"","url":"https://api.github.com/users/killbilling","html_url":"https://github.com/killbilling","followers_url":"https://api.github.com/users/killbilling/followers","following_url":"https://api.github.com/users/killbilling/following{/other_user}","gists_url":"https://api.github.com/users/killbilling/gists{/gist_id}","starred_url":"https://api.github.com/users/killbilling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killbilling/subscriptions","organizations_url":"https://api.github.com/users/killbilling/orgs","repos_url":"https://api.github.com/users/killbilling/repos","events_url":"https://api.github.com/users/killbilling/events{/privacy}","received_events_url":"https://api.github.com/users/killbilling/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/killbilling/recurly-java-library","description":"Java library for Recurly","fork":false,"url":"https://api.github.com/repos/killbilling/recurly-java-library","forks_url":"https://api.github.com/repos/killbilling/recurly-java-library/forks","keys_url":"https://api.github.com/repos/killbilling/recurly-java-library/keys{/key_id}","collaborators_url":"https://api.github.com/repos/killbilling/recurly-java-library/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/killbilling/recurly-java-library/teams","hooks_url":"https://api.github.com/repos/killbilling/recurly-java-library/hooks","issue_events_url":"https://api.github.com/repos/killbilling/recurly-java-library/issues/events{/number}","events_url":"https://api.github.com/repos/killbilling/recurly-java-library/events","assignees_url":"https://api.github.com/repos/killbilling/recurly-java-library/assignees{/user}","branches_url":"https://api.github.com/repos/killbilling/recurly-java-library/branches{/branch}","tags_url":"https://api.github.com/repos/killbilling/recurly-java-library/tags","blobs_url":"https://api.github.com/repos/killbilling/recurly-java-library/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/killbilling/recurly-java-library/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/killbilling/recurly-java-library/git/refs{/sha}","trees_url":"https://api.github.com/repos/killbilling/recurly-java-library/git/trees{/sha}","statuses_url":"https://api.github.com/repos/killbilling/recurly-java-library/statuses/{sha}","languages_url":"https://api.github.com/repos/killbilling/recurly-java-library/languages","stargazers_url":"https://api.github.com/repos/killbilling/recurly-java-library/stargazers","contributors_url":"https://api.github.com/repos/killbilling/recurly-java-library/contributors","subscribers_url":"https://api.github.com/repos/killbilling/recurly-java-library/subscribers","subscription_url":"https://api.github.com/repos/killbilling/recurly-java-library/subscription","commits_url":"https://api.github.com/repos/killbilling/recurly-java-library/commits{/sha}","git_commits_url":"https://api.github.com/repos/killbilling/recurly-java-library/git/commits{/sha}","comments_url":"https://api.github.com/repos/killbilling/recurly-java-library/comments{/number}","issue_comment_url":"https://api.github.com/repos/killbilling/recurly-java-library/issues/comments{/number}","contents_url":"https://api.github.com/repos/killbilling/recurly-java-library/contents/{+path}","compare_url":"https://api.github.com/repos/killbilling/recurly-java-library/compare/{base}...{head}","merges_url":"https://api.github.com/repos/killbilling/recurly-java-library/merges","archive_url":"https://api.github.com/repos/killbilling/recurly-java-library/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/killbilling/recurly-java-library/downloads","issues_url":"https://api.github.com/repos/killbilling/recurly-java-library/issues{/number}","pulls_url":"https://api.github.com/repos/killbilling/recurly-java-library/pulls{/number}","milestones_url":"https://api.github.com/repos/killbilling/recurly-java-library/milestones{/number}","notifications_url":"https://api.github.com/repos/killbilling/recurly-java-library/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/killbilling/recurly-java-library/labels{/name}","releases_url":"https://api.github.com/repos/killbilling/recurly-java-library/releases{/id}","deployments_url":"https://api.github.com/repos/killbilling/recurly-java-library/deployments","created_at":"2012-07-31T03:42:37Z","updated_at":"2016-03-08T03:27:46Z","pushed_at":"2016-03-28T13:35:32Z","git_url":"git://github.com/killbilling/recurly-java-library.git","ssh_url":"git@github.com:killbilling/recurly-java-library.git","clone_url":"https://github.com/killbilling/recurly-java-library.git","svn_url":"https://github.com/killbilling/recurly-java-library","homepage":"http://recurly.com","size":778,"stargazers_count":29,"watchers_count":29,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":16,"forks":49,"open_issues":16,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107"},"html":{"href":"https://github.com/killbilling/recurly-java-library/pull/107"},"issue":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/issues/107"},"comments":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/issues/107/comments"},"review_comments":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107/comments"},"review_comment":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/pulls/107/commits"},"statuses":{"href":"https://api.github.com/repos/killbilling/recurly-java-library/statuses/52d2256356d6aa8d2512f2defc1bd2e92d707257"}}}}