boleto

package
v0.0.0-...-3f9ec74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const LogoBB = `` /* 7618-byte string literal not displayed */
View Source
const LogoBradesco = `` /* 4804-byte string literal not displayed */
View Source
const LogoCaixa = `` /* 6394-byte string literal not displayed */
View Source
const LogoCiti = `` /* 5766-byte string literal not displayed */
View Source
const LogoItau = `` /* 1906-byte string literal not displayed */
View Source
const LogoJPMorgan = `` /* 9584-byte string literal not displayed */
View Source
const LogoPefisa = `` /* 4744-byte string literal not displayed */
View Source
const LogoSantander = `` /* 6878-byte string literal not displayed */
View Source
const LogoStone = `` /* 8006-byte string literal not displayed */

Variables

This section is empty.

Functions

func HTML

func HTML(boletoView models.BoletoView, format string) (string, error)

HTML renderiza HTML do boleto

func MinifyHTML

func MinifyHTML(bv models.BoletoView) string

MinifyHTML Minifica o HTML do um boleto a partir de um boletoView

Types

type ConfigBank

type ConfigBank struct {
	EspecieDoc   string
	Aceite       string
	Quantidade   string
	ValorCotacao string
	Moeda        string
}

ConfigBank configure html template for each bank

func GetConfig

func GetConfig(boleto models.BoletoRequest) ConfigBank

GetConfig returns boleto configution for each bank

type HTMLBoleto

type HTMLBoleto struct {
	View          models.BoletoView
	ConfigBank    ConfigBank
	Barcode64     string
	Format        string
	DigitableLine string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL