Class: NexioActivemerchant::Transaction
- Inherits:
-
Struct
- Object
- Struct
- NexioActivemerchant::Transaction
- Defined in:
- lib/nexio_activemerchant/transaction.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
4 5 6 |
# File 'lib/nexio_activemerchant/transaction.rb', line 4 def data @data end |
Instance Method Details
#amount ⇒ Object
9 10 11 |
# File 'lib/nexio_activemerchant/transaction.rb', line 9 def amount data['amount'].to_d end |
#status ⇒ Object
5 6 7 |
# File 'lib/nexio_activemerchant/transaction.rb', line 5 def status data['transactionStatus'] end |