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

#amountObject (readonly)

Returns the value of attribute amount.



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

def amount
  @amount
end

#clientObject (readonly)

Returns the value of attribute client.



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

def client
  @client
end

#currencyObject (readonly)

Returns the value of attribute currency.



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

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#feesObject (readonly)

Returns the value of attribute fees.



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

def fees
  @fees
end

#invoicesObject (readonly)

Returns the value of attribute invoices.



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

def invoices
  @invoices
end

#is_fraudObject (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

#livemodeObject (readonly)

Returns the value of attribute livemode.



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

def livemode
  @livemode
end

#mandate_referenceObject (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_amountObject (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

#paymentObject (readonly)

Returns the value of attribute payment.



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

def payment
  @payment
end

#preauthorizationObject (readonly)

Returns the value of attribute preauthorization.



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

def preauthorization
  @preauthorization
end

#refundsObject (readonly)

Returns the value of attribute refunds.



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

def refunds
  @refunds
end

#response_codeObject (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_idObject (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

#statusObject (readonly)

Returns the value of attribute status.



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

def status
  @status
end