Feat: Add bank validations
As requested on #171, this PR adds validation to the following banks:
Banco do Brasil, Santander, CEF, Bradesco, Itau, Real, HSBC, Citibank
The validations goes according to this provided documentation http://177.153.6.25/ercompany.com.br/boleto/laravel-boleto-master/manuais/Regras%20Validacao%20Conta%20Corrente%20VI_EPS.pdf
Hello @mateusbw . We are very happy with your first contribution to our library! I gonna review your code as soon as I have time available.
Thanks!
Nice job doing code review @diasbruno ! Hey @mateusbw can you check @diasbruno suggestions?
Thanks for the review @diasbruno!! @hyanmandian sure, i'll do that!!
Glad to help!
Also, and this is the big one,...In OOP, we only instantiate object of classes if we are encapsulating data and providing behavior. Since the only method isValid is used and all the data it uses are external to the object, maybe providing just the function isValid can simplify things.