https://github.com/rcdmk/boletoasp
Classe para geração de boletos em ASP (VBScript). Gera boletos para diversos bancos.
https://github.com/rcdmk/boletoasp
asp billet boleto classic-asp html
Last synced: 3 months ago
JSON representation
Classe para geração de boletos em ASP (VBScript). Gera boletos para diversos bancos.
- Host: GitHub
- URL: https://github.com/rcdmk/boletoasp
- Owner: rcdmk
- License: mit
- Created: 2015-05-29T12:25:25.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-29T12:53:23.000Z (about 11 years ago)
- Last Synced: 2023-03-12T10:01:36.030Z (about 3 years ago)
- Topics: asp, billet, boleto, classic-asp, html
- Language: ASP
- Size: 441 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Gerador de Boletos HTML em ASP por RCDMK
Esta "biblioteca" pretente auxiliar no desenvolvimento e implanta��o de cobran�a
via boletos.
Inicialmente tem apenas a gera��o do boleto em si, para visualiza��o e impress�o.
Posteriormente dever� incluir gera��o de arquivos de remessa e processamento de
retorno.
## Como Utilizar
Um exemplo de utiliza��o encontra-se no arquivo "teste.asp", na raiz do
reposit�rio e consiste em incluir os arquivos necess�rios, instanciar a classe,
preencher os campos e chamar o m�todo `Boleto.Write()` para escrever o boleto
na p�gina ou `Boleto.HTML()` para obter o HTML do boleto.
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()
## Bancos j� implementados
* Ita� - carteiras padr�o
* Ita� - carteiras com 15 posi��es
* Real - carteiras padr�o
* Sandander - carteiras padr�o
## Licen�a
### The MIT License (MIT) - http://opensource.org/licenses/MIT
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 without limitation 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.