Class: E4commerce::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/e4commerce/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cedent, documento_cedente, sacado, sacado_documento, agencia, conta_corrente, convenio, numero_documento, data_vencimento, data_documento, instrucao1, instrucao2, instrucao3, instrucao4, sacado_endereco) ⇒ Client

Returns a new instance of Client.



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/e4commerce/client.rb', line 20

def initialize(cedent, documento_cedente, sacado, sacado_documento, agencia, conta_corrente,
	convenio, numero_documento, data_vencimento, data_documento, instrucao1,instrucao2,instrucao3,
	instrucao4, sacado_endereco)
	@cedente = cedente
	@documento_cedente = documento_cedente
	@sacado = sacado
	@sacado_documento = sacado_documento
	@agencia = agencia
	@conta_corrente = conta_corrente
	@convenio = convenio
	@numero_documento = numero_documento
	@data_vencimento = data_vencimento
	@data_documento = data_documento
	@instrucao1 = instrucao1
	@instrucao2 = instrucao2
	@instrucao3 = instrucao3
	@sacado_endereco = sacado_endereco
end

Instance Attribute Details

#agenciaObject

Returns the value of attribute agencia.



9
10
11
# File 'lib/e4commerce/client.rb', line 9

def agencia
  @agencia
end

#cedenteObject

Returns the value of attribute cedente.



5
6
7
# File 'lib/e4commerce/client.rb', line 5

def cedente
  @cedente
end

#conta_correnteObject

Returns the value of attribute conta_corrente.



10
11
12
# File 'lib/e4commerce/client.rb', line 10

def conta_corrente
  @conta_corrente
end

#convenioObject

Returns the value of attribute convenio.



11
12
13
# File 'lib/e4commerce/client.rb', line 11

def convenio
  @convenio
end

#data_documentoObject

Returns the value of attribute data_documento.



14
15
16
# File 'lib/e4commerce/client.rb', line 14

def data_documento
  @data_documento
end

#data_vencimentoObject

Returns the value of attribute data_vencimento.



13
14
15
# File 'lib/e4commerce/client.rb', line 13

def data_vencimento
  @data_vencimento
end

#documento_cedenteObject

Returns the value of attribute documento_cedente.



6
7
8
# File 'lib/e4commerce/client.rb', line 6

def documento_cedente
  @documento_cedente
end

#instrucao1Object

Returns the value of attribute instrucao1.



15
16
17
# File 'lib/e4commerce/client.rb', line 15

def instrucao1
  @instrucao1
end

#instrucao2Object

Returns the value of attribute instrucao2.



16
17
18
# File 'lib/e4commerce/client.rb', line 16

def instrucao2
  @instrucao2
end

#instrucao3Object

Returns the value of attribute instrucao3.



17
18
19
# File 'lib/e4commerce/client.rb', line 17

def instrucao3
  @instrucao3
end

#numero_documentoObject

Returns the value of attribute numero_documento.



12
13
14
# File 'lib/e4commerce/client.rb', line 12

def numero_documento
  @numero_documento
end

#sacadoObject

Returns the value of attribute sacado.



7
8
9
# File 'lib/e4commerce/client.rb', line 7

def sacado
  @sacado
end

#sacado_documentoObject

Returns the value of attribute sacado_documento.



8
9
10
# File 'lib/e4commerce/client.rb', line 8

def sacado_documento
  @sacado_documento
end

#sacado_enderecoObject

Returns the value of attribute sacado_endereco.



18
19
20
# File 'lib/e4commerce/client.rb', line 18

def sacado_endereco
  @sacado_endereco
end