{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10","id":50268370,"html_url":"https://github.com/rspective/voucherify-java-sdk/pull/10","diff_url":"https://github.com/rspective/voucherify-java-sdk/pull/10.diff","patch_url":"https://github.com/rspective/voucherify-java-sdk/pull/10.patch","issue_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/10","number":10,"state":"closed","locked":false,"title":"Add utils for computing discount value and price after discount ","user":{"login":"frakti","id":679817,"avatar_url":"https://avatars.githubusercontent.com/u/679817?v=3","gravatar_id":"","url":"https://api.github.com/users/frakti","html_url":"https://github.com/frakti","followers_url":"https://api.github.com/users/frakti/followers","following_url":"https://api.github.com/users/frakti/following{/other_user}","gists_url":"https://api.github.com/users/frakti/gists{/gist_id}","starred_url":"https://api.github.com/users/frakti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frakti/subscriptions","organizations_url":"https://api.github.com/users/frakti/orgs","repos_url":"https://api.github.com/users/frakti/repos","events_url":"https://api.github.com/users/frakti/events{/privacy}","received_events_url":"https://api.github.com/users/frakti/received_events","type":"User","site_admin":false},"body":"Proszę dokładnie przejrzyjcie, czy wszystkie case są w testach.\r\n\r\n@polok potwierdź proszę dodatkowo czy ten kodzik zadziała na Androidzie, jak go przeniosę 1 do 1 na AndroidSDK.\r\n","created_at":"2015-11-10T15:36:08Z","updated_at":"2015-11-12T09:58:38Z","closed_at":"2015-11-12T09:58:38Z","merged_at":"2015-11-12T09:58:38Z","merge_commit_sha":"6bc6203a03cfb161aca7f51b2a7440eb26c240a0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10/commits","review_comments_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10/comments","review_comment_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/10/comments","statuses_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/statuses/2d9ae04659f56e9105d54f2e168a46193fc69c49","head":{"label":"rspective:161-utils","ref":"161-utils","sha":"2d9ae04659f56e9105d54f2e168a46193fc69c49","user":{"login":"rspective","id":3333318,"avatar_url":"https://avatars.githubusercontent.com/u/3333318?v=3","gravatar_id":"","url":"https://api.github.com/users/rspective","html_url":"https://github.com/rspective","followers_url":"https://api.github.com/users/rspective/followers","following_url":"https://api.github.com/users/rspective/following{/other_user}","gists_url":"https://api.github.com/users/rspective/gists{/gist_id}","starred_url":"https://api.github.com/users/rspective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspective/subscriptions","organizations_url":"https://api.github.com/users/rspective/orgs","repos_url":"https://api.github.com/users/rspective/repos","events_url":"https://api.github.com/users/rspective/events{/privacy}","received_events_url":"https://api.github.com/users/rspective/received_events","type":"Organization","site_admin":false},"repo":{"id":34158396,"name":"voucherify-java-sdk","full_name":"rspective/voucherify-java-sdk","owner":{"login":"rspective","id":3333318,"avatar_url":"https://avatars.githubusercontent.com/u/3333318?v=3","gravatar_id":"","url":"https://api.github.com/users/rspective","html_url":"https://github.com/rspective","followers_url":"https://api.github.com/users/rspective/followers","following_url":"https://api.github.com/users/rspective/following{/other_user}","gists_url":"https://api.github.com/users/rspective/gists{/gist_id}","starred_url":"https://api.github.com/users/rspective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspective/subscriptions","organizations_url":"https://api.github.com/users/rspective/orgs","repos_url":"https://api.github.com/users/rspective/repos","events_url":"https://api.github.com/users/rspective/events{/privacy}","received_events_url":"https://api.github.com/users/rspective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rspective/voucherify-java-sdk","description":"","fork":false,"url":"https://api.github.com/repos/rspective/voucherify-java-sdk","forks_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/forks","keys_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/teams","hooks_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/events","assignees_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/tags","blobs_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/languages","stargazers_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/subscription","commits_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/merges","archive_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/downloads","issues_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/releases{/id}","created_at":"2015-04-18T08:26:34Z","updated_at":"2015-07-08T14:09:51Z","pushed_at":"2015-11-12T09:58:38Z","git_url":"git://github.com/rspective/voucherify-java-sdk.git","ssh_url":"git@github.com:rspective/voucherify-java-sdk.git","clone_url":"https://github.com/rspective/voucherify-java-sdk.git","svn_url":"https://github.com/rspective/voucherify-java-sdk","homepage":"www.voucherify.io","size":920,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"rspective:master","ref":"master","sha":"0c64d39f2451eff92960e55a76b0b507c7fefec2","user":{"login":"rspective","id":3333318,"avatar_url":"https://avatars.githubusercontent.com/u/3333318?v=3","gravatar_id":"","url":"https://api.github.com/users/rspective","html_url":"https://github.com/rspective","followers_url":"https://api.github.com/users/rspective/followers","following_url":"https://api.github.com/users/rspective/following{/other_user}","gists_url":"https://api.github.com/users/rspective/gists{/gist_id}","starred_url":"https://api.github.com/users/rspective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspective/subscriptions","organizations_url":"https://api.github.com/users/rspective/orgs","repos_url":"https://api.github.com/users/rspective/repos","events_url":"https://api.github.com/users/rspective/events{/privacy}","received_events_url":"https://api.github.com/users/rspective/received_events","type":"Organization","site_admin":false},"repo":{"id":34158396,"name":"voucherify-java-sdk","full_name":"rspective/voucherify-java-sdk","owner":{"login":"rspective","id":3333318,"avatar_url":"https://avatars.githubusercontent.com/u/3333318?v=3","gravatar_id":"","url":"https://api.github.com/users/rspective","html_url":"https://github.com/rspective","followers_url":"https://api.github.com/users/rspective/followers","following_url":"https://api.github.com/users/rspective/following{/other_user}","gists_url":"https://api.github.com/users/rspective/gists{/gist_id}","starred_url":"https://api.github.com/users/rspective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rspective/subscriptions","organizations_url":"https://api.github.com/users/rspective/orgs","repos_url":"https://api.github.com/users/rspective/repos","events_url":"https://api.github.com/users/rspective/events{/privacy}","received_events_url":"https://api.github.com/users/rspective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rspective/voucherify-java-sdk","description":"","fork":false,"url":"https://api.github.com/repos/rspective/voucherify-java-sdk","forks_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/forks","keys_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/teams","hooks_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/hooks","issue_events_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/events","assignees_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/tags","blobs_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/languages","stargazers_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/stargazers","contributors_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/contributors","subscribers_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/subscribers","subscription_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/subscription","commits_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/merges","archive_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/downloads","issues_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/labels{/name}","releases_url":"https://api.github.com/repos/rspective/voucherify-java-sdk/releases{/id}","created_at":"2015-04-18T08:26:34Z","updated_at":"2015-07-08T14:09:51Z","pushed_at":"2015-11-12T09:58:38Z","git_url":"git://github.com/rspective/voucherify-java-sdk.git","ssh_url":"git@github.com:rspective/voucherify-java-sdk.git","clone_url":"https://github.com/rspective/voucherify-java-sdk.git","svn_url":"https://github.com/rspective/voucherify-java-sdk","homepage":"www.voucherify.io","size":920,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10"},"html":{"href":"https://github.com/rspective/voucherify-java-sdk/pull/10"},"issue":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/10"},"comments":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/rspective/voucherify-java-sdk/statuses/2d9ae04659f56e9105d54f2e168a46193fc69c49"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tpindel","id":1272819,"avatar_url":"https://avatars.githubusercontent.com/u/1272819?v=3","gravatar_id":"","url":"https://api.github.com/users/tpindel","html_url":"https://github.com/tpindel","followers_url":"https://api.github.com/users/tpindel/followers","following_url":"https://api.github.com/users/tpindel/following{/other_user}","gists_url":"https://api.github.com/users/tpindel/gists{/gist_id}","starred_url":"https://api.github.com/users/tpindel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpindel/subscriptions","organizations_url":"https://api.github.com/users/tpindel/orgs","repos_url":"https://api.github.com/users/tpindel/repos","events_url":"https://api.github.com/users/tpindel/events{/privacy}","received_events_url":"https://api.github.com/users/tpindel/received_events","type":"User","site_admin":false},"comments":0,"review_comments":2,"commits":3,"additions":208,"deletions":2,"changed_files":6}}