Class: Fortnox::Contract
- Defined in:
- lib/fortnox/resources/contract.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#continuous ⇒ Object
Returns the value of attribute continuous.
-
#contract_date ⇒ Object
Returns the value of attribute contract_date.
-
#contract_length ⇒ Object
Returns the value of attribute contract_length.
-
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
-
#contribution_value ⇒ Object
Returns the value of attribute contribution_value.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer_name ⇒ Object
Returns the value of attribute customer_name.
-
#customer_number ⇒ Object
Returns the value of attribute customer_number.
-
#document_number ⇒ Object
Returns the value of attribute document_number.
-
#email_information ⇒ Object
Returns the value of attribute email_information.
-
#external_invoice_reference1 ⇒ Object
Returns the value of attribute external_invoice_reference1.
-
#external_invoice_reference2 ⇒ Object
Returns the value of attribute external_invoice_reference2.
-
#freight ⇒ Object
Returns the value of attribute freight.
-
#gross ⇒ Object
Returns the value of attribute gross.
-
#house_work ⇒ Object
Returns the value of attribute house_work.
-
#invoice_discount ⇒ Object
Returns the value of attribute invoice_discount.
-
#invoice_interval ⇒ Object
Returns the value of attribute invoice_interval.
-
#invoice_rows ⇒ Object
Returns the value of attribute invoice_rows.
-
#invoices_remaining ⇒ Object
Returns the value of attribute invoices_remaining.
-
#language ⇒ Object
Returns the value of attribute language.
-
#last_invoice_date ⇒ Object
Returns the value of attribute last_invoice_date.
-
#net ⇒ Object
Returns the value of attribute net.
-
#ongoing ⇒ Object
Returns the value of attribute ongoing.
-
#our_reference ⇒ Object
Returns the value of attribute our_reference.
-
#period_end ⇒ Object
Returns the value of attribute period_end.
-
#period_start ⇒ Object
Returns the value of attribute period_start.
-
#price_list ⇒ Object
Returns the value of attribute price_list.
-
#print_template ⇒ Object
Returns the value of attribute print_template.
-
#project ⇒ Object
Returns the value of attribute project.
-
#remarks ⇒ Object
Returns the value of attribute remarks.
-
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
-
#template_name ⇒ Object
Returns the value of attribute template_name.
-
#template_number ⇒ Object
Returns the value of attribute template_number.
-
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
-
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
-
#total ⇒ Object
Returns the value of attribute total.
-
#total_to_pay ⇒ Object
Returns the value of attribute total_to_pay.
-
#total_vat ⇒ Object
Returns the value of attribute total_vat.
-
#vat_included ⇒ Object
Returns the value of attribute vat_included.
-
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
-
#your_order_number ⇒ Object
Returns the value of attribute your_order_number.
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
#active ⇒ Object
Returns the value of attribute active.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def active @active end |
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def administration_fee @administration_fee end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def comments @comments end |
#continuous ⇒ Object
Returns the value of attribute continuous.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def continuous @continuous end |
#contract_date ⇒ Object
Returns the value of attribute contract_date.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def contract_date @contract_date end |
#contract_length ⇒ Object
Returns the value of attribute contract_length.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def contract_length @contract_length end |
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def contribution_percent @contribution_percent end |
#contribution_value ⇒ Object
Returns the value of attribute contribution_value.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def contribution_value @contribution_value end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def cost_center @cost_center end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def currency @currency end |
#customer_name ⇒ Object
Returns the value of attribute customer_name.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def customer_name @customer_name end |
#customer_number ⇒ Object
Returns the value of attribute customer_number.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def customer_number @customer_number end |
#document_number ⇒ Object
Returns the value of attribute document_number.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def document_number @document_number end |
#email_information ⇒ Object
Returns the value of attribute email_information.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def email_information @email_information end |
#external_invoice_reference1 ⇒ Object
Returns the value of attribute external_invoice_reference1.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def external_invoice_reference1 @external_invoice_reference1 end |
#external_invoice_reference2 ⇒ Object
Returns the value of attribute external_invoice_reference2.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def external_invoice_reference2 @external_invoice_reference2 end |
#freight ⇒ Object
Returns the value of attribute freight.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def freight @freight end |
#gross ⇒ Object
Returns the value of attribute gross.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def gross @gross end |
#house_work ⇒ Object
Returns the value of attribute house_work.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def house_work @house_work end |
#invoice_discount ⇒ Object
Returns the value of attribute invoice_discount.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def invoice_discount @invoice_discount end |
#invoice_interval ⇒ Object
Returns the value of attribute invoice_interval.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def invoice_interval @invoice_interval end |
#invoice_rows ⇒ Object
Returns the value of attribute invoice_rows.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def invoice_rows @invoice_rows end |
#invoices_remaining ⇒ Object
Returns the value of attribute invoices_remaining.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def invoices_remaining @invoices_remaining end |
#language ⇒ Object
Returns the value of attribute language.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def language @language end |
#last_invoice_date ⇒ Object
Returns the value of attribute last_invoice_date.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def last_invoice_date @last_invoice_date end |
#net ⇒ Object
Returns the value of attribute net.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def net @net end |
#ongoing ⇒ Object
Returns the value of attribute ongoing.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def ongoing @ongoing end |
#our_reference ⇒ Object
Returns the value of attribute our_reference.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def our_reference @our_reference end |
#period_end ⇒ Object
Returns the value of attribute period_end.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def period_end @period_end end |
#period_start ⇒ Object
Returns the value of attribute period_start.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def period_start @period_start end |
#price_list ⇒ Object
Returns the value of attribute price_list.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def price_list @price_list end |
#print_template ⇒ Object
Returns the value of attribute print_template.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def print_template @print_template end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def project @project end |
#remarks ⇒ Object
Returns the value of attribute remarks.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def remarks @remarks end |
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def tax_reduction @tax_reduction end |
#template_name ⇒ Object
Returns the value of attribute template_name.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def template_name @template_name end |
#template_number ⇒ Object
Returns the value of attribute template_number.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def template_number @template_number end |
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def terms_of_delivery @terms_of_delivery end |
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def terms_of_payment @terms_of_payment end |
#total ⇒ Object
Returns the value of attribute total.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def total @total end |
#total_to_pay ⇒ Object
Returns the value of attribute total_to_pay.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def total_to_pay @total_to_pay end |
#total_vat ⇒ Object
Returns the value of attribute total_vat.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def total_vat @total_vat end |
#vat_included ⇒ Object
Returns the value of attribute vat_included.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def vat_included @vat_included end |
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def way_of_delivery @way_of_delivery end |
#your_order_number ⇒ Object
Returns the value of attribute your_order_number.
3 4 5 |
# File 'lib/fortnox/resources/contract.rb', line 3 def your_order_number @your_order_number end |