Sha256: 0df8e9083844b2609a4bf6ba86b525eceefeafb1ffa9cab6822afbf7ed90dae6

Contents?: true

Size: 337 Bytes

Versions: 9

Compression:

Stored size: 337 Bytes

Contents

# classe para usar nos metodos de cancel e capture
class ManageCreditCardTransaction
  attr_accessor :AmountInCents
  attr_accessor :TransactionKey
  attr_accessor :TransactionReference

  def to_json
    hash = {}
    instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
    hash
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mundipagg_sdk-1.0.2 lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_sdk-1.0.1 lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_sdk-1.0.0 lib/gateway/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.3.1 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.3.0 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.1.1 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.1.0 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.0.1 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb
mundipagg_api-1.0.0 lib/mundipagg/CreditCardTransaction/manage_credit_card_transaction.rb