Class: Mollie::Balance::Transaction

Inherits:
Mollie::Base show all
Defined in:
lib/mollie/balance/transaction.rb

Instance Attribute Summary collapse

Attributes inherited from Mollie::Base

#attributes

Class Method Summary collapse

Methods inherited from Mollie::Base

all, #assign_attributes, cancel, create, #delete, delete, get, id_param, #initialize, parent_id, request, resource_name, update, #update

Constructor Details

This class inherits a constructor from Mollie::Base

Instance Attribute Details

Returns the value of attribute _links.



4
5
6
# File 'lib/mollie/balance/transaction.rb', line 4

def _links
  @_links
end

#contextObject

Returns the value of attribute context.



8
9
10
# File 'lib/mollie/balance/transaction.rb', line 8

def context
  @context
end

#created_atObject

Returns the value of attribute created_at.



8
9
10
# File 'lib/mollie/balance/transaction.rb', line 8

def created_at
  @created_at
end

#deductionsObject

Returns the value of attribute deductions.



8
9
10
# File 'lib/mollie/balance/transaction.rb', line 8

def deductions
  @deductions
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/mollie/balance/transaction.rb', line 4

def id
  @id
end

#initial_amountObject

Returns the value of attribute initial_amount.



8
9
10
# File 'lib/mollie/balance/transaction.rb', line 8

def initial_amount
  @initial_amount
end

#result_amountObject

Returns the value of attribute result_amount.



8
9
10
# File 'lib/mollie/balance/transaction.rb', line 8

def result_amount
  @result_amount
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/mollie/balance/transaction.rb', line 4

def type
  @type
end

Class Method Details

.embedded_resource_nameObject



16
17
18
# File 'lib/mollie/balance/transaction.rb', line 16

def self.embedded_resource_name
  "balance_transactions"
end