Class: Fortnox::ContractAccrual

Inherits:
Resource
  • Object
show all
Defined in:
lib/fortnox/resources/contract_accrual.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update

Constructor Details

This class inherits a constructor from Fortnox::Resource

Instance Attribute Details

#accrual_accountObject

Returns the value of attribute accrual_account.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def 
  @accrual_account
end

#accrual_rowsObject

Returns the value of attribute accrual_rows.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def accrual_rows
  @accrual_rows
end

#cost_accountObject

Returns the value of attribute cost_account.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def 
  @cost_account
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def description
  @description
end

#document_numberObject

Returns the value of attribute document_number.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def document_number
  @document_number
end

#periodObject

Returns the value of attribute period.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def period
  @period
end

#timesObject

Returns the value of attribute times.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def times
  @times
end

#totalObject

Returns the value of attribute total.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def total
  @total
end

#vat_includedObject

Returns the value of attribute vat_included.



3
4
5
# File 'lib/fortnox/resources/contract_accrual.rb', line 3

def vat_included
  @vat_included
end