Class: Fortnox::Voucher
- Defined in:
- lib/fortnox/resources/voucher.rb
Instance Attribute Summary collapse
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#description ⇒ Object
Returns the value of attribute description.
-
#project ⇒ Object
Returns the value of attribute project.
-
#reference_number ⇒ Object
Returns the value of attribute reference_number.
-
#reference_type ⇒ Object
Returns the value of attribute reference_type.
-
#transaction_date ⇒ Object
Returns the value of attribute transaction_date.
-
#voucher_number ⇒ Object
Returns the value of attribute voucher_number.
-
#voucher_rows ⇒ Object
Returns the value of attribute voucher_rows.
-
#voucher_series ⇒ Object
Returns the value of attribute voucher_series.
-
#year ⇒ Object
Returns the value of attribute year.
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
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def comments @comments end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def cost_center @cost_center end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def description @description end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def project @project end |
#reference_number ⇒ Object
Returns the value of attribute reference_number.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def reference_number @reference_number end |
#reference_type ⇒ Object
Returns the value of attribute reference_type.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def reference_type @reference_type end |
#transaction_date ⇒ Object
Returns the value of attribute transaction_date.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def transaction_date @transaction_date end |
#voucher_number ⇒ Object
Returns the value of attribute voucher_number.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def voucher_number @voucher_number end |
#voucher_rows ⇒ Object
Returns the value of attribute voucher_rows.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def voucher_rows @voucher_rows end |
#voucher_series ⇒ Object
Returns the value of attribute voucher_series.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def voucher_series @voucher_series end |
#year ⇒ Object
Returns the value of attribute year.
3 4 5 |
# File 'lib/fortnox/resources/voucher.rb', line 3 def year @year end |