{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115","id":49054716,"html_url":"https://github.com/recurly/recurly-client-net/pull/115","diff_url":"https://github.com/recurly/recurly-client-net/pull/115.diff","patch_url":"https://github.com/recurly/recurly-client-net/pull/115.patch","issue_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/115","number":115,"state":"open","locked":false,"title":"adds ability to get invoice from subscription","user":{"login":"cgerrior","id":8517551,"avatar_url":"https://avatars.githubusercontent.com/u/8517551?v=3","gravatar_id":"","url":"https://api.github.com/users/cgerrior","html_url":"https://github.com/cgerrior","followers_url":"https://api.github.com/users/cgerrior/followers","following_url":"https://api.github.com/users/cgerrior/following{/other_user}","gists_url":"https://api.github.com/users/cgerrior/gists{/gist_id}","starred_url":"https://api.github.com/users/cgerrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgerrior/subscriptions","organizations_url":"https://api.github.com/users/cgerrior/orgs","repos_url":"https://api.github.com/users/cgerrior/repos","events_url":"https://api.github.com/users/cgerrior/events{/privacy}","received_events_url":"https://api.github.com/users/cgerrior/received_events","type":"User","site_admin":false},"body":"Currently it is only possible to get the linked Account from a Subscription object. This PR provides an .Invoice method on the Subscription object that allows you to retrieve the linked Invoice.","created_at":"2015-10-28T19:25:58Z","updated_at":"2015-10-28T19:25:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115/commits","review_comments_url":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115/comments","review_comment_url":"https://api.github.com/repos/recurly/recurly-client-net/pulls/comments{/number}","comments_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/115/comments","statuses_url":"https://api.github.com/repos/recurly/recurly-client-net/statuses/f83822c9070b0375356d7e0aec30b39a8f870714","head":{"label":"cgerrior:getinvoicefromsub","ref":"getinvoicefromsub","sha":"f83822c9070b0375356d7e0aec30b39a8f870714","user":{"login":"cgerrior","id":8517551,"avatar_url":"https://avatars.githubusercontent.com/u/8517551?v=3","gravatar_id":"","url":"https://api.github.com/users/cgerrior","html_url":"https://github.com/cgerrior","followers_url":"https://api.github.com/users/cgerrior/followers","following_url":"https://api.github.com/users/cgerrior/following{/other_user}","gists_url":"https://api.github.com/users/cgerrior/gists{/gist_id}","starred_url":"https://api.github.com/users/cgerrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgerrior/subscriptions","organizations_url":"https://api.github.com/users/cgerrior/orgs","repos_url":"https://api.github.com/users/cgerrior/repos","events_url":"https://api.github.com/users/cgerrior/events{/privacy}","received_events_url":"https://api.github.com/users/cgerrior/received_events","type":"User","site_admin":false},"repo":{"id":25474974,"name":"recurly-client-net","full_name":"cgerrior/recurly-client-net","owner":{"login":"cgerrior","id":8517551,"avatar_url":"https://avatars.githubusercontent.com/u/8517551?v=3","gravatar_id":"","url":"https://api.github.com/users/cgerrior","html_url":"https://github.com/cgerrior","followers_url":"https://api.github.com/users/cgerrior/followers","following_url":"https://api.github.com/users/cgerrior/following{/other_user}","gists_url":"https://api.github.com/users/cgerrior/gists{/gist_id}","starred_url":"https://api.github.com/users/cgerrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgerrior/subscriptions","organizations_url":"https://api.github.com/users/cgerrior/orgs","repos_url":"https://api.github.com/users/cgerrior/repos","events_url":"https://api.github.com/users/cgerrior/events{/privacy}","received_events_url":"https://api.github.com/users/cgerrior/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgerrior/recurly-client-net","description":"A .NET API wrapper for Recurly. Super Simple Subscription billing.","fork":true,"url":"https://api.github.com/repos/cgerrior/recurly-client-net","forks_url":"https://api.github.com/repos/cgerrior/recurly-client-net/forks","keys_url":"https://api.github.com/repos/cgerrior/recurly-client-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgerrior/recurly-client-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgerrior/recurly-client-net/teams","hooks_url":"https://api.github.com/repos/cgerrior/recurly-client-net/hooks","issue_events_url":"https://api.github.com/repos/cgerrior/recurly-client-net/issues/events{/number}","events_url":"https://api.github.com/repos/cgerrior/recurly-client-net/events","assignees_url":"https://api.github.com/repos/cgerrior/recurly-client-net/assignees{/user}","branches_url":"https://api.github.com/repos/cgerrior/recurly-client-net/branches{/branch}","tags_url":"https://api.github.com/repos/cgerrior/recurly-client-net/tags","blobs_url":"https://api.github.com/repos/cgerrior/recurly-client-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgerrior/recurly-client-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgerrior/recurly-client-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgerrior/recurly-client-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgerrior/recurly-client-net/statuses/{sha}","languages_url":"https://api.github.com/repos/cgerrior/recurly-client-net/languages","stargazers_url":"https://api.github.com/repos/cgerrior/recurly-client-net/stargazers","contributors_url":"https://api.github.com/repos/cgerrior/recurly-client-net/contributors","subscribers_url":"https://api.github.com/repos/cgerrior/recurly-client-net/subscribers","subscription_url":"https://api.github.com/repos/cgerrior/recurly-client-net/subscription","commits_url":"https://api.github.com/repos/cgerrior/recurly-client-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgerrior/recurly-client-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgerrior/recurly-client-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgerrior/recurly-client-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgerrior/recurly-client-net/contents/{+path}","compare_url":"https://api.github.com/repos/cgerrior/recurly-client-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgerrior/recurly-client-net/merges","archive_url":"https://api.github.com/repos/cgerrior/recurly-client-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgerrior/recurly-client-net/downloads","issues_url":"https://api.github.com/repos/cgerrior/recurly-client-net/issues{/number}","pulls_url":"https://api.github.com/repos/cgerrior/recurly-client-net/pulls{/number}","milestones_url":"https://api.github.com/repos/cgerrior/recurly-client-net/milestones{/number}","notifications_url":"https://api.github.com/repos/cgerrior/recurly-client-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgerrior/recurly-client-net/labels{/name}","releases_url":"https://api.github.com/repos/cgerrior/recurly-client-net/releases{/id}","created_at":"2014-10-20T16:18:51Z","updated_at":"2014-10-20T16:51:55Z","pushed_at":"2015-10-28T19:22:24Z","git_url":"git://github.com/cgerrior/recurly-client-net.git","ssh_url":"git@github.com:cgerrior/recurly-client-net.git","clone_url":"https://github.com/cgerrior/recurly-client-net.git","svn_url":"https://github.com/cgerrior/recurly-client-net","homepage":"http://recurly.com","size":2664,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"recurly:master","ref":"master","sha":"3dcb489cacf1cf46bca1768592f48ff46e3c06d3","user":{"login":"recurly","id":144605,"avatar_url":"https://avatars.githubusercontent.com/u/144605?v=3","gravatar_id":"","url":"https://api.github.com/users/recurly","html_url":"https://github.com/recurly","followers_url":"https://api.github.com/users/recurly/followers","following_url":"https://api.github.com/users/recurly/following{/other_user}","gists_url":"https://api.github.com/users/recurly/gists{/gist_id}","starred_url":"https://api.github.com/users/recurly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/recurly/subscriptions","organizations_url":"https://api.github.com/users/recurly/orgs","repos_url":"https://api.github.com/users/recurly/repos","events_url":"https://api.github.com/users/recurly/events{/privacy}","received_events_url":"https://api.github.com/users/recurly/received_events","type":"Organization","site_admin":false},"repo":{"id":484994,"name":"recurly-client-net","full_name":"recurly/recurly-client-net","owner":{"login":"recurly","id":144605,"avatar_url":"https://avatars.githubusercontent.com/u/144605?v=3","gravatar_id":"","url":"https://api.github.com/users/recurly","html_url":"https://github.com/recurly","followers_url":"https://api.github.com/users/recurly/followers","following_url":"https://api.github.com/users/recurly/following{/other_user}","gists_url":"https://api.github.com/users/recurly/gists{/gist_id}","starred_url":"https://api.github.com/users/recurly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/recurly/subscriptions","organizations_url":"https://api.github.com/users/recurly/orgs","repos_url":"https://api.github.com/users/recurly/repos","events_url":"https://api.github.com/users/recurly/events{/privacy}","received_events_url":"https://api.github.com/users/recurly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/recurly/recurly-client-net","description":"A .NET API wrapper for Recurly. Super Simple Subscription billing.","fork":false,"url":"https://api.github.com/repos/recurly/recurly-client-net","forks_url":"https://api.github.com/repos/recurly/recurly-client-net/forks","keys_url":"https://api.github.com/repos/recurly/recurly-client-net/keys{/key_id}","collaborators_url":"https://api.github.com/repos/recurly/recurly-client-net/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/recurly/recurly-client-net/teams","hooks_url":"https://api.github.com/repos/recurly/recurly-client-net/hooks","issue_events_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/events{/number}","events_url":"https://api.github.com/repos/recurly/recurly-client-net/events","assignees_url":"https://api.github.com/repos/recurly/recurly-client-net/assignees{/user}","branches_url":"https://api.github.com/repos/recurly/recurly-client-net/branches{/branch}","tags_url":"https://api.github.com/repos/recurly/recurly-client-net/tags","blobs_url":"https://api.github.com/repos/recurly/recurly-client-net/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/recurly/recurly-client-net/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/recurly/recurly-client-net/git/refs{/sha}","trees_url":"https://api.github.com/repos/recurly/recurly-client-net/git/trees{/sha}","statuses_url":"https://api.github.com/repos/recurly/recurly-client-net/statuses/{sha}","languages_url":"https://api.github.com/repos/recurly/recurly-client-net/languages","stargazers_url":"https://api.github.com/repos/recurly/recurly-client-net/stargazers","contributors_url":"https://api.github.com/repos/recurly/recurly-client-net/contributors","subscribers_url":"https://api.github.com/repos/recurly/recurly-client-net/subscribers","subscription_url":"https://api.github.com/repos/recurly/recurly-client-net/subscription","commits_url":"https://api.github.com/repos/recurly/recurly-client-net/commits{/sha}","git_commits_url":"https://api.github.com/repos/recurly/recurly-client-net/git/commits{/sha}","comments_url":"https://api.github.com/repos/recurly/recurly-client-net/comments{/number}","issue_comment_url":"https://api.github.com/repos/recurly/recurly-client-net/issues/comments{/number}","contents_url":"https://api.github.com/repos/recurly/recurly-client-net/contents/{+path}","compare_url":"https://api.github.com/repos/recurly/recurly-client-net/compare/{base}...{head}","merges_url":"https://api.github.com/repos/recurly/recurly-client-net/merges","archive_url":"https://api.github.com/repos/recurly/recurly-client-net/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/recurly/recurly-client-net/downloads","issues_url":"https://api.github.com/repos/recurly/recurly-client-net/issues{/number}","pulls_url":"https://api.github.com/repos/recurly/recurly-client-net/pulls{/number}","milestones_url":"https://api.github.com/repos/recurly/recurly-client-net/milestones{/number}","notifications_url":"https://api.github.com/repos/recurly/recurly-client-net/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/recurly/recurly-client-net/labels{/name}","releases_url":"https://api.github.com/repos/recurly/recurly-client-net/releases{/id}","created_at":"2010-01-23T10:58:07Z","updated_at":"2015-10-21T19:59:15Z","pushed_at":"2015-10-16T22:10:57Z","git_url":"git://github.com/recurly/recurly-client-net.git","ssh_url":"git@github.com:recurly/recurly-client-net.git","clone_url":"https://github.com/recurly/recurly-client-net.git","svn_url":"https://github.com/recurly/recurly-client-net","homepage":"http://recurly.com","size":8752,"stargazers_count":41,"watchers_count":41,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":11,"forks":37,"open_issues":11,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115"},"html":{"href":"https://github.com/recurly/recurly-client-net/pull/115"},"issue":{"href":"https://api.github.com/repos/recurly/recurly-client-net/issues/115"},"comments":{"href":"https://api.github.com/repos/recurly/recurly-client-net/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/recurly/recurly-client-net/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/recurly/recurly-client-net/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/recurly/recurly-client-net/statuses/f83822c9070b0375356d7e0aec30b39a8f870714"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":0,"changed_files":1}}