{"action":"created","issue":{"url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/33","repository_url":"https://api.github.com/repos/BoletoNet/boleto2net","labels_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/33/comments","events_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/33/events","html_url":"https://github.com/BoletoNet/boleto2net/issues/33","id":259670546,"number":33,"title":"Santander - Carteira 101 - REGISTRO DETALHE SEGMENTO P ","user":{"login":"krgm03","id":6650072,"avatar_url":"https://avatars0.githubusercontent.com/u/6650072?v=4","gravatar_id":"","url":"https://api.github.com/users/krgm03","html_url":"https://github.com/krgm03","followers_url":"https://api.github.com/users/krgm03/followers","following_url":"https://api.github.com/users/krgm03/following{/other_user}","gists_url":"https://api.github.com/users/krgm03/gists{/gist_id}","starred_url":"https://api.github.com/users/krgm03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krgm03/subscriptions","organizations_url":"https://api.github.com/users/krgm03/orgs","repos_url":"https://api.github.com/users/krgm03/repos","events_url":"https://api.github.com/users/krgm03/events{/privacy}","received_events_url":"https://api.github.com/users/krgm03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-22T00:31:53Z","updated_at":"2017-09-22T17:56:26Z","closed_at":null,"author_association":"NONE","body":"Boa tarde\r\n\r\nNo layout de arquivo 240 versão 2.8(H7815) de fevereiro de 2017 diz o seguinte\r\n\r\n![codigo para protesto](https://user-images.githubusercontent.com/6650072/30724317-7c790e1a-9f13-11e7-9866-7151fb90c555.png)\r\n\r\n![codigos para protesto](https://user-images.githubusercontent.com/6650072/30724221-e9014de6-9f12-11e7-84a4-9a093b7720a3.png)\r\n\r\n\r\nAbaixo há o Enum TipoCodigoProtesto constante no Boleto2Net\r\n\r\n\"public enum TipoCodigoProtesto\r\n    {\r\n        Protestar=1,\r\n        NaoProtestar=3\r\n    }\"\r\n\r\nNa implementação BancoSantander.cs na linha 394 há o seguinte trecho de código\r\n\"reg.Adicionar(TTiposDadoEDI.ediNumericoSemSeparador_, 0221, 001, 0, (int)boleto.CodigoProtesto, '0');\"\r\n\r\nSe eu não estiver equivocado a implementação ainda está de acordo com layout de versão antiga\r\nPois quando for para NÃO PROTESTAR devemos enviar o '0'\r\n\r\nObrigado!\r\n"},"comment":{"url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/comments/331517826","html_url":"https://github.com/BoletoNet/boleto2net/issues/33#issuecomment-331517826","issue_url":"https://api.github.com/repos/BoletoNet/boleto2net/issues/33","id":331517826,"user":{"login":"rafd75","id":11903379,"avatar_url":"https://avatars2.githubusercontent.com/u/11903379?v=4","gravatar_id":"","url":"https://api.github.com/users/rafd75","html_url":"https://github.com/rafd75","followers_url":"https://api.github.com/users/rafd75/followers","following_url":"https://api.github.com/users/rafd75/following{/other_user}","gists_url":"https://api.github.com/users/rafd75/gists{/gist_id}","starred_url":"https://api.github.com/users/rafd75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafd75/subscriptions","organizations_url":"https://api.github.com/users/rafd75/orgs","repos_url":"https://api.github.com/users/rafd75/repos","events_url":"https://api.github.com/users/rafd75/events{/privacy}","received_events_url":"https://api.github.com/users/rafd75/received_events","type":"User","site_admin":false},"created_at":"2017-09-22T17:56:26Z","updated_at":"2017-09-22T17:56:26Z","author_association":"CONTRIBUTOR","body":"Resolvido do \"jeito certo\"...\r\n\r\nPadronizei os enums TipoCodigoProtesto e TipoCodigoBaixaDevolucao (0=não, seguido de 1, 2, 3, para cada opção possível), e ajustei todos os bancos.\r\n\r\nAssim evita ter que reescrever lá na frente... \r\n\r\nPR #34 "}}
{"actor":{"display_login":"rafd75"}}