Class: Fortnox::Offer
- Defined in:
- lib/fortnox/resources/offer.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
-
#administration_fee_vat ⇒ Object
Returns the value of attribute administration_fee_vat.
-
#basis_tax_reduction ⇒ Object
Returns the value of attribute basis_tax_reduction.
-
#cancelled ⇒ Object
Returns the value of attribute cancelled.
-
#city ⇒ Object
Returns the value of attribute city.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
-
#contribution_value ⇒ Object
Returns the value of attribute contribution_value.
-
#copy_remarks ⇒ Object
Returns the value of attribute copy_remarks.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#country ⇒ Object
Returns the value of attribute country.
-
#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.
-
#customer_name ⇒ Object
Returns the value of attribute customer_name.
-
#customer_number ⇒ Object
Returns the value of attribute customer_number.
-
#delivery_address1 ⇒ Object
Returns the value of attribute delivery_address1.
-
#delivery_address2 ⇒ Object
Returns the value of attribute delivery_address2.
-
#delivery_city ⇒ Object
Returns the value of attribute delivery_city.
-
#delivery_country ⇒ Object
Returns the value of attribute delivery_country.
-
#delivery_date ⇒ Object
Returns the value of attribute delivery_date.
-
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
-
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
-
#document_number ⇒ Object
Returns the value of attribute document_number.
-
#email_information ⇒ Object
Returns the value of attribute email_information.
-
#expire_date ⇒ Object
Returns the value of attribute expire_date.
-
#freight ⇒ Object
Returns the value of attribute freight.
-
#freight_vat ⇒ Object
Returns the value of attribute freight_vat.
-
#gross ⇒ Object
Returns the value of attribute gross.
-
#house_work ⇒ Object
Returns the value of attribute house_work.
-
#invoice_reference ⇒ Object
Returns the value of attribute invoice_reference.
-
#language ⇒ Object
Returns the value of attribute language.
-
#net ⇒ Object
Returns the value of attribute net.
-
#not_completed ⇒ Object
Returns the value of attribute not_completed.
-
#offer_date ⇒ Object
Returns the value of attribute offer_date.
-
#offer_rows ⇒ Object
Returns the value of attribute offer_rows.
-
#order_reference ⇒ Object
Returns the value of attribute order_reference.
-
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
-
#our_reference ⇒ Object
Returns the value of attribute our_reference.
-
#phone1 ⇒ Object
Returns the value of attribute phone1.
-
#phone2 ⇒ Object
Returns the value of attribute phone2.
-
#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.
-
#round_off ⇒ Object
Returns the value of attribute round_off.
-
#sent ⇒ Object
Returns the value of attribute sent.
-
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
-
#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_reference ⇒ Object
Returns the value of attribute your_reference.
-
#your_reference_number ⇒ Object
Returns the value of attribute your_reference_number.
-
#zip_code ⇒ Object
Returns the value of attribute zip_code.
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
#address1 ⇒ Object
Returns the value of attribute address1.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def address2 @address2 end |
#administration_fee ⇒ Object
Returns the value of attribute administration_fee.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def administration_fee @administration_fee end |
#administration_fee_vat ⇒ Object
Returns the value of attribute administration_fee_vat.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def administration_fee_vat @administration_fee_vat end |
#basis_tax_reduction ⇒ Object
Returns the value of attribute basis_tax_reduction.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def basis_tax_reduction @basis_tax_reduction end |
#cancelled ⇒ Object
Returns the value of attribute cancelled.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def cancelled @cancelled end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def city @city end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def comments @comments end |
#contribution_percent ⇒ Object
Returns the value of attribute contribution_percent.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.rb', line 3 def contribution_value @contribution_value end |
#copy_remarks ⇒ Object
Returns the value of attribute copy_remarks.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def copy_remarks @copy_remarks end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def cost_center @cost_center end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def country @country end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def currency @currency end |
#currency_rate ⇒ Object
Returns the value of attribute currency_rate.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.rb', line 3 def currency_unit @currency_unit end |
#customer_name ⇒ Object
Returns the value of attribute customer_name.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.rb', line 3 def customer_number @customer_number end |
#delivery_address1 ⇒ Object
Returns the value of attribute delivery_address1.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_address1 @delivery_address1 end |
#delivery_address2 ⇒ Object
Returns the value of attribute delivery_address2.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_address2 @delivery_address2 end |
#delivery_city ⇒ Object
Returns the value of attribute delivery_city.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_city @delivery_city end |
#delivery_country ⇒ Object
Returns the value of attribute delivery_country.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_country @delivery_country end |
#delivery_date ⇒ Object
Returns the value of attribute delivery_date.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_date @delivery_date end |
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_name @delivery_name end |
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def delivery_zip_code @delivery_zip_code end |
#document_number ⇒ Object
Returns the value of attribute document_number.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.rb', line 3 def email_information @email_information end |
#expire_date ⇒ Object
Returns the value of attribute expire_date.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def expire_date @expire_date end |
#freight ⇒ Object
Returns the value of attribute freight.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def freight @freight end |
#freight_vat ⇒ Object
Returns the value of attribute freight_vat.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def freight_vat @freight_vat end |
#gross ⇒ Object
Returns the value of attribute gross.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def gross @gross end |
#house_work ⇒ Object
Returns the value of attribute house_work.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def house_work @house_work end |
#invoice_reference ⇒ Object
Returns the value of attribute invoice_reference.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def invoice_reference @invoice_reference end |
#language ⇒ Object
Returns the value of attribute language.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def language @language end |
#net ⇒ Object
Returns the value of attribute net.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def net @net end |
#not_completed ⇒ Object
Returns the value of attribute not_completed.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def not_completed @not_completed end |
#offer_date ⇒ Object
Returns the value of attribute offer_date.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def offer_date @offer_date end |
#offer_rows ⇒ Object
Returns the value of attribute offer_rows.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def offer_rows @offer_rows end |
#order_reference ⇒ Object
Returns the value of attribute order_reference.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def order_reference @order_reference end |
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def organisation_number @organisation_number end |
#our_reference ⇒ Object
Returns the value of attribute our_reference.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def our_reference @our_reference end |
#phone1 ⇒ Object
Returns the value of attribute phone1.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def phone1 @phone1 end |
#phone2 ⇒ Object
Returns the value of attribute phone2.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def phone2 @phone2 end |
#price_list ⇒ Object
Returns the value of attribute price_list.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.rb', line 3 def print_template @print_template end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def project @project end |
#remarks ⇒ Object
Returns the value of attribute remarks.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def remarks @remarks end |
#round_off ⇒ Object
Returns the value of attribute round_off.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def round_off @round_off end |
#sent ⇒ Object
Returns the value of attribute sent.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def sent @sent end |
#tax_reduction ⇒ Object
Returns the value of attribute tax_reduction.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def tax_reduction @tax_reduction end |
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/offer.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/offer.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/offer.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/offer.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/offer.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/offer.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/offer.rb', line 3 def way_of_delivery @way_of_delivery end |
#your_reference ⇒ Object
Returns the value of attribute your_reference.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def your_reference @your_reference end |
#your_reference_number ⇒ Object
Returns the value of attribute your_reference_number.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def your_reference_number @your_reference_number end |
#zip_code ⇒ Object
Returns the value of attribute zip_code.
3 4 5 |
# File 'lib/fortnox/resources/offer.rb', line 3 def zip_code @zip_code end |