{"action":"created","issue":{"url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/16","repository_url":"https://api.github.com/repos/triniwiz/nativescript-stripe","labels_url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/16/comments","events_url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/16/events","html_url":"https://github.com/triniwiz/nativescript-stripe/pull/16","id":352637294,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5ODk5NjI1","number":16,"title":"Fix: Nativescript wrongly converts java.lang.Integer to an incorrect …","user":{"login":"carlosanjos","id":3537552,"node_id":"MDQ6VXNlcjM1Mzc1NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/3537552?v=4","gravatar_id":"","url":"https://api.github.com/users/carlosanjos","html_url":"https://github.com/carlosanjos","followers_url":"https://api.github.com/users/carlosanjos/followers","following_url":"https://api.github.com/users/carlosanjos/following{/other_user}","gists_url":"https://api.github.com/users/carlosanjos/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosanjos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosanjos/subscriptions","organizations_url":"https://api.github.com/users/carlosanjos/orgs","repos_url":"https://api.github.com/users/carlosanjos/repos","events_url":"https://api.github.com/users/carlosanjos/events{/privacy}","received_events_url":"https://api.github.com/users/carlosanjos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-21T17:25:37Z","updated_at":"2018-08-23T18:15:54Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/triniwiz/nativescript-stripe/pulls/16","html_url":"https://github.com/triniwiz/nativescript-stripe/pull/16","diff_url":"https://github.com/triniwiz/nativescript-stripe/pull/16.diff","patch_url":"https://github.com/triniwiz/nativescript-stripe/pull/16.patch"},"body":"fix(android) This issue was mentioned and fixed by @neil-119 and then overwritten\r\n\r\nThis PR was tested again Android 8.1 and Android 7.1.1\r\nIt does not affect iOS\r\n\r\n\r\n\r\n<!--\r\nWe, the rest of the NativeScript community, thank you for your\r\ncontribution! \r\nTo help the rest of the community review your change, please follow the instructions in the template.\r\n-->\r\n\r\n<!-- PULL REQUEST TEMPLATE -->\r\n<!-- (Update \"[ ]\" to \"[x]\" to check a box) -->\r\n\r\n## PR Checklist\r\n\r\n- [x] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.\r\n- [x] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.\r\n- [ ] All existing tests are passing\r\n- [ ] Tests for the changes are included\r\n\r\n## What is the current behaviour?\r\nCurrently, class `Card` constructor fails to convert a javascript number to a `java.lang.integer`\r\n\r\n## What is the new behaviour?\r\nBy rolling back `cardExpMonth` and `cardExpYear` to type `any` and using the method `intValue()` to get the expected result. \r\n\r\nFixes/Implements/Closes #[https://github.com/triniwiz/nativescript-stripe/issues/13].\r\nThis behaviour was previously observed and fixed by @neil-119\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/comments/415517391","html_url":"https://github.com/triniwiz/nativescript-stripe/pull/16#issuecomment-415517391","issue_url":"https://api.github.com/repos/triniwiz/nativescript-stripe/issues/16","id":415517391,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTUxNzM5MQ==","user":{"login":"triniwiz","id":6695919,"node_id":"MDQ6VXNlcjY2OTU5MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/6695919?v=4","gravatar_id":"","url":"https://api.github.com/users/triniwiz","html_url":"https://github.com/triniwiz","followers_url":"https://api.github.com/users/triniwiz/followers","following_url":"https://api.github.com/users/triniwiz/following{/other_user}","gists_url":"https://api.github.com/users/triniwiz/gists{/gist_id}","starred_url":"https://api.github.com/users/triniwiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triniwiz/subscriptions","organizations_url":"https://api.github.com/users/triniwiz/orgs","repos_url":"https://api.github.com/users/triniwiz/repos","events_url":"https://api.github.com/users/triniwiz/events{/privacy}","received_events_url":"https://api.github.com/users/triniwiz/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T18:15:54Z","updated_at":"2018-08-23T18:15:54Z","author_association":"OWNER","body":"@carlosanjos you plan to add some tests ?"}}
{"actor":{"display_login":"triniwiz"}}