Class: BrBoleto::Retorno::Cnab240::Itau

Inherits:
Base show all
Defined in:
lib/br_boleto/retorno/cnab240/itau.rb

Instance Attribute Summary

Attributes inherited from Base

#codigo_banco, #file, #pagamentos

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from ActiveModelBase

#assign_attributes, #default_values, #initialize

Constructor Details

This class inherits a constructor from BrBoleto::Retorno::Base

Instance Method Details

#segmento_t_fieldsObject

:doc:



7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/br_boleto/retorno/cnab240/itau.rb', line 7

def segmento_t_fields #:doc:
	super.merge({ 
	#    ATRIBUTO                 POSIÇÃO DA LINHA
		#agencia_com_dv:               19..23, # ITAU não utiliza o DV da agencia
		agencia_sem_dv:                19..22,
		numero_conta_sem_dv:           31..35,
		numero_conta_dv:               37,
		dv_conta_e_agencia:            36,
		carteira:                      38..40,
		numero_documento:              41..48,
	})
end