Class: Fortnox::SupplierInvoice

Inherits:
Resource
  • Object
show all
Defined in:
lib/fortnox/resources/supplier_invoice.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

#administration_feeObject

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

#balanceObject

Returns the value of attribute balance.



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

def balance
  @balance
end

#bookedObject

Returns the value of attribute booked.



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

def booked
  @booked
end

#cancelledObject

Returns the value of attribute cancelled.



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

def cancelled
  @cancelled
end

#commentsObject

Returns the value of attribute comments.



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

def comments
  @comments
end

#cost_centerObject

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

#creditObject

Returns the value of attribute credit.



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

def credit
  @credit
end

#credit_referenceObject

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

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#currency_rateObject

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_unitObject

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_fileObject

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_dateObject

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_numberObject

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_seriesObject

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

#freightObject

Returns the value of attribute freight.



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

def freight
  @freight
end

#given_numberObject

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_dateObject

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_numberObject

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

#ocrObject

Returns the value of attribute ocr.



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

def ocr
  @ocr
end

#our_referenceObject

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

#projectObject

Returns the value of attribute project.



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

def project
  @project
end

#round_off_valueObject

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_typeObject

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_rowsObject

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_nameObject

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_numberObject

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

#totalObject

Returns the value of attribute total.



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

def total
  @total
end

#vatObject

Returns the value of attribute vat.



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

def vat
  @vat
end

#your_referenceObject

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