Class: ManageCreditCardTransaction
- Inherits:
-
Object
- Object
- ManageCreditCardTransaction
- Defined in:
- lib/mundipagg/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.
3 4 5 |
# File 'lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb', line 3 def AmountInCents @AmountInCents end |
#TransactionKey ⇒ Object
Returns the value of attribute TransactionKey.
4 5 6 |
# File 'lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb', line 4 def TransactionKey @TransactionKey end |
#TransactionReference ⇒ Object
Returns the value of attribute TransactionReference.
5 6 7 |
# File 'lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb', line 5 def TransactionReference @TransactionReference end |
Instance Method Details
#to_json ⇒ Object
7 8 9 10 11 |
# File 'lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb', line 7 def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end |