This "library" aims to assist in the development and implementation of billing via slips.
Initially, there is only the generation of the bill itself, for viewing and printing.
Subsequently, it should include generation of shipping files and return processing.
An example of use can be found in the "teste.asp" file, at the root of the repository, and consists of including the necessary files, instantiating the class, filling in the fields and calling the Boleto.Write()
method to write the boleto on the page or Boleto.HTML()
to obtain the HTML of the bill.
set banco = new BancoItau
banco.Agencia = "0123"
banco.Conta = "12345-6"
banco.Carteira = "175"
set sacado = new SacadoASP
sacado.Nome = "Fulano da Silva Sauro"
sacado.Endereco = "Rua das Flores, 123"
' ...
set boleto = new BoletoASP
boleto.CedenteNome = "Ricardo A. de Souza"
' ...
boleto.ValorDocumento = 1
boleto.DataVencimento = "01/01/2015"
set boleto.Banco = banco
set boleto.Sacado = sacado
boleto.Write()
Copyright (c) 2015 RCDMK - rcdmk[at]hotmail[dot]com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including limitation without the rights to use, copy, modify, merge , publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.