Class: Fortnox::InvoiceAccrual

Inherits:
Resource
  • Object
show all
Defined in:
lib/fortnox/resources/invoice_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/invoice_accrual.rb', line 3

def 
  @accrual_account
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#end_dateObject

Returns the value of attribute end_date.



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

def end_date
  @end_date
end

#invoice_accrual_rowsObject

Returns the value of attribute invoice_accrual_rows.



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

def invoice_accrual_rows
  @invoice_accrual_rows
end

#invoice_numberObject

Returns the value of attribute invoice_number.



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

def invoice_number
  @invoice_number
end

#periodObject

Returns the value of attribute period.



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

def period
  @period
end

#revenue_accountObject

Returns the value of attribute revenue_account.



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

def 
  @revenue_account
end

#start_dateObject

Returns the value of attribute start_date.



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

def start_date
  @start_date
end

#timesObject

Returns the value of attribute times.



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

def times
  @times
end

#totalObject

Returns the value of attribute total.



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

def total
  @total
end

#vat_includedObject

Returns the value of attribute vat_included.



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

def vat_included
  @vat_included
end