Class: Fortnox::Contract

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

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#administration_feeObject

Returns the value of attribute administration_fee.



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

def administration_fee
  @administration_fee
end

#commentsObject

Returns the value of attribute comments.



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

def comments
  @comments
end

#continuousObject

Returns the value of attribute continuous.



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

def continuous
  @continuous
end

#contract_dateObject

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_lengthObject

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_percentObject

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_valueObject

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_centerObject

Returns the value of attribute cost_center.



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

def cost_center
  @cost_center
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#customer_nameObject

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_numberObject

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_numberObject

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_informationObject

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_reference1Object

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_reference2Object

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

#freightObject

Returns the value of attribute freight.



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

def freight
  @freight
end

#grossObject

Returns the value of attribute gross.



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

def gross
  @gross
end

#house_workObject

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_discountObject

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_intervalObject

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_rowsObject

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_remainingObject

Returns the value of attribute invoices_remaining.



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

def invoices_remaining
  @invoices_remaining
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#last_invoice_dateObject

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

#netObject

Returns the value of attribute net.



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

def net
  @net
end

#ongoingObject

Returns the value of attribute ongoing.



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

def ongoing
  @ongoing
end

#our_referenceObject

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_endObject

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_startObject

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_listObject

Returns the value of attribute price_list.



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

def price_list
  @price_list
end

Returns the value of attribute print_template.



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

def print_template
  @print_template
end

#projectObject

Returns the value of attribute project.



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

def project
  @project
end

#remarksObject

Returns the value of attribute remarks.



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

def remarks
  @remarks
end

#tax_reductionObject

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_nameObject

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_numberObject

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_deliveryObject

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_paymentObject

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

#totalObject

Returns the value of attribute total.



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

def total
  @total
end

#total_to_payObject

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_vatObject

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_includedObject

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_deliveryObject

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_numberObject

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