Class: Fortnox::SupplierInvoice
- Defined in:
- lib/fortnox/resources/supplier_invoice.rb
Instance Attribute Summary collapse
-
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
-
#balance ⇒ Object
Returns the value of attribute balance.
-
#booked ⇒ Object
Returns the value of attribute booked.
-
#cancelled ⇒ Object
Returns the value of attribute cancelled.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#credit ⇒ Object
Returns the value of attribute credit.
-
#credit_reference ⇒ Object
Returns the value of attribute credit_reference.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#currency_rate ⇒ Object
Returns the value of attribute currency_rate.
-
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
-
#disable_payment_file ⇒ Object
Returns the value of attribute disable_payment_file.
-
#due_date ⇒ Object
Returns the value of attribute due_date.
-
#external_invoice_number ⇒ Object
Returns the value of attribute external_invoice_number.
-
#external_invoice_series ⇒ Object
Returns the value of attribute external_invoice_series.
-
#freight ⇒ Object
Returns the value of attribute freight.
-
#given_number ⇒ Object
Returns the value of attribute given_number.
-
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
-
#invoice_number ⇒ Object
Returns the value of attribute invoice_number.
-
#ocr ⇒ Object
Returns the value of attribute ocr.
-
#our_reference ⇒ Object
Returns the value of attribute our_reference.
-
#project ⇒ Object
Returns the value of attribute project.
-
#round_off_value ⇒ Object
Returns the value of attribute round_off_value.
-
#sales_type ⇒ Object
Returns the value of attribute sales_type.
-
#supplier_invoice_rows ⇒ Object
Returns the value of attribute supplier_invoice_rows.
-
#supplier_name ⇒ Object
Returns the value of attribute supplier_name.
-
#supplier_number ⇒ Object
Returns the value of attribute supplier_number.
-
#total ⇒ Object
Returns the value of attribute total.
-
#vat ⇒ Object
Returns the value of attribute vat.
-
#your_reference ⇒ Object
Returns the value of attribute your_reference.
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
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def administration_fee @administration_fee end |
#balance ⇒ Object
Returns the value of attribute balance.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def balance @balance end |
#booked ⇒ Object
Returns the value of attribute booked.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def booked @booked end |
#cancelled ⇒ Object
Returns the value of attribute cancelled.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def cancelled @cancelled end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def comments @comments end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def cost_center @cost_center end |
#credit ⇒ Object
Returns the value of attribute credit.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def credit @credit end |
#credit_reference ⇒ Object
Returns the value of attribute credit_reference.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def credit_reference @credit_reference end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def currency @currency end |
#currency_rate ⇒ Object
Returns the value of attribute currency_rate.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def currency_rate @currency_rate end |
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def currency_unit @currency_unit end |
#disable_payment_file ⇒ Object
Returns the value of attribute disable_payment_file.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def disable_payment_file @disable_payment_file end |
#due_date ⇒ Object
Returns the value of attribute due_date.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def due_date @due_date end |
#external_invoice_number ⇒ Object
Returns the value of attribute external_invoice_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def external_invoice_number @external_invoice_number end |
#external_invoice_series ⇒ Object
Returns the value of attribute external_invoice_series.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def external_invoice_series @external_invoice_series end |
#freight ⇒ Object
Returns the value of attribute freight.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def freight @freight end |
#given_number ⇒ Object
Returns the value of attribute given_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def given_number @given_number end |
#invoice_date ⇒ Object
Returns the value of attribute invoice_date.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def invoice_date @invoice_date end |
#invoice_number ⇒ Object
Returns the value of attribute invoice_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def invoice_number @invoice_number end |
#ocr ⇒ Object
Returns the value of attribute ocr.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def ocr @ocr end |
#our_reference ⇒ Object
Returns the value of attribute our_reference.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def our_reference @our_reference end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def project @project end |
#round_off_value ⇒ Object
Returns the value of attribute round_off_value.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def round_off_value @round_off_value end |
#sales_type ⇒ Object
Returns the value of attribute sales_type.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def sales_type @sales_type end |
#supplier_invoice_rows ⇒ Object
Returns the value of attribute supplier_invoice_rows.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def supplier_invoice_rows @supplier_invoice_rows end |
#supplier_name ⇒ Object
Returns the value of attribute supplier_name.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def supplier_name @supplier_name end |
#supplier_number ⇒ Object
Returns the value of attribute supplier_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def supplier_number @supplier_number end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def total @total end |
#vat ⇒ Object
Returns the value of attribute vat.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def vat @vat end |
#your_reference ⇒ Object
Returns the value of attribute your_reference.
3 4 5 |
# File 'lib/fortnox/resources/supplier_invoice.rb', line 3 def your_reference @your_reference end |