Class: Gateway::ManageCreditCardTransaction
- Inherits:
-
Object
- Object
- Gateway::ManageCreditCardTransaction
- Defined in:
- lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb
Overview
classe para usar nos metodos de cancel e capture
Instance Attribute Summary collapse
-
#AmountInCents ⇒ Object
Returns the value of attribute AmountInCents.
-
#TransactionKey ⇒ Object
Returns the value of attribute TransactionKey.
-
#TransactionReference ⇒ Object
Returns the value of attribute TransactionReference.
Instance Method Summary collapse
Instance Attribute Details
#AmountInCents ⇒ Object
Returns the value of attribute AmountInCents.
5 6 7 |
# File 'lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb', line 5 def AmountInCents @AmountInCents end |
#TransactionKey ⇒ Object
Returns the value of attribute TransactionKey.
6 7 8 |
# File 'lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb', line 6 def TransactionKey @TransactionKey end |
#TransactionReference ⇒ Object
Returns the value of attribute TransactionReference.
7 8 9 |
# File 'lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb', line 7 def TransactionReference @TransactionReference end |
Instance Method Details
#to_json ⇒ Object
9 10 11 12 13 |
# File 'lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb', line 9 def to_json hash = {} instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end |