{"action":"created","comment":{"url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/comments/212718923","pull_request_review_id":149415746,"id":212718923,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjcxODkyMw==","diff_hunk":"@@ -449,19 +421,95 @@ typedef enum STNTransactionMessage\n     STNTransactionMessageInvalidCard,\n     STNTransactionMessageIccProblem,\n     STNTransactionMessageTableNotFound\n-    \n+\n } STNTransactionMessage;\n \n-typedef enum STNCentralState\n-{\n+typedef enum STNCentralState {\n     STNCentralStateUnknown,\n     STNCentralStateOn,\n     STNCentralStateOff\n-    \n+\n } STNCentralState;\n \n-typedef enum STNStreamReadingState{\n+typedef enum STNStreamReadingState {\n     STNStreamReadingStateIdle,\n     STNStreamReadingStateBytesAvailable,\n     STNStreamReadingStateBusy\n } STNStreamReadingState;\n+\n+\n+typedef enum STNResponseCommandStatus {\n+    STNResponseCommandSuccess = 0,\n+\n+    STNErrorNoSecurityCommunication = 3,\n+    STNPressFunction1 = 4,\n+    STNPressFunction2 = 5,\n+    STNPressFunction3 = 6,\n+    STNPressFunction4 = 7,\n+    STNPressBacksapce = 8,\n+\n+    /**\n+    * Decoding error data receive by Security communicate\n+    * @enum: STNErrorDecodingData\n+    **/\n+    STNErrorDecodingData = 9,\n+\n+    STNInvalidFunctionOrUnknowCommand = 10,\n+    STNErrorInvalidParameters = 11,\n+\n+    STNErrorTimeOut = 12,\n+    STNErrorOperationCancelledByUser = 13,\n+\n+    STNErrorOPNNotCalled = 15,\n+    STNErrorParametersNotSendBySPE = 19,\n+\n+    STNErrorTableVersion = 20,\n+\n+    STNInternalErrorPinpad = 40,\n+    STNErrorMagStripRead = 41,\n+\n+    STNErrorMkDukptNotFound = 42,\n+    STNErrorNoICCOrCTLS = 43,\n+\n+    /**\n+     * Pinpad can`t capture more transaction by secutiry.\n+     * @enum: STNErrorPinpadBusy\n+     * @example: When the capture limit is arrived in determined tempo interval\n+     **/\n+    STNErrorPinpadBusy = 44,\n+    STNErrorResponseDataBiggerThenLimit = 45,\n+\n+\n+    STNErrorNoSamOrErrorOfCommunication = 51,\n+    STNErrorIccNotFound = 60,\n+    STNErrorCommunicationIccOrCtlsError = 61,\n+\n+    STNErrorCardInvalidate = 67,\n+    STNErrorIccWithProblem = 68,\n+    STNErrorIccWithInvalidData = 69,\n+    STNErrorIccemvWithoutAvailableApplication = 70,\n+\n+    /**\n+     * FallBack error\n+     * @enum: STNErrorIccToMag\n+     * @example:When occurs error in icc for three times and need pass the magnetic strip.\n+     **/\n+    STNErrorIccToMag = 76,\n+    STNErrorMultipleCtlsConnected = 80,\n+    STNErrorCommunicationCtlsError = 81,\n+    STNErrorInvalidCtls = 82,\n+\n+    /**\n+     * When much errors occurs in CTLS processing\n+     * @enum: STNErrorCtlsProblems\n+     * @example: When the CTLS don`t have expected behavior the transaction need be canceling","path":"objc/StoneSDK.framework/Headers/STNEnums.h","position":531,"original_position":531,"commit_id":"0dd56351cbb86d0a64db9c0f5d2f6bfe236d5e8c","original_commit_id":"0dd56351cbb86d0a64db9c0f5d2f6bfe236d5e8c","user":{"login":"lalbuquerque","id":2593625,"node_id":"MDQ6VXNlcjI1OTM2MjU=","avatar_url":"https://avatars3.githubusercontent.com/u/2593625?v=4","gravatar_id":"","url":"https://api.github.com/users/lalbuquerque","html_url":"https://github.com/lalbuquerque","followers_url":"https://api.github.com/users/lalbuquerque/followers","following_url":"https://api.github.com/users/lalbuquerque/following{/other_user}","gists_url":"https://api.github.com/users/lalbuquerque/gists{/gist_id}","starred_url":"https://api.github.com/users/lalbuquerque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lalbuquerque/subscriptions","organizations_url":"https://api.github.com/users/lalbuquerque/orgs","repos_url":"https://api.github.com/users/lalbuquerque/repos","events_url":"https://api.github.com/users/lalbuquerque/events{/privacy}","received_events_url":"https://api.github.com/users/lalbuquerque/received_events","type":"User","site_admin":false},"body":"*\"When the CTLS doesn't behaves as expected the transaction needs to be cancelled\"","created_at":"2018-08-24T18:37:08Z","updated_at":"2018-08-24T18:37:08Z","html_url":"https://github.com/stone-payments/sdk-ios/pull/30#discussion_r212718923","pull_request_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/comments/212718923"},"html":{"href":"https://github.com/stone-payments/sdk-ios/pull/30#discussion_r212718923"},"pull_request":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30","id":210763086,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNzYzMDg2","html_url":"https://github.com/stone-payments/sdk-ios/pull/30","diff_url":"https://github.com/stone-payments/sdk-ios/pull/30.diff","patch_url":"https://github.com/stone-payments/sdk-ios/pull/30.patch","issue_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/30","number":30,"state":"open","locked":false,"title":"Update sdk version","user":{"login":"kennedynoia","id":600642,"node_id":"MDQ6VXNlcjYwMDY0Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/600642?v=4","gravatar_id":"","url":"https://api.github.com/users/kennedynoia","html_url":"https://github.com/kennedynoia","followers_url":"https://api.github.com/users/kennedynoia/followers","following_url":"https://api.github.com/users/kennedynoia/following{/other_user}","gists_url":"https://api.github.com/users/kennedynoia/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedynoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedynoia/subscriptions","organizations_url":"https://api.github.com/users/kennedynoia/orgs","repos_url":"https://api.github.com/users/kennedynoia/repos","events_url":"https://api.github.com/users/kennedynoia/events{/privacy}","received_events_url":"https://api.github.com/users/kennedynoia/received_events","type":"User","site_admin":false},"body":"### What did you do?\r\n- Update SDK version to v 2.6.0\r\n \r\n### How to test it?\r\n- Perform transaction flow\r\n \r\n### Something Pending or blockers?\r\n- No","created_at":"2018-08-24T14:49:09Z","updated_at":"2018-08-24T18:37:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eca99ac177f156217efa81f4b6a5bec7f6b5feb8","assignee":{"login":"kennedynoia","id":600642,"node_id":"MDQ6VXNlcjYwMDY0Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/600642?v=4","gravatar_id":"","url":"https://api.github.com/users/kennedynoia","html_url":"https://github.com/kennedynoia","followers_url":"https://api.github.com/users/kennedynoia/followers","following_url":"https://api.github.com/users/kennedynoia/following{/other_user}","gists_url":"https://api.github.com/users/kennedynoia/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedynoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedynoia/subscriptions","organizations_url":"https://api.github.com/users/kennedynoia/orgs","repos_url":"https://api.github.com/users/kennedynoia/repos","events_url":"https://api.github.com/users/kennedynoia/events{/privacy}","received_events_url":"https://api.github.com/users/kennedynoia/received_events","type":"User","site_admin":false},"assignees":[{"login":"kennedynoia","id":600642,"node_id":"MDQ6VXNlcjYwMDY0Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/600642?v=4","gravatar_id":"","url":"https://api.github.com/users/kennedynoia","html_url":"https://github.com/kennedynoia","followers_url":"https://api.github.com/users/kennedynoia/followers","following_url":"https://api.github.com/users/kennedynoia/following{/other_user}","gists_url":"https://api.github.com/users/kennedynoia/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedynoia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedynoia/subscriptions","organizations_url":"https://api.github.com/users/kennedynoia/orgs","repos_url":"https://api.github.com/users/kennedynoia/repos","events_url":"https://api.github.com/users/kennedynoia/events{/privacy}","received_events_url":"https://api.github.com/users/kennedynoia/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30/commits","review_comments_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30/comments","review_comment_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/30/comments","statuses_url":"https://api.github.com/repos/stone-payments/sdk-ios/statuses/0dd56351cbb86d0a64db9c0f5d2f6bfe236d5e8c","head":{"label":"stone-payments:updateSDKVersion","ref":"updateSDKVersion","sha":"0dd56351cbb86d0a64db9c0f5d2f6bfe236d5e8c","user":{"login":"stone-payments","id":8750624,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTA2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8750624?v=4","gravatar_id":"","url":"https://api.github.com/users/stone-payments","html_url":"https://github.com/stone-payments","followers_url":"https://api.github.com/users/stone-payments/followers","following_url":"https://api.github.com/users/stone-payments/following{/other_user}","gists_url":"https://api.github.com/users/stone-payments/gists{/gist_id}","starred_url":"https://api.github.com/users/stone-payments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stone-payments/subscriptions","organizations_url":"https://api.github.com/users/stone-payments/orgs","repos_url":"https://api.github.com/users/stone-payments/repos","events_url":"https://api.github.com/users/stone-payments/events{/privacy}","received_events_url":"https://api.github.com/users/stone-payments/received_events","type":"Organization","site_admin":false},"repo":{"id":47358637,"node_id":"MDEwOlJlcG9zaXRvcnk0NzM1ODYzNw==","name":"sdk-ios","full_name":"stone-payments/sdk-ios","owner":{"login":"stone-payments","id":8750624,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTA2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8750624?v=4","gravatar_id":"","url":"https://api.github.com/users/stone-payments","html_url":"https://github.com/stone-payments","followers_url":"https://api.github.com/users/stone-payments/followers","following_url":"https://api.github.com/users/stone-payments/following{/other_user}","gists_url":"https://api.github.com/users/stone-payments/gists{/gist_id}","starred_url":"https://api.github.com/users/stone-payments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stone-payments/subscriptions","organizations_url":"https://api.github.com/users/stone-payments/orgs","repos_url":"https://api.github.com/users/stone-payments/repos","events_url":"https://api.github.com/users/stone-payments/events{/privacy}","received_events_url":"https://api.github.com/users/stone-payments/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stone-payments/sdk-ios","description":"Documentação de integração com o SDK iOS (versão 2.0)","fork":false,"url":"https://api.github.com/repos/stone-payments/sdk-ios","forks_url":"https://api.github.com/repos/stone-payments/sdk-ios/forks","keys_url":"https://api.github.com/repos/stone-payments/sdk-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stone-payments/sdk-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stone-payments/sdk-ios/teams","hooks_url":"https://api.github.com/repos/stone-payments/sdk-ios/hooks","issue_events_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/events{/number}","events_url":"https://api.github.com/repos/stone-payments/sdk-ios/events","assignees_url":"https://api.github.com/repos/stone-payments/sdk-ios/assignees{/user}","branches_url":"https://api.github.com/repos/stone-payments/sdk-ios/branches{/branch}","tags_url":"https://api.github.com/repos/stone-payments/sdk-ios/tags","blobs_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stone-payments/sdk-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/stone-payments/sdk-ios/languages","stargazers_url":"https://api.github.com/repos/stone-payments/sdk-ios/stargazers","contributors_url":"https://api.github.com/repos/stone-payments/sdk-ios/contributors","subscribers_url":"https://api.github.com/repos/stone-payments/sdk-ios/subscribers","subscription_url":"https://api.github.com/repos/stone-payments/sdk-ios/subscription","commits_url":"https://api.github.com/repos/stone-payments/sdk-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/stone-payments/sdk-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/stone-payments/sdk-ios/contents/{+path}","compare_url":"https://api.github.com/repos/stone-payments/sdk-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stone-payments/sdk-ios/merges","archive_url":"https://api.github.com/repos/stone-payments/sdk-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stone-payments/sdk-ios/downloads","issues_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues{/number}","pulls_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/stone-payments/sdk-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/stone-payments/sdk-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stone-payments/sdk-ios/labels{/name}","releases_url":"https://api.github.com/repos/stone-payments/sdk-ios/releases{/id}","deployments_url":"https://api.github.com/repos/stone-payments/sdk-ios/deployments","created_at":"2015-12-03T20:32:50Z","updated_at":"2018-07-03T01:33:12Z","pushed_at":"2018-08-24T14:49:10Z","git_url":"git://github.com/stone-payments/sdk-ios.git","ssh_url":"git@github.com:stone-payments/sdk-ios.git","clone_url":"https://github.com/stone-payments/sdk-ios.git","svn_url":"https://github.com/stone-payments/sdk-ios","homepage":null,"size":11386,"stargazers_count":7,"watchers_count":7,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":5,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"stone-payments:develop","ref":"develop","sha":"98c35c713a396e1f271be933a90f9c1bf8af7c97","user":{"login":"stone-payments","id":8750624,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTA2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8750624?v=4","gravatar_id":"","url":"https://api.github.com/users/stone-payments","html_url":"https://github.com/stone-payments","followers_url":"https://api.github.com/users/stone-payments/followers","following_url":"https://api.github.com/users/stone-payments/following{/other_user}","gists_url":"https://api.github.com/users/stone-payments/gists{/gist_id}","starred_url":"https://api.github.com/users/stone-payments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stone-payments/subscriptions","organizations_url":"https://api.github.com/users/stone-payments/orgs","repos_url":"https://api.github.com/users/stone-payments/repos","events_url":"https://api.github.com/users/stone-payments/events{/privacy}","received_events_url":"https://api.github.com/users/stone-payments/received_events","type":"Organization","site_admin":false},"repo":{"id":47358637,"node_id":"MDEwOlJlcG9zaXRvcnk0NzM1ODYzNw==","name":"sdk-ios","full_name":"stone-payments/sdk-ios","owner":{"login":"stone-payments","id":8750624,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3NTA2MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8750624?v=4","gravatar_id":"","url":"https://api.github.com/users/stone-payments","html_url":"https://github.com/stone-payments","followers_url":"https://api.github.com/users/stone-payments/followers","following_url":"https://api.github.com/users/stone-payments/following{/other_user}","gists_url":"https://api.github.com/users/stone-payments/gists{/gist_id}","starred_url":"https://api.github.com/users/stone-payments/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stone-payments/subscriptions","organizations_url":"https://api.github.com/users/stone-payments/orgs","repos_url":"https://api.github.com/users/stone-payments/repos","events_url":"https://api.github.com/users/stone-payments/events{/privacy}","received_events_url":"https://api.github.com/users/stone-payments/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stone-payments/sdk-ios","description":"Documentação de integração com o SDK iOS (versão 2.0)","fork":false,"url":"https://api.github.com/repos/stone-payments/sdk-ios","forks_url":"https://api.github.com/repos/stone-payments/sdk-ios/forks","keys_url":"https://api.github.com/repos/stone-payments/sdk-ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stone-payments/sdk-ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stone-payments/sdk-ios/teams","hooks_url":"https://api.github.com/repos/stone-payments/sdk-ios/hooks","issue_events_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/events{/number}","events_url":"https://api.github.com/repos/stone-payments/sdk-ios/events","assignees_url":"https://api.github.com/repos/stone-payments/sdk-ios/assignees{/user}","branches_url":"https://api.github.com/repos/stone-payments/sdk-ios/branches{/branch}","tags_url":"https://api.github.com/repos/stone-payments/sdk-ios/tags","blobs_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stone-payments/sdk-ios/statuses/{sha}","languages_url":"https://api.github.com/repos/stone-payments/sdk-ios/languages","stargazers_url":"https://api.github.com/repos/stone-payments/sdk-ios/stargazers","contributors_url":"https://api.github.com/repos/stone-payments/sdk-ios/contributors","subscribers_url":"https://api.github.com/repos/stone-payments/sdk-ios/subscribers","subscription_url":"https://api.github.com/repos/stone-payments/sdk-ios/subscription","commits_url":"https://api.github.com/repos/stone-payments/sdk-ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/stone-payments/sdk-ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/stone-payments/sdk-ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/stone-payments/sdk-ios/contents/{+path}","compare_url":"https://api.github.com/repos/stone-payments/sdk-ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stone-payments/sdk-ios/merges","archive_url":"https://api.github.com/repos/stone-payments/sdk-ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stone-payments/sdk-ios/downloads","issues_url":"https://api.github.com/repos/stone-payments/sdk-ios/issues{/number}","pulls_url":"https://api.github.com/repos/stone-payments/sdk-ios/pulls{/number}","milestones_url":"https://api.github.com/repos/stone-payments/sdk-ios/milestones{/number}","notifications_url":"https://api.github.com/repos/stone-payments/sdk-ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stone-payments/sdk-ios/labels{/name}","releases_url":"https://api.github.com/repos/stone-payments/sdk-ios/releases{/id}","deployments_url":"https://api.github.com/repos/stone-payments/sdk-ios/deployments","created_at":"2015-12-03T20:32:50Z","updated_at":"2018-07-03T01:33:12Z","pushed_at":"2018-08-24T14:49:10Z","git_url":"git://github.com/stone-payments/sdk-ios.git","ssh_url":"git@github.com:stone-payments/sdk-ios.git","clone_url":"https://github.com/stone-payments/sdk-ios.git","svn_url":"https://github.com/stone-payments/sdk-ios","homepage":null,"size":11386,"stargazers_count":7,"watchers_count":7,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":5,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30"},"html":{"href":"https://github.com/stone-payments/sdk-ios/pull/30"},"issue":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/issues/30"},"comments":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/stone-payments/sdk-ios/statuses/0dd56351cbb86d0a64db9c0f5d2f6bfe236d5e8c"}},"author_association":"NONE"}}
{"actor":{"display_login":"lalbuquerque"}}