Class: Locaweb::Gateway::Transaction

Inherits:
Object
  • Object
show all
Extended by:
Actions
Defined in:
lib/locaweb-gateway/transaction.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Actions

cancel, capture, create, gateway_params, show

Constructor Details

#initializeTransaction

Returns a new instance of Transaction.



11
12
13
# File 'lib/locaweb-gateway/transaction.rb', line 11

def initialize
  @detalhes = {}
end

Instance Attribute Details

#detalhesObject

Returns the value of attribute detalhes.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def detalhes
  @detalhes
end

#erroObject

Returns the value of attribute erro.



9
10
11
# File 'lib/locaweb-gateway/transaction.rb', line 9

def erro
  @erro
end

#erro_codigoObject

Returns the value of attribute erro_codigo.



9
10
11
# File 'lib/locaweb-gateway/transaction.rb', line 9

def erro_codigo
  @erro_codigo
end

#erro_mensagemObject

Returns the value of attribute erro_mensagem.



9
10
11
# File 'lib/locaweb-gateway/transaction.rb', line 9

def erro_mensagem
  @erro_mensagem
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def id
  @id
end

#meio_pagamentoObject

Returns the value of attribute meio_pagamento.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def meio_pagamento
  @meio_pagamento
end

#numero_pedidoObject

Returns the value of attribute numero_pedido.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def numero_pedido
  @numero_pedido
end

#responseObject

Returns the value of attribute response.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def response
  @response
end

#statusObject

Returns the value of attribute status.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def status
  @status
end

#url_acessoObject

Returns the value of attribute url_acesso.



8
9
10
# File 'lib/locaweb-gateway/transaction.rb', line 8

def url_acesso
  @url_acesso
end