Class: Locaweb::Gateway::Transaction
- Inherits:
-
Object
- Object
- Locaweb::Gateway::Transaction
- Extended by:
- Actions
- Defined in:
- lib/locaweb-gateway/transaction.rb
Instance Attribute Summary collapse
-
#detalhes ⇒ Object
Returns the value of attribute detalhes.
-
#erro ⇒ Object
Returns the value of attribute erro.
-
#erro_codigo ⇒ Object
Returns the value of attribute erro_codigo.
-
#erro_mensagem ⇒ Object
Returns the value of attribute erro_mensagem.
-
#id ⇒ Object
Returns the value of attribute id.
-
#meio_pagamento ⇒ Object
Returns the value of attribute meio_pagamento.
-
#numero_pedido ⇒ Object
Returns the value of attribute numero_pedido.
-
#response ⇒ Object
Returns the value of attribute response.
-
#status ⇒ Object
Returns the value of attribute status.
-
#url_acesso ⇒ Object
Returns the value of attribute url_acesso.
Instance Method Summary collapse
-
#initialize ⇒ Transaction
constructor
A new instance of Transaction.
Methods included from Actions
cancel, capture, create, gateway_params, show
Constructor Details
#initialize ⇒ Transaction
Returns a new instance of Transaction.
11 12 13 |
# File 'lib/locaweb-gateway/transaction.rb', line 11 def initialize @detalhes = {} end |
Instance Attribute Details
#detalhes ⇒ Object
Returns the value of attribute detalhes.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def detalhes @detalhes end |
#erro ⇒ Object
Returns the value of attribute erro.
9 10 11 |
# File 'lib/locaweb-gateway/transaction.rb', line 9 def erro @erro end |
#erro_codigo ⇒ Object
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_mensagem ⇒ Object
Returns the value of attribute erro_mensagem.
9 10 11 |
# File 'lib/locaweb-gateway/transaction.rb', line 9 def erro_mensagem @erro_mensagem end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def id @id end |
#meio_pagamento ⇒ Object
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_pedido ⇒ Object
Returns the value of attribute numero_pedido.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def numero_pedido @numero_pedido end |
#response ⇒ Object
Returns the value of attribute response.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def response @response end |
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def status @status end |
#url_acesso ⇒ Object
Returns the value of attribute url_acesso.
8 9 10 |
# File 'lib/locaweb-gateway/transaction.rb', line 8 def url_acesso @url_acesso end |