{"action":"created","comment":{"url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/comments/68531057","id":68531057,"diff_hunk":"@@ -50,6 +53,14 @@ public function setUnitDiscount($unit_off, $unit_type) {\n                 return $this;\n             }\n             \n+            public function setGiftAmount($amount) {\n+                $this->_voucher->type = \"GIFT_VOUCHER\"","path":"VoucherBuilder.php","position":29,"original_position":29,"commit_id":"000bf006d3157a9b734cc41a0dc96b728c1bfa0a","original_commit_id":"000bf006d3157a9b734cc41a0dc96b728c1bfa0a","user":{"login":"mandraszyk","id":8632544,"avatar_url":"https://avatars.githubusercontent.com/u/8632544?v=3","gravatar_id":"","url":"https://api.github.com/users/mandraszyk","html_url":"https://github.com/mandraszyk","followers_url":"https://api.github.com/users/mandraszyk/followers","following_url":"https://api.github.com/users/mandraszyk/following{/other_user}","gists_url":"https://api.github.com/users/mandraszyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mandraszyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandraszyk/subscriptions","organizations_url":"https://api.github.com/users/mandraszyk/orgs","repos_url":"https://api.github.com/users/mandraszyk/repos","events_url":"https://api.github.com/users/mandraszyk/events{/privacy}","received_events_url":"https://api.github.com/users/mandraszyk/received_events","type":"User","site_admin":false},"body":"missing `;` at the end of line","created_at":"2016-06-27T07:14:57Z","updated_at":"2016-06-27T07:14:57Z","html_url":"https://github.com/rspective/voucherify-php-sdk/pull/21#discussion_r68531057","pull_request_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/comments/68531057"},"html":{"href":"https://github.com/rspective/voucherify-php-sdk/pull/21#discussion_r68531057"},"pull_request":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21","id":74942460,"html_url":"https://github.com/rspective/voucherify-php-sdk/pull/21","diff_url":"https://github.com/rspective/voucherify-php-sdk/pull/21.diff","patch_url":"https://github.com/rspective/voucherify-php-sdk/pull/21.patch","issue_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/21","number":21,"state":"open","locked":false,"title":"gift vouchers, v 0.7.0","user":{"login":"LukaszWiktor","id":2964543,"avatar_url":"https://avatars.githubusercontent.com/u/2964543?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaszWiktor","html_url":"https://github.com/LukaszWiktor","followers_url":"https://api.github.com/users/LukaszWiktor/followers","following_url":"https://api.github.com/users/LukaszWiktor/following{/other_user}","gists_url":"https://api.github.com/users/LukaszWiktor/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszWiktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszWiktor/subscriptions","organizations_url":"https://api.github.com/users/LukaszWiktor/orgs","repos_url":"https://api.github.com/users/LukaszWiktor/repos","events_url":"https://api.github.com/users/LukaszWiktor/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszWiktor/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-23T12:01:29Z","updated_at":"2016-06-27T07:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d62eabe6431520dd6f17308bc4a2a1b4c38c229","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21/commits","review_comments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21/comments","review_comment_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/21/comments","statuses_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/statuses/000bf006d3157a9b734cc41a0dc96b728c1bfa0a","head":{"label":"rspective:gift-voucher","ref":"gift-voucher","sha":"000bf006d3157a9b734cc41a0dc96b728c1bfa0a","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":47030967,"name":"voucherify-php-sdk","full_name":"rspective/voucherify-php-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-php-sdk","description":"PHP SDK for Voucherify - coupons, vouchers, promo codes","fork":false,"url":"https://api.github.com/repos/rspective/voucherify-php-sdk","forks_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/forks","keys_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/teams","hooks_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/hooks","issue_events_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/events","assignees_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/tags","blobs_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/languages","stargazers_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/stargazers","contributors_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/contributors","subscribers_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/subscribers","subscription_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/subscription","commits_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/merges","archive_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/downloads","issues_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/labels{/name}","releases_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/deployments","created_at":"2015-11-28T16:33:29Z","updated_at":"2016-06-13T09:32:15Z","pushed_at":"2016-06-23T12:01:29Z","git_url":"git://github.com/rspective/voucherify-php-sdk.git","ssh_url":"git@github.com:rspective/voucherify-php-sdk.git","clone_url":"https://github.com/rspective/voucherify-php-sdk.git","svn_url":"https://github.com/rspective/voucherify-php-sdk","homepage":"www.voucherify.io","size":43,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"rspective:master","ref":"master","sha":"e08c1b56c661acf9b599273aa16cdf1701ce06cd","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":47030967,"name":"voucherify-php-sdk","full_name":"rspective/voucherify-php-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-php-sdk","description":"PHP SDK for Voucherify - coupons, vouchers, promo codes","fork":false,"url":"https://api.github.com/repos/rspective/voucherify-php-sdk","forks_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/forks","keys_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/teams","hooks_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/hooks","issue_events_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/events","assignees_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/tags","blobs_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/languages","stargazers_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/stargazers","contributors_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/contributors","subscribers_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/subscribers","subscription_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/subscription","commits_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/merges","archive_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/downloads","issues_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/labels{/name}","releases_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/rspective/voucherify-php-sdk/deployments","created_at":"2015-11-28T16:33:29Z","updated_at":"2016-06-13T09:32:15Z","pushed_at":"2016-06-23T12:01:29Z","git_url":"git://github.com/rspective/voucherify-php-sdk.git","ssh_url":"git@github.com:rspective/voucherify-php-sdk.git","clone_url":"https://github.com/rspective/voucherify-php-sdk.git","svn_url":"https://github.com/rspective/voucherify-php-sdk","homepage":"www.voucherify.io","size":43,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21"},"html":{"href":"https://github.com/rspective/voucherify-php-sdk/pull/21"},"issue":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/21"},"comments":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/rspective/voucherify-php-sdk/statuses/000bf006d3157a9b734cc41a0dc96b728c1bfa0a"}}}}
{"actor":{"display_login":"mandraszyk"}}