Class: BrBoleto::Retorno::Cnab240::Santander

Inherits:
Base show all
Defined in:
lib/br_boleto/retorno/cnab240/santander.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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/br_boleto/retorno/cnab240/santander.rb', line 7

def segmento_t_fields #:doc:
	super.merge({ 
	#    ATRIBUTO                 POSIÇÃO DA LINHA
		agencia_com_dv:                18..22,
		agencia_sem_dv:                18..21,
		numero_conta_sem_dv:           23..31,
		numero_conta_dv:               32,
		nosso_numero_sem_dv:           41..52,
		nosso_numero_dv:               53,
		carteira:                      54..54,
		tipo_cobranca:                 54..54,
		numero_documento:              55..69,
		data_vencimento:               70..77,
		valor_titulo:                  78..92,
		banco_recebedor:               93..95,
		agencia_recebedora_com_dv:     96..100,
		identificacao_titulo_empresa:  101..125,
		codigo_moeda:                  126..127,
		sacado_tipo_documento:         128..128,
		sacado_documento:              129..143,
		sacado_nome:                   144..183,
		valor_tarifa:                  194..208,
		motivo_ocorrencia_original_1:  209..210,
		motivo_ocorrencia_original_2:  211..212,
		motivo_ocorrencia_original_3:  213..214,
		motivo_ocorrencia_original_4:  215..216,
		motivo_ocorrencia_original_5:  217..218,

		# conta_cobranca:                184..193
		# numero_contrato:               189..198,
	})
end