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

#amount ⇒ Object

Returns the value of attribute amount.



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

def amount
  @amount
end

#client ⇒ Object

Returns the value of attribute client.



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

def client
  @client
end

#currency ⇒ Object

Returns the value of attribute currency.



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

def currency
  @currency
end

#description ⇒ Object

Returns the value of attribute description.



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

def description
  @description
end

#id ⇒ Object

Returns the value of attribute id.



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

def id
  @id
end

#livemode ⇒ Object

Returns the value of attribute livemode.



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

def livemode
  @livemode
end

#origin_amount ⇒ Object

Returns the value of attribute origin_amount.



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

def origin_amount
  @origin_amount
end

#payment ⇒ Object

Returns the value of attribute payment.



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

def payment
  @payment
end

#refunds ⇒ Object

Returns the value of attribute refunds.



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

def refunds
  @refunds
end

#response_code ⇒ Object

Returns the value of attribute response_code.



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

def response_code
  @response_code
end

#short_id ⇒ Object

Returns the value of attribute short_id.



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

def short_id
  @short_id
end

#source ⇒ Object

Returns the value of attribute source.



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

def source
  @source
end

#status ⇒ Object

Returns the value of attribute status.



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

def status
  @status
end