Class: Fortnox::InvoiceAccrual
- Defined in:
- lib/fortnox/resources/invoice_accrual.rb
Instance Attribute Summary collapse
-
#accrual_account ⇒ Object
Returns the value of attribute accrual_account.
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#invoice_accrual_rows ⇒ Object
Returns the value of attribute invoice_accrual_rows.
-
#invoice_number ⇒ Object
Returns the value of attribute invoice_number.
-
#period ⇒ Object
Returns the value of attribute period.
-
#revenue_account ⇒ Object
Returns the value of attribute revenue_account.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#times ⇒ Object
Returns the value of attribute times.
-
#total ⇒ Object
Returns the value of attribute total.
-
#vat_included ⇒ Object
Returns the value of attribute vat_included.
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_account ⇒ Object
Returns the value of attribute accrual_account.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def accrual_account @accrual_account end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def description @description end |
#end_date ⇒ Object
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_rows ⇒ Object
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_number ⇒ Object
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 |
#period ⇒ Object
Returns the value of attribute period.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def period @period end |
#revenue_account ⇒ Object
Returns the value of attribute revenue_account.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def revenue_account @revenue_account end |
#start_date ⇒ Object
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 |
#times ⇒ Object
Returns the value of attribute times.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def times @times end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/fortnox/resources/invoice_accrual.rb', line 3 def total @total end |
#vat_included ⇒ Object
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 |