{"action":"created","comment":{"url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/comments/186289676","pull_request_review_id":117842515,"id":186289676,"diff_hunk":"@@ -96,6 +104,22 @@ public function setReference($reference)\n         $this->reference = $reference;\n     }\n \n+    /**\n+     * @return bool\n+     */\n+    public function isShippingAddressRequired()\n+    {\n+        return $this->shippingAddressRequired;","path":"src/Requests/Checkout/Order.php","position":24,"original_position":24,"commit_id":"92b0c5733d0d6e956624dbdd520153f9247650e6","original_commit_id":"92b0c5733d0d6e956624dbdd520153f9247650e6","user":{"login":"lmarttins","id":563828,"avatar_url":"https://avatars3.githubusercontent.com/u/563828?v=4","gravatar_id":"","url":"https://api.github.com/users/lmarttins","html_url":"https://github.com/lmarttins","followers_url":"https://api.github.com/users/lmarttins/followers","following_url":"https://api.github.com/users/lmarttins/following{/other_user}","gists_url":"https://api.github.com/users/lmarttins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmarttins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmarttins/subscriptions","organizations_url":"https://api.github.com/users/lmarttins/orgs","repos_url":"https://api.github.com/users/lmarttins/repos","events_url":"https://api.github.com/users/lmarttins/events{/privacy}","received_events_url":"https://api.github.com/users/lmarttins/received_events","type":"User","site_admin":false},"body":"Será criado um teste para cobrir este cenário.","created_at":"2018-05-06T12:59:17Z","updated_at":"2018-05-06T12:59:17Z","html_url":"https://github.com/PHPSC/pagseguro/pull/63#discussion_r186289676","pull_request_url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/comments/186289676"},"html":{"href":"https://github.com/PHPSC/pagseguro/pull/63#discussion_r186289676"},"pull_request":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63"}},"in_reply_to_id":186279867},"pull_request":{"url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63","id":186173700,"html_url":"https://github.com/PHPSC/pagseguro/pull/63","diff_url":"https://github.com/PHPSC/pagseguro/pull/63.diff","patch_url":"https://github.com/PHPSC/pagseguro/pull/63.patch","issue_url":"https://api.github.com/repos/PHPSC/pagseguro/issues/63","number":63,"state":"open","locked":false,"title":"Checkout de Serviços","user":{"login":"lmarttins","id":563828,"avatar_url":"https://avatars3.githubusercontent.com/u/563828?v=4","gravatar_id":"","url":"https://api.github.com/users/lmarttins","html_url":"https://github.com/lmarttins","followers_url":"https://api.github.com/users/lmarttins/followers","following_url":"https://api.github.com/users/lmarttins/following{/other_user}","gists_url":"https://api.github.com/users/lmarttins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmarttins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmarttins/subscriptions","organizations_url":"https://api.github.com/users/lmarttins/orgs","repos_url":"https://api.github.com/users/lmarttins/repos","events_url":"https://api.github.com/users/lmarttins/events{/privacy}","received_events_url":"https://api.github.com/users/lmarttins/received_events","type":"User","site_admin":false},"body":"- Possibilidade de setar o atributo \"shippingAddressRequired\" para que os dados de endereço não sejam obrigatórios no checkout.\r\n\r\nExemplo de uso:\r\n\r\n```\r\n$checkout = $service->createCheckoutBuilder()\r\n    ->addItem(new Item(1, 'Televisão LED 500', 8999.99))\r\n    ->notRequireShippingAddress()\r\n    ->getCheckout();\r\n```\r\n\r\nhttps://dev.pagseguro.uol.com.br/documentacao/pagamento-online/pagamentos/checkout-de-servico","created_at":"2018-05-05T20:07:30Z","updated_at":"2018-05-06T12:59:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1518a7eb42782ce84a867dec80439c965b04f712","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":10868758,"url":"https://api.github.com/repos/PHPSC/pagseguro/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/PHPSC/pagseguro/milestones/3","html_url":"https://github.com/PHPSC/pagseguro/milestone/3","labels_url":"https://api.github.com/repos/PHPSC/pagseguro/milestones/3/labels","id":3323254,"number":3,"title":"1.1.0","description":null,"creator":{"login":"lcobucci","id":201963,"avatar_url":"https://avatars2.githubusercontent.com/u/201963?v=4","gravatar_id":"","url":"https://api.github.com/users/lcobucci","html_url":"https://github.com/lcobucci","followers_url":"https://api.github.com/users/lcobucci/followers","following_url":"https://api.github.com/users/lcobucci/following{/other_user}","gists_url":"https://api.github.com/users/lcobucci/gists{/gist_id}","starred_url":"https://api.github.com/users/lcobucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcobucci/subscriptions","organizations_url":"https://api.github.com/users/lcobucci/orgs","repos_url":"https://api.github.com/users/lcobucci/repos","events_url":"https://api.github.com/users/lcobucci/events{/privacy}","received_events_url":"https://api.github.com/users/lcobucci/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2018-05-06T07:22:53Z","updated_at":"2018-05-06T07:22:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63/commits","review_comments_url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63/comments","review_comment_url":"https://api.github.com/repos/PHPSC/pagseguro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PHPSC/pagseguro/issues/63/comments","statuses_url":"https://api.github.com/repos/PHPSC/pagseguro/statuses/92b0c5733d0d6e956624dbdd520153f9247650e6","head":{"label":"lmarttins:feature/checkout-service","ref":"feature/checkout-service","sha":"92b0c5733d0d6e956624dbdd520153f9247650e6","user":{"login":"lmarttins","id":563828,"avatar_url":"https://avatars3.githubusercontent.com/u/563828?v=4","gravatar_id":"","url":"https://api.github.com/users/lmarttins","html_url":"https://github.com/lmarttins","followers_url":"https://api.github.com/users/lmarttins/followers","following_url":"https://api.github.com/users/lmarttins/following{/other_user}","gists_url":"https://api.github.com/users/lmarttins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmarttins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmarttins/subscriptions","organizations_url":"https://api.github.com/users/lmarttins/orgs","repos_url":"https://api.github.com/users/lmarttins/repos","events_url":"https://api.github.com/users/lmarttins/events{/privacy}","received_events_url":"https://api.github.com/users/lmarttins/received_events","type":"User","site_admin":false},"repo":{"id":132275010,"name":"pagseguro","full_name":"lmarttins/pagseguro","owner":{"login":"lmarttins","id":563828,"avatar_url":"https://avatars3.githubusercontent.com/u/563828?v=4","gravatar_id":"","url":"https://api.github.com/users/lmarttins","html_url":"https://github.com/lmarttins","followers_url":"https://api.github.com/users/lmarttins/followers","following_url":"https://api.github.com/users/lmarttins/following{/other_user}","gists_url":"https://api.github.com/users/lmarttins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmarttins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmarttins/subscriptions","organizations_url":"https://api.github.com/users/lmarttins/orgs","repos_url":"https://api.github.com/users/lmarttins/repos","events_url":"https://api.github.com/users/lmarttins/events{/privacy}","received_events_url":"https://api.github.com/users/lmarttins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmarttins/pagseguro","description":"API de integração com o PagSeguro","fork":true,"url":"https://api.github.com/repos/lmarttins/pagseguro","forks_url":"https://api.github.com/repos/lmarttins/pagseguro/forks","keys_url":"https://api.github.com/repos/lmarttins/pagseguro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmarttins/pagseguro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmarttins/pagseguro/teams","hooks_url":"https://api.github.com/repos/lmarttins/pagseguro/hooks","issue_events_url":"https://api.github.com/repos/lmarttins/pagseguro/issues/events{/number}","events_url":"https://api.github.com/repos/lmarttins/pagseguro/events","assignees_url":"https://api.github.com/repos/lmarttins/pagseguro/assignees{/user}","branches_url":"https://api.github.com/repos/lmarttins/pagseguro/branches{/branch}","tags_url":"https://api.github.com/repos/lmarttins/pagseguro/tags","blobs_url":"https://api.github.com/repos/lmarttins/pagseguro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmarttins/pagseguro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmarttins/pagseguro/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmarttins/pagseguro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmarttins/pagseguro/statuses/{sha}","languages_url":"https://api.github.com/repos/lmarttins/pagseguro/languages","stargazers_url":"https://api.github.com/repos/lmarttins/pagseguro/stargazers","contributors_url":"https://api.github.com/repos/lmarttins/pagseguro/contributors","subscribers_url":"https://api.github.com/repos/lmarttins/pagseguro/subscribers","subscription_url":"https://api.github.com/repos/lmarttins/pagseguro/subscription","commits_url":"https://api.github.com/repos/lmarttins/pagseguro/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmarttins/pagseguro/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmarttins/pagseguro/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmarttins/pagseguro/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmarttins/pagseguro/contents/{+path}","compare_url":"https://api.github.com/repos/lmarttins/pagseguro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmarttins/pagseguro/merges","archive_url":"https://api.github.com/repos/lmarttins/pagseguro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmarttins/pagseguro/downloads","issues_url":"https://api.github.com/repos/lmarttins/pagseguro/issues{/number}","pulls_url":"https://api.github.com/repos/lmarttins/pagseguro/pulls{/number}","milestones_url":"https://api.github.com/repos/lmarttins/pagseguro/milestones{/number}","notifications_url":"https://api.github.com/repos/lmarttins/pagseguro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmarttins/pagseguro/labels{/name}","releases_url":"https://api.github.com/repos/lmarttins/pagseguro/releases{/id}","deployments_url":"https://api.github.com/repos/lmarttins/pagseguro/deployments","created_at":"2018-05-05T18:40:33Z","updated_at":"2018-05-06T00:02:09Z","pushed_at":"2018-05-06T00:02:08Z","git_url":"git://github.com/lmarttins/pagseguro.git","ssh_url":"git@github.com:lmarttins/pagseguro.git","clone_url":"https://github.com/lmarttins/pagseguro.git","svn_url":"https://github.com/lmarttins/pagseguro","homepage":null,"size":317,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PHPSC:master","ref":"master","sha":"facd04385823a14043d77bfb2140ae63ffb7530b","user":{"login":"PHPSC","id":1852195,"avatar_url":"https://avatars1.githubusercontent.com/u/1852195?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPSC","html_url":"https://github.com/PHPSC","followers_url":"https://api.github.com/users/PHPSC/followers","following_url":"https://api.github.com/users/PHPSC/following{/other_user}","gists_url":"https://api.github.com/users/PHPSC/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPSC/subscriptions","organizations_url":"https://api.github.com/users/PHPSC/orgs","repos_url":"https://api.github.com/users/PHPSC/repos","events_url":"https://api.github.com/users/PHPSC/events{/privacy}","received_events_url":"https://api.github.com/users/PHPSC/received_events","type":"Organization","site_admin":false},"repo":{"id":5296140,"name":"pagseguro","full_name":"PHPSC/pagseguro","owner":{"login":"PHPSC","id":1852195,"avatar_url":"https://avatars1.githubusercontent.com/u/1852195?v=4","gravatar_id":"","url":"https://api.github.com/users/PHPSC","html_url":"https://github.com/PHPSC","followers_url":"https://api.github.com/users/PHPSC/followers","following_url":"https://api.github.com/users/PHPSC/following{/other_user}","gists_url":"https://api.github.com/users/PHPSC/gists{/gist_id}","starred_url":"https://api.github.com/users/PHPSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PHPSC/subscriptions","organizations_url":"https://api.github.com/users/PHPSC/orgs","repos_url":"https://api.github.com/users/PHPSC/repos","events_url":"https://api.github.com/users/PHPSC/events{/privacy}","received_events_url":"https://api.github.com/users/PHPSC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PHPSC/pagseguro","description":"API de integração com o PagSeguro","fork":false,"url":"https://api.github.com/repos/PHPSC/pagseguro","forks_url":"https://api.github.com/repos/PHPSC/pagseguro/forks","keys_url":"https://api.github.com/repos/PHPSC/pagseguro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PHPSC/pagseguro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PHPSC/pagseguro/teams","hooks_url":"https://api.github.com/repos/PHPSC/pagseguro/hooks","issue_events_url":"https://api.github.com/repos/PHPSC/pagseguro/issues/events{/number}","events_url":"https://api.github.com/repos/PHPSC/pagseguro/events","assignees_url":"https://api.github.com/repos/PHPSC/pagseguro/assignees{/user}","branches_url":"https://api.github.com/repos/PHPSC/pagseguro/branches{/branch}","tags_url":"https://api.github.com/repos/PHPSC/pagseguro/tags","blobs_url":"https://api.github.com/repos/PHPSC/pagseguro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PHPSC/pagseguro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PHPSC/pagseguro/git/refs{/sha}","trees_url":"https://api.github.com/repos/PHPSC/pagseguro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PHPSC/pagseguro/statuses/{sha}","languages_url":"https://api.github.com/repos/PHPSC/pagseguro/languages","stargazers_url":"https://api.github.com/repos/PHPSC/pagseguro/stargazers","contributors_url":"https://api.github.com/repos/PHPSC/pagseguro/contributors","subscribers_url":"https://api.github.com/repos/PHPSC/pagseguro/subscribers","subscription_url":"https://api.github.com/repos/PHPSC/pagseguro/subscription","commits_url":"https://api.github.com/repos/PHPSC/pagseguro/commits{/sha}","git_commits_url":"https://api.github.com/repos/PHPSC/pagseguro/git/commits{/sha}","comments_url":"https://api.github.com/repos/PHPSC/pagseguro/comments{/number}","issue_comment_url":"https://api.github.com/repos/PHPSC/pagseguro/issues/comments{/number}","contents_url":"https://api.github.com/repos/PHPSC/pagseguro/contents/{+path}","compare_url":"https://api.github.com/repos/PHPSC/pagseguro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PHPSC/pagseguro/merges","archive_url":"https://api.github.com/repos/PHPSC/pagseguro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PHPSC/pagseguro/downloads","issues_url":"https://api.github.com/repos/PHPSC/pagseguro/issues{/number}","pulls_url":"https://api.github.com/repos/PHPSC/pagseguro/pulls{/number}","milestones_url":"https://api.github.com/repos/PHPSC/pagseguro/milestones{/number}","notifications_url":"https://api.github.com/repos/PHPSC/pagseguro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PHPSC/pagseguro/labels{/name}","releases_url":"https://api.github.com/repos/PHPSC/pagseguro/releases{/id}","deployments_url":"https://api.github.com/repos/PHPSC/pagseguro/deployments","created_at":"2012-08-04T14:38:32Z","updated_at":"2018-05-05T23:23:19Z","pushed_at":"2018-05-05T22:41:23Z","git_url":"git://github.com/PHPSC/pagseguro.git","ssh_url":"git@github.com:PHPSC/pagseguro.git","clone_url":"https://github.com/PHPSC/pagseguro.git","svn_url":"https://github.com/PHPSC/pagseguro","homepage":null,"size":314,"stargazers_count":144,"watchers_count":144,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":59,"open_issues":12,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63"},"html":{"href":"https://github.com/PHPSC/pagseguro/pull/63"},"issue":{"href":"https://api.github.com/repos/PHPSC/pagseguro/issues/63"},"comments":{"href":"https://api.github.com/repos/PHPSC/pagseguro/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PHPSC/pagseguro/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/PHPSC/pagseguro/statuses/92b0c5733d0d6e956624dbdd520153f9247650e6"}},"author_association":"NONE"}}
{"actor":{"display_login":"lmarttins"}}