Documentation
¶
Index ¶
- func InvalidType(t interface{}) error
- func ModElevenCalculator(a string, m []int) string
- func SumAccountDigits(a string, m []int) int
- func ValidateAmount(b interface{}) error
- func ValidateBuyerDocumentNumber(b interface{}) error
- func ValidateExpireDate(b interface{}) error
- func ValidateFine(b interface{}) error
- func ValidateInterest(b interface{}) error
- func ValidateMaxExpirationDate(b interface{}) error
- func ValidatePayeeGuarantorDocumentNumber(b interface{}) error
- func ValidatePayeeGuarantorName(b interface{}) error
- func ValidateRecipientDocumentNumber(b interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvalidType ¶
func InvalidType(t interface{}) error
func ModElevenCalculator ¶
func SumAccountDigits ¶
func ValidateAmount ¶
func ValidateAmount(b interface{}) error
ValidateAmount valida o valor do titulo
func ValidateBuyerDocumentNumber ¶
func ValidateBuyerDocumentNumber(b interface{}) error
ValidateBuyerDocumentNumber verifica se o número do documento do pagador é válido
func ValidateExpireDate ¶
func ValidateExpireDate(b interface{}) error
ValidateExpireDate valida se a data de expiração do boleto não está no passado
func ValidateFine ¶
func ValidateFine(b interface{}) error
func ValidateInterest ¶
func ValidateInterest(b interface{}) error
func ValidateMaxExpirationDate ¶
func ValidateMaxExpirationDate(b interface{}) error
ValidateMaxExpirationDate O emissor Bradesco contém um bug na geração da linha digitável onde, quando a data de vencimento é maior do que 21-02-2025 a linha digitável se torna inválida(O própio Bradesco não consegue ler a linha gerada) e não conseguimos gerar a visualização do boleto Para evitarmos esse problema, adicionamos temporariamente essa trava que bloqueia a geração de boletos com data de vencimento após a data em questão.
func ValidatePayeeGuarantorDocumentNumber ¶
func ValidatePayeeGuarantorDocumentNumber(b interface{}) error
ValidatePayeeGuarantorDocumentNumber Verifica se o número do documento do lojista é válido
func ValidatePayeeGuarantorName ¶
func ValidatePayeeGuarantorName(b interface{}) error
ValidatePayeeGuarantorName Verifica se o nome do lojista é existe
func ValidateRecipientDocumentNumber ¶
func ValidateRecipientDocumentNumber(b interface{}) error
ValidateRecipientDocumentNumber Verifica se o número do documento do recebedor é válido
Types ¶
This section is empty.