Class: Paymill::Transaction

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

Instance Attribute Summary collapse

Attributes inherited from Base

#app_id, #created_at, #id, #updated_at

Method Summary

Methods included from Restful::Update

#update

Methods inherited from Base

#initialize

Methods included from Restful::All

#all

Methods included from Restful::Find

#find

Methods included from Restful::Create

#create

Constructor Details

This class inherits a constructor from Paymill::Base

Instance Attribute Details

#amount ⇒ Object (readonly)

Returns the value of attribute amount.



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

def amount
  @amount
end

#client ⇒ Object (readonly)

Returns the value of attribute client.



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

def client
  @client
end

#currency ⇒ Object (readonly)

Returns the value of attribute currency.



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

def currency
  @currency
end

#description ⇒ Object

Returns the value of attribute description.



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

def description
  @description
end

#fees ⇒ Object (readonly)

Returns the value of attribute fees.



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

def fees
  @fees
end

#invoices ⇒ Object (readonly)

Returns the value of attribute invoices.



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

def invoices
  @invoices
end

#is_fraud ⇒ Object (readonly)

Returns the value of attribute is_fraud.



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

def is_fraud
  @is_fraud
end

#livemode ⇒ Object (readonly)

Returns the value of attribute livemode.



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

def livemode
  @livemode
end

#mandate_reference ⇒ Object (readonly)

Returns the value of attribute mandate_reference.



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

def mandate_reference
  @mandate_reference
end

#origin_amount ⇒ Object (readonly)

Returns the value of attribute origin_amount.



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

def origin_amount
  @origin_amount
end

#payment ⇒ Object (readonly)

Returns the value of attribute payment.



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

def payment
  @payment
end

#preauthorization ⇒ Object (readonly)

Returns the value of attribute preauthorization.



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

def preauthorization
  @preauthorization
end

#refunds ⇒ Object (readonly)

Returns the value of attribute refunds.



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

def refunds
  @refunds
end

#response_code ⇒ Object (readonly)

Returns the value of attribute response_code.



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

def response_code
  @response_code
end

#short_id ⇒ Object (readonly)

Returns the value of attribute short_id.



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

def short_id
  @short_id
end

#status ⇒ Object (readonly)

Returns the value of attribute status.



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

def status
  @status
end