{"action":"created","comment":{"url":"https://api.github.com/repos/mercadopago/px-android/pulls/comments/227369798","pull_request_review_id":167392835,"id":227369798,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzM2OTc5OA==","diff_hunk":"@@ -0,0 +1,30 @@\n+package com.mercadopago.android.px.internal.viewmodel;\n+\n+import android.content.Context;\n+import android.support.annotation.NonNull;\n+import android.text.Editable;\n+import android.text.Spannable;\n+import android.text.SpannableStringBuilder;\n+import com.mercadopago.android.px.internal.util.textformatter.TextFormatter;\n+import java.math.BigDecimal;\n+\n+public class DiscountAmountLocalized implements ILocalizedCharSequence {\n+\n+    private final BigDecimal amount;\n+    private final String currencyId;\n+\n+    public DiscountAmountLocalized(@NonNull final BigDecimal amount, @NonNull final String currencyId) {\n+        this.amount = amount;\n+        this.currencyId = currencyId;\n+    }\n+\n+    @Override\n+    public CharSequence get(@NonNull final Context context) {\n+        final Editable spannableStringBuilder = new SpannableStringBuilder();\n+        spannableStringBuilder.append(\"- \");","path":"px-checkout/src/main/java/com/mercadopago/android/px/internal/viewmodel/DiscountAmountLocalized.java","position":24,"original_position":24,"commit_id":"6fd5e7972acac61a6ea4db9d2f5393724503d533","original_commit_id":"6fd5e7972acac61a6ea4db9d2f5393724503d533","user":{"login":"zehemz","id":7827612,"node_id":"MDQ6VXNlcjc4Mjc2MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/7827612?v=4","gravatar_id":"","url":"https://api.github.com/users/zehemz","html_url":"https://github.com/zehemz","followers_url":"https://api.github.com/users/zehemz/followers","following_url":"https://api.github.com/users/zehemz/following{/other_user}","gists_url":"https://api.github.com/users/zehemz/gists{/gist_id}","starred_url":"https://api.github.com/users/zehemz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zehemz/subscriptions","organizations_url":"https://api.github.com/users/zehemz/orgs","repos_url":"https://api.github.com/users/zehemz/repos","events_url":"https://api.github.com/users/zehemz/events{/privacy}","received_events_url":"https://api.github.com/users/zehemz/received_events","type":"User","site_admin":false},"body":"estaría bueno que ese ```- %s``` esté en strings.xml ","created_at":"2018-10-23T12:39:29Z","updated_at":"2018-10-23T12:39:29Z","html_url":"https://github.com/mercadopago/px-android/pull/1307#discussion_r227369798","pull_request_url":"https://api.github.com/repos/mercadopago/px-android/pulls/1307","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/comments/227369798"},"html":{"href":"https://github.com/mercadopago/px-android/pull/1307#discussion_r227369798"},"pull_request":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/1307"}}},"pull_request":{"url":"https://api.github.com/repos/mercadopago/px-android/pulls/1307","id":224813051,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0ODEzMDUx","html_url":"https://github.com/mercadopago/px-android/pull/1307","diff_url":"https://github.com/mercadopago/px-android/pull/1307.diff","patch_url":"https://github.com/mercadopago/px-android/pull/1307.patch","issue_url":"https://api.github.com/repos/mercadopago/px-android/issues/1307","number":1307,"state":"open","locked":false,"title":"[Feature] Summary with rows","user":{"login":"valeserber","id":5674142,"node_id":"MDQ6VXNlcjU2NzQxNDI=","avatar_url":"https://avatars3.githubusercontent.com/u/5674142?v=4","gravatar_id":"","url":"https://api.github.com/users/valeserber","html_url":"https://github.com/valeserber","followers_url":"https://api.github.com/users/valeserber/followers","following_url":"https://api.github.com/users/valeserber/following{/other_user}","gists_url":"https://api.github.com/users/valeserber/gists{/gist_id}","starred_url":"https://api.github.com/users/valeserber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valeserber/subscriptions","organizations_url":"https://api.github.com/users/valeserber/orgs","repos_url":"https://api.github.com/users/valeserber/repos","events_url":"https://api.github.com/users/valeserber/events{/privacy}","received_events_url":"https://api.github.com/users/valeserber/received_events","type":"User","site_admin":false},"body":"### Summary rows\r\n\r\n![screenshot_1540238166](https://user-images.githubusercontent.com/5674142/47319169-5f400d00-d624-11e8-9c9c-24625206093c.png)\r\n\r\n![screenshot_1540238004](https://user-images.githubusercontent.com/5674142/47319187-65ce8480-d624-11e8-971c-c1325d3de659.png)\r\n","created_at":"2018-10-22T21:01:27Z","updated_at":"2018-10-23T12:39:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65a039804d506155bc9b9a4cfb0345c5186a22b8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mercadopago/px-android/pulls/1307/commits","review_comments_url":"https://api.github.com/repos/mercadopago/px-android/pulls/1307/comments","review_comment_url":"https://api.github.com/repos/mercadopago/px-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mercadopago/px-android/issues/1307/comments","statuses_url":"https://api.github.com/repos/mercadopago/px-android/statuses/6fd5e7972acac61a6ea4db9d2f5393724503d533","head":{"label":"mercadopago:feature/row_amount_factory","ref":"feature/row_amount_factory","sha":"6fd5e7972acac61a6ea4db9d2f5393724503d533","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":49529486,"node_id":"MDEwOlJlcG9zaXRvcnk0OTUyOTQ4Ng==","name":"px-android","full_name":"mercadopago/px-android","private":false,"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},"html_url":"https://github.com/mercadopago/px-android","description":"MercadoPago PX Android Lib","fork":false,"url":"https://api.github.com/repos/mercadopago/px-android","forks_url":"https://api.github.com/repos/mercadopago/px-android/forks","keys_url":"https://api.github.com/repos/mercadopago/px-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mercadopago/px-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mercadopago/px-android/teams","hooks_url":"https://api.github.com/repos/mercadopago/px-android/hooks","issue_events_url":"https://api.github.com/repos/mercadopago/px-android/issues/events{/number}","events_url":"https://api.github.com/repos/mercadopago/px-android/events","assignees_url":"https://api.github.com/repos/mercadopago/px-android/assignees{/user}","branches_url":"https://api.github.com/repos/mercadopago/px-android/branches{/branch}","tags_url":"https://api.github.com/repos/mercadopago/px-android/tags","blobs_url":"https://api.github.com/repos/mercadopago/px-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mercadopago/px-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mercadopago/px-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mercadopago/px-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mercadopago/px-android/statuses/{sha}","languages_url":"https://api.github.com/repos/mercadopago/px-android/languages","stargazers_url":"https://api.github.com/repos/mercadopago/px-android/stargazers","contributors_url":"https://api.github.com/repos/mercadopago/px-android/contributors","subscribers_url":"https://api.github.com/repos/mercadopago/px-android/subscribers","subscription_url":"https://api.github.com/repos/mercadopago/px-android/subscription","commits_url":"https://api.github.com/repos/mercadopago/px-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mercadopago/px-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mercadopago/px-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mercadopago/px-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mercadopago/px-android/contents/{+path}","compare_url":"https://api.github.com/repos/mercadopago/px-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mercadopago/px-android/merges","archive_url":"https://api.github.com/repos/mercadopago/px-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mercadopago/px-android/downloads","issues_url":"https://api.github.com/repos/mercadopago/px-android/issues{/number}","pulls_url":"https://api.github.com/repos/mercadopago/px-android/pulls{/number}","milestones_url":"https://api.github.com/repos/mercadopago/px-android/milestones{/number}","notifications_url":"https://api.github.com/repos/mercadopago/px-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mercadopago/px-android/labels{/name}","releases_url":"https://api.github.com/repos/mercadopago/px-android/releases{/id}","deployments_url":"https://api.github.com/repos/mercadopago/px-android/deployments","created_at":"2016-01-12T21:18:39Z","updated_at":"2018-10-22T19:09:19Z","pushed_at":"2018-10-22T21:01:27Z","git_url":"git://github.com/mercadopago/px-android.git","ssh_url":"git@github.com:mercadopago/px-android.git","clone_url":"https://github.com/mercadopago/px-android.git","svn_url":"https://github.com/mercadopago/px-android","homepage":"http://mercadopago.github.io/px-android","size":46567,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":5,"watchers":33,"default_branch":"master"}},"base":{"label":"mercadopago:feature/onetap_v2","ref":"feature/onetap_v2","sha":"8560e6e4d9089eb5342319531587645a8b3d63e8","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":49529486,"node_id":"MDEwOlJlcG9zaXRvcnk0OTUyOTQ4Ng==","name":"px-android","full_name":"mercadopago/px-android","private":false,"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},"html_url":"https://github.com/mercadopago/px-android","description":"MercadoPago PX Android Lib","fork":false,"url":"https://api.github.com/repos/mercadopago/px-android","forks_url":"https://api.github.com/repos/mercadopago/px-android/forks","keys_url":"https://api.github.com/repos/mercadopago/px-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mercadopago/px-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mercadopago/px-android/teams","hooks_url":"https://api.github.com/repos/mercadopago/px-android/hooks","issue_events_url":"https://api.github.com/repos/mercadopago/px-android/issues/events{/number}","events_url":"https://api.github.com/repos/mercadopago/px-android/events","assignees_url":"https://api.github.com/repos/mercadopago/px-android/assignees{/user}","branches_url":"https://api.github.com/repos/mercadopago/px-android/branches{/branch}","tags_url":"https://api.github.com/repos/mercadopago/px-android/tags","blobs_url":"https://api.github.com/repos/mercadopago/px-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mercadopago/px-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mercadopago/px-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/mercadopago/px-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mercadopago/px-android/statuses/{sha}","languages_url":"https://api.github.com/repos/mercadopago/px-android/languages","stargazers_url":"https://api.github.com/repos/mercadopago/px-android/stargazers","contributors_url":"https://api.github.com/repos/mercadopago/px-android/contributors","subscribers_url":"https://api.github.com/repos/mercadopago/px-android/subscribers","subscription_url":"https://api.github.com/repos/mercadopago/px-android/subscription","commits_url":"https://api.github.com/repos/mercadopago/px-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/mercadopago/px-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/mercadopago/px-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/mercadopago/px-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/mercadopago/px-android/contents/{+path}","compare_url":"https://api.github.com/repos/mercadopago/px-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mercadopago/px-android/merges","archive_url":"https://api.github.com/repos/mercadopago/px-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mercadopago/px-android/downloads","issues_url":"https://api.github.com/repos/mercadopago/px-android/issues{/number}","pulls_url":"https://api.github.com/repos/mercadopago/px-android/pulls{/number}","milestones_url":"https://api.github.com/repos/mercadopago/px-android/milestones{/number}","notifications_url":"https://api.github.com/repos/mercadopago/px-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mercadopago/px-android/labels{/name}","releases_url":"https://api.github.com/repos/mercadopago/px-android/releases{/id}","deployments_url":"https://api.github.com/repos/mercadopago/px-android/deployments","created_at":"2016-01-12T21:18:39Z","updated_at":"2018-10-22T19:09:19Z","pushed_at":"2018-10-22T21:01:27Z","git_url":"git://github.com/mercadopago/px-android.git","ssh_url":"git@github.com:mercadopago/px-android.git","clone_url":"https://github.com/mercadopago/px-android.git","svn_url":"https://github.com/mercadopago/px-android","homepage":"http://mercadopago.github.io/px-android","size":46567,"stargazers_count":33,"watchers_count":33,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":28,"open_issues":5,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/1307"},"html":{"href":"https://github.com/mercadopago/px-android/pull/1307"},"issue":{"href":"https://api.github.com/repos/mercadopago/px-android/issues/1307"},"comments":{"href":"https://api.github.com/repos/mercadopago/px-android/issues/1307/comments"},"review_comments":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/1307/comments"},"review_comment":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mercadopago/px-android/pulls/1307/commits"},"statuses":{"href":"https://api.github.com/repos/mercadopago/px-android/statuses/6fd5e7972acac61a6ea4db9d2f5393724503d533"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zehemz"}}