Class: Paymill::Transaction

Inherits:
Base
  • Object
show all
Includes:
Operations::Update
Defined in:
lib/paymill/transaction.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#created_at, #updated_at

Method Summary

Methods included from Operations::Update

included, #update_attributes

Methods inherited from Base

#initialize, #parse_timestamps, #set_attributes

Methods included from Operations::Find

included

Methods included from Operations::Create

included

Methods included from Operations::All

included

Constructor Details

This class inherits a constructor from Paymill::Base

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def amount
  @amount
end

#clientObject

Returns the value of attribute client.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def client
  @client
end

#currencyObject

Returns the value of attribute currency.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def description
  @description
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def id
  @id
end

#livemodeObject

Returns the value of attribute livemode.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def livemode
  @livemode
end

#origin_amountObject

Returns the value of attribute origin_amount.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def origin_amount
  @origin_amount
end

#paymentObject

Returns the value of attribute payment.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def payment
  @payment
end

#refundsObject

Returns the value of attribute refunds.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def refunds
  @refunds
end

#response_codeObject

Returns the value of attribute response_code.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def response_code
  @response_code
end

#short_idObject

Returns the value of attribute short_id.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def short_id
  @short_id
end

#sourceObject

Returns the value of attribute source.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def source
  @source
end

#statusObject

Returns the value of attribute status.



5
6
7
# File 'lib/paymill/transaction.rb', line 5

def status
  @status
end