{"action":"created","comment":{"url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/comments/207628992","pull_request_review_id":143286867,"id":207628992,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzYyODk5Mg==","diff_hunk":"@@ -33,7 +33,8 @@ public function getSource()\n      */\n     public function initTotals()\n     {\n-        if ((float)$this->getSource()->getFinanceCostAmount() == 0) {\n+        if ((float)$this->getSource()->getFinanceCostAmount() == 0 ","path":"src/MercadoPago/Core/Block/Sales/Order/Totals/FinanceCost.php","position":5,"original_position":5,"commit_id":"9070c22382e28af8ef9c4bc2bfa4c60c79df4a75","original_commit_id":"2a147f620d35d592d7ac3bc92a83bce1b56307b4","user":{"login":"falehenrique","id":6428776,"node_id":"MDQ6VXNlcjY0Mjg3NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6428776?v=4","gravatar_id":"","url":"https://api.github.com/users/falehenrique","html_url":"https://github.com/falehenrique","followers_url":"https://api.github.com/users/falehenrique/followers","following_url":"https://api.github.com/users/falehenrique/following{/other_user}","gists_url":"https://api.github.com/users/falehenrique/gists{/gist_id}","starred_url":"https://api.github.com/users/falehenrique/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falehenrique/subscriptions","organizations_url":"https://api.github.com/users/falehenrique/orgs","repos_url":"https://api.github.com/users/falehenrique/repos","events_url":"https://api.github.com/users/falehenrique/events{/privacy}","received_events_url":"https://api.github.com/users/falehenrique/received_events","type":"User","site_admin":false},"body":"Realizar o parse antes da comparação\r\nif (((float)$this->getSource()->getFinanceCostAmount()) == 0 ","created_at":"2018-08-03T18:23:50Z","updated_at":"2018-08-03T18:23:50Z","html_url":"https://github.com/mercadopago/cart-magento2/pull/97#discussion_r207628992","pull_request_url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/comments/207628992"},"html":{"href":"https://github.com/mercadopago/cart-magento2/pull/97#discussion_r207628992"},"pull_request":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97","id":206080282,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MDgwMjgy","html_url":"https://github.com/mercadopago/cart-magento2/pull/97","diff_url":"https://github.com/mercadopago/cart-magento2/pull/97.diff","patch_url":"https://github.com/mercadopago/cart-magento2/pull/97.patch","issue_url":"https://api.github.com/repos/mercadopago/cart-magento2/issues/97","number":97,"state":"open","locked":false,"title":"Version 2.2.0","user":{"login":"gmatsuoka","id":1392359,"node_id":"MDQ6VXNlcjEzOTIzNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1392359?v=4","gravatar_id":"","url":"https://api.github.com/users/gmatsuoka","html_url":"https://github.com/gmatsuoka","followers_url":"https://api.github.com/users/gmatsuoka/followers","following_url":"https://api.github.com/users/gmatsuoka/following{/other_user}","gists_url":"https://api.github.com/users/gmatsuoka/gists{/gist_id}","starred_url":"https://api.github.com/users/gmatsuoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmatsuoka/subscriptions","organizations_url":"https://api.github.com/users/gmatsuoka/orgs","repos_url":"https://api.github.com/users/gmatsuoka/repos","events_url":"https://api.github.com/users/gmatsuoka/events{/privacy}","received_events_url":"https://api.github.com/users/gmatsuoka/received_events","type":"User","site_admin":false},"body":"- Migration from api v0 to v1\r\n- Fixed bug in return and cancel payment\r\n- Added x product id","created_at":"2018-08-03T16:30:22Z","updated_at":"2018-08-03T18:23:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a94932552673a290e92c9ce1dd4a5892aef4d8f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97/commits","review_comments_url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97/comments","review_comment_url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mercadopago/cart-magento2/issues/97/comments","statuses_url":"https://api.github.com/repos/mercadopago/cart-magento2/statuses/9070c22382e28af8ef9c4bc2bfa4c60c79df4a75","head":{"label":"gmatsuoka:master","ref":"master","sha":"9070c22382e28af8ef9c4bc2bfa4c60c79df4a75","user":{"login":"gmatsuoka","id":1392359,"node_id":"MDQ6VXNlcjEzOTIzNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1392359?v=4","gravatar_id":"","url":"https://api.github.com/users/gmatsuoka","html_url":"https://github.com/gmatsuoka","followers_url":"https://api.github.com/users/gmatsuoka/followers","following_url":"https://api.github.com/users/gmatsuoka/following{/other_user}","gists_url":"https://api.github.com/users/gmatsuoka/gists{/gist_id}","starred_url":"https://api.github.com/users/gmatsuoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmatsuoka/subscriptions","organizations_url":"https://api.github.com/users/gmatsuoka/orgs","repos_url":"https://api.github.com/users/gmatsuoka/repos","events_url":"https://api.github.com/users/gmatsuoka/events{/privacy}","received_events_url":"https://api.github.com/users/gmatsuoka/received_events","type":"User","site_admin":false},"repo":{"id":122626450,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI2MjY0NTA=","name":"cart-magento2","full_name":"gmatsuoka/cart-magento2","owner":{"login":"gmatsuoka","id":1392359,"node_id":"MDQ6VXNlcjEzOTIzNTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1392359?v=4","gravatar_id":"","url":"https://api.github.com/users/gmatsuoka","html_url":"https://github.com/gmatsuoka","followers_url":"https://api.github.com/users/gmatsuoka/followers","following_url":"https://api.github.com/users/gmatsuoka/following{/other_user}","gists_url":"https://api.github.com/users/gmatsuoka/gists{/gist_id}","starred_url":"https://api.github.com/users/gmatsuoka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmatsuoka/subscriptions","organizations_url":"https://api.github.com/users/gmatsuoka/orgs","repos_url":"https://api.github.com/users/gmatsuoka/repos","events_url":"https://api.github.com/users/gmatsuoka/events{/privacy}","received_events_url":"https://api.github.com/users/gmatsuoka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmatsuoka/cart-magento2","description":"Cart Magento2 - Mercado Pago Module","fork":true,"url":"https://api.github.com/repos/gmatsuoka/cart-magento2","forks_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/forks","keys_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/teams","hooks_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/hooks","issue_events_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/issues/events{/number}","events_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/events","assignees_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/assignees{/user}","branches_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/branches{/branch}","tags_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/tags","blobs_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/languages","stargazers_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/stargazers","contributors_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/contributors","subscribers_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/subscribers","subscription_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/subscription","commits_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/contents/{+path}","compare_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/merges","archive_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/downloads","issues_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/issues{/number}","pulls_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/labels{/name}","releases_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/releases{/id}","deployments_url":"https://api.github.com/repos/gmatsuoka/cart-magento2/deployments","created_at":"2018-02-23T13:43:39Z","updated_at":"2018-08-03T14:28:17Z","pushed_at":"2018-08-03T14:28:14Z","git_url":"git://github.com/gmatsuoka/cart-magento2.git","ssh_url":"git@github.com:gmatsuoka/cart-magento2.git","clone_url":"https://github.com/gmatsuoka/cart-magento2.git","svn_url":"https://github.com/gmatsuoka/cart-magento2","homepage":"http://developers.mercadopago.com/","size":5508,"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":"mercadopago:master","ref":"master","sha":"81e7ac31b9bad49b4a28a830ce758c906f4a6c5a","user":{"login":"mercadopago","id":900583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwMDU4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/900583?v=4","gravatar_id":"","url":"https://api.github.com/users/mercadopago","html_url":"https://github.com/mercadopago","followers_url":"https://api.github.com/users/mercadopago/followers","following_url":"https://api.github.com/users/mercadopago/following{/other_user}","gists_url":"https://api.github.com/users/mercadopago/gists{/gist_id}","starred_url":"https://api.github.com/users/mercadopago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercadopago/subscriptions","organizations_url":"https://api.github.com/users/mercadopago/orgs","repos_url":"https://api.github.com/users/mercadopago/repos","events_url":"https://api.github.com/users/mercadopago/events{/privacy}","received_events_url":"https://api.github.com/users/mercadopago/received_events","type":"Organization","site_admin":false},"repo":{"id":62818081,"node_id":"MDEwOlJlcG9zaXRvcnk2MjgxODA4MQ==","name":"cart-magento2","full_name":"mercadopago/cart-magento2","owner":{"login":"mercadopago","id":900583,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkwMDU4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/900583?v=4","gravatar_id":"","url":"https://api.github.com/users/mercadopago","html_url":"https://github.com/mercadopago","followers_url":"https://api.github.com/users/mercadopago/followers","following_url":"https://api.github.com/users/mercadopago/following{/other_user}","gists_url":"https://api.github.com/users/mercadopago/gists{/gist_id}","starred_url":"https://api.github.com/users/mercadopago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercadopago/subscriptions","organizations_url":"https://api.github.com/users/mercadopago/orgs","repos_url":"https://api.github.com/users/mercadopago/repos","events_url":"https://api.github.com/users/mercadopago/events{/privacy}","received_events_url":"https://api.github.com/users/mercadopago/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mercadopago/cart-magento2","description":"Cart Magento2 - Mercado Pago Module","fork":false,"url":"https://api.github.com/repos/mercadopago/cart-magento2","forks_url":"https://api.github.com/repos/mercadopago/cart-magento2/forks","keys_url":"https://api.github.com/repos/mercadopago/cart-magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mercadopago/cart-magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mercadopago/cart-magento2/teams","hooks_url":"https://api.github.com/repos/mercadopago/cart-magento2/hooks","issue_events_url":"https://api.github.com/repos/mercadopago/cart-magento2/issues/events{/number}","events_url":"https://api.github.com/repos/mercadopago/cart-magento2/events","assignees_url":"https://api.github.com/repos/mercadopago/cart-magento2/assignees{/user}","branches_url":"https://api.github.com/repos/mercadopago/cart-magento2/branches{/branch}","tags_url":"https://api.github.com/repos/mercadopago/cart-magento2/tags","blobs_url":"https://api.github.com/repos/mercadopago/cart-magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mercadopago/cart-magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mercadopago/cart-magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mercadopago/cart-magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mercadopago/cart-magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/mercadopago/cart-magento2/languages","stargazers_url":"https://api.github.com/repos/mercadopago/cart-magento2/stargazers","contributors_url":"https://api.github.com/repos/mercadopago/cart-magento2/contributors","subscribers_url":"https://api.github.com/repos/mercadopago/cart-magento2/subscribers","subscription_url":"https://api.github.com/repos/mercadopago/cart-magento2/subscription","commits_url":"https://api.github.com/repos/mercadopago/cart-magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mercadopago/cart-magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mercadopago/cart-magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mercadopago/cart-magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mercadopago/cart-magento2/contents/{+path}","compare_url":"https://api.github.com/repos/mercadopago/cart-magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mercadopago/cart-magento2/merges","archive_url":"https://api.github.com/repos/mercadopago/cart-magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mercadopago/cart-magento2/downloads","issues_url":"https://api.github.com/repos/mercadopago/cart-magento2/issues{/number}","pulls_url":"https://api.github.com/repos/mercadopago/cart-magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/mercadopago/cart-magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/mercadopago/cart-magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mercadopago/cart-magento2/labels{/name}","releases_url":"https://api.github.com/repos/mercadopago/cart-magento2/releases{/id}","deployments_url":"https://api.github.com/repos/mercadopago/cart-magento2/deployments","created_at":"2016-07-07T15:32:56Z","updated_at":"2018-08-03T16:28:48Z","pushed_at":"2018-08-03T16:30:23Z","git_url":"git://github.com/mercadopago/cart-magento2.git","ssh_url":"git@github.com:mercadopago/cart-magento2.git","clone_url":"https://github.com/mercadopago/cart-magento2.git","svn_url":"https://github.com/mercadopago/cart-magento2","homepage":"http://developers.mercadopago.com/","size":5504,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":53,"license":null,"forks":25,"open_issues":53,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97"},"html":{"href":"https://github.com/mercadopago/cart-magento2/pull/97"},"issue":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/issues/97"},"comments":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/mercadopago/cart-magento2/statuses/9070c22382e28af8ef9c4bc2bfa4c60c79df4a75"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"falehenrique"}}