Class: Fortnox::Customer
- Defined in:
- lib/fortnox/resources/customer.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#city ⇒ Object
Returns the value of attribute city.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#cost_center ⇒ Object
Returns the value of attribute cost_center.
-
#country ⇒ Object
Returns the value of attribute country.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#customer_number ⇒ Object
Returns the value of attribute customer_number.
-
#default_delivery_types ⇒ Object
Returns the value of attribute default_delivery_types.
-
#default_templates ⇒ Object
Returns the value of attribute default_templates.
-
#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_country_code ⇒ Object
Returns the value of attribute delivery_country_code.
-
#delivery_fax ⇒ Object
Returns the value of attribute delivery_fax.
-
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
-
#delivery_phone1 ⇒ Object
Returns the value of attribute delivery_phone1.
-
#delivery_phone2 ⇒ Object
Returns the value of attribute delivery_phone2.
-
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
-
#email ⇒ Object
Returns the value of attribute email.
-
#email_invoice ⇒ Object
Returns the value of attribute email_invoice.
-
#email_invoice_bcc ⇒ Object
Returns the value of attribute email_invoice_bcc.
-
#email_invoice_cc ⇒ Object
Returns the value of attribute email_invoice_cc.
-
#email_offer ⇒ Object
Returns the value of attribute email_offer.
-
#email_offer_bcc ⇒ Object
Returns the value of attribute email_offer_bcc.
-
#email_offer_cc ⇒ Object
Returns the value of attribute email_offer_cc.
-
#email_order ⇒ Object
Returns the value of attribute email_order.
-
#email_order_bcc ⇒ Object
Returns the value of attribute email_order_bcc.
-
#email_order_cc ⇒ Object
Returns the value of attribute email_order_cc.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#invoice_administration_fee ⇒ Object
Returns the value of attribute invoice_administration_fee.
-
#invoice_discount ⇒ Object
Returns the value of attribute invoice_discount.
-
#invoice_freight ⇒ Object
Returns the value of attribute invoice_freight.
-
#invoice_remark ⇒ Object
Returns the value of attribute invoice_remark.
-
#name ⇒ Object
Returns the value of attribute name.
-
#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.
-
#project ⇒ Object
Returns the value of attribute project.
-
#sales_account ⇒ Object
Returns the value of attribute sales_account.
-
#show_price_vat_included ⇒ Object
Returns the value of attribute show_price_vat_included.
-
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
-
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
-
#type ⇒ Object
Returns the value of attribute type.
-
#vat_number ⇒ Object
Returns the value of attribute vat_number.
-
#vat_type ⇒ Object
Returns the value of attribute vat_type.
-
#visiting_address ⇒ Object
Returns the value of attribute visiting_address.
-
#visiting_city ⇒ Object
Returns the value of attribute visiting_city.
-
#visiting_country ⇒ Object
Returns the value of attribute visiting_country.
-
#visiting_country_code ⇒ Object
Returns the value of attribute visiting_country_code.
-
#visiting_zip_code ⇒ Object
Returns the value of attribute visiting_zip_code.
-
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
-
#www ⇒ Object
Returns the value of attribute www.
-
#your_reference ⇒ Object
Returns the value of attribute your_reference.
-
#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/customer.rb', line 3 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def address2 @address2 end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def city @city end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def comments @comments end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def cost_center @cost_center end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def country @country end |
#country_code ⇒ Object
Returns the value of attribute country_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def country_code @country_code end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def currency @currency end |
#customer_number ⇒ Object
Returns the value of attribute customer_number.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def customer_number @customer_number end |
#default_delivery_types ⇒ Object
Returns the value of attribute default_delivery_types.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def default_delivery_types @default_delivery_types end |
#default_templates ⇒ Object
Returns the value of attribute default_templates.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def default_templates @default_templates end |
#delivery_address1 ⇒ Object
Returns the value of attribute delivery_address1.
3 4 5 |
# File 'lib/fortnox/resources/customer.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/customer.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/customer.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/customer.rb', line 3 def delivery_country @delivery_country end |
#delivery_country_code ⇒ Object
Returns the value of attribute delivery_country_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_country_code @delivery_country_code end |
#delivery_fax ⇒ Object
Returns the value of attribute delivery_fax.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_fax @delivery_fax end |
#delivery_name ⇒ Object
Returns the value of attribute delivery_name.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_name @delivery_name end |
#delivery_phone1 ⇒ Object
Returns the value of attribute delivery_phone1.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_phone1 @delivery_phone1 end |
#delivery_phone2 ⇒ Object
Returns the value of attribute delivery_phone2.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_phone2 @delivery_phone2 end |
#delivery_zip_code ⇒ Object
Returns the value of attribute delivery_zip_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def delivery_zip_code @delivery_zip_code end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email @email end |
#email_invoice ⇒ Object
Returns the value of attribute email_invoice.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_invoice @email_invoice end |
#email_invoice_bcc ⇒ Object
Returns the value of attribute email_invoice_bcc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_invoice_bcc @email_invoice_bcc end |
#email_invoice_cc ⇒ Object
Returns the value of attribute email_invoice_cc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_invoice_cc @email_invoice_cc end |
#email_offer ⇒ Object
Returns the value of attribute email_offer.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_offer @email_offer end |
#email_offer_bcc ⇒ Object
Returns the value of attribute email_offer_bcc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_offer_bcc @email_offer_bcc end |
#email_offer_cc ⇒ Object
Returns the value of attribute email_offer_cc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_offer_cc @email_offer_cc end |
#email_order ⇒ Object
Returns the value of attribute email_order.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_order @email_order end |
#email_order_bcc ⇒ Object
Returns the value of attribute email_order_bcc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_order_bcc @email_order_bcc end |
#email_order_cc ⇒ Object
Returns the value of attribute email_order_cc.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def email_order_cc @email_order_cc end |
#fax ⇒ Object
Returns the value of attribute fax.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def fax @fax end |
#invoice_administration_fee ⇒ Object
Returns the value of attribute invoice_administration_fee.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def invoice_administration_fee @invoice_administration_fee end |
#invoice_discount ⇒ Object
Returns the value of attribute invoice_discount.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def invoice_discount @invoice_discount end |
#invoice_freight ⇒ Object
Returns the value of attribute invoice_freight.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def invoice_freight @invoice_freight end |
#invoice_remark ⇒ Object
Returns the value of attribute invoice_remark.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def invoice_remark @invoice_remark end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def name @name end |
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
3 4 5 |
# File 'lib/fortnox/resources/customer.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/customer.rb', line 3 def our_reference @our_reference end |
#phone1 ⇒ Object
Returns the value of attribute phone1.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def phone1 @phone1 end |
#phone2 ⇒ Object
Returns the value of attribute phone2.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def phone2 @phone2 end |
#price_list ⇒ Object
Returns the value of attribute price_list.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def price_list @price_list end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def project @project end |
#sales_account ⇒ Object
Returns the value of attribute sales_account.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def sales_account @sales_account end |
#show_price_vat_included ⇒ Object
Returns the value of attribute show_price_vat_included.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def show_price_vat_included @show_price_vat_included end |
#terms_of_delivery ⇒ Object
Returns the value of attribute terms_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/customer.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/customer.rb', line 3 def terms_of_payment @terms_of_payment end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def type @type end |
#vat_number ⇒ Object
Returns the value of attribute vat_number.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def vat_number @vat_number end |
#vat_type ⇒ Object
Returns the value of attribute vat_type.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def vat_type @vat_type end |
#visiting_address ⇒ Object
Returns the value of attribute visiting_address.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def visiting_address @visiting_address end |
#visiting_city ⇒ Object
Returns the value of attribute visiting_city.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def visiting_city @visiting_city end |
#visiting_country ⇒ Object
Returns the value of attribute visiting_country.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def visiting_country @visiting_country end |
#visiting_country_code ⇒ Object
Returns the value of attribute visiting_country_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def visiting_country_code @visiting_country_code end |
#visiting_zip_code ⇒ Object
Returns the value of attribute visiting_zip_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def visiting_zip_code @visiting_zip_code end |
#way_of_delivery ⇒ Object
Returns the value of attribute way_of_delivery.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def way_of_delivery @way_of_delivery end |
#www ⇒ Object
Returns the value of attribute www.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def www @www end |
#your_reference ⇒ Object
Returns the value of attribute your_reference.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def your_reference @your_reference end |
#zip_code ⇒ Object
Returns the value of attribute zip_code.
3 4 5 |
# File 'lib/fortnox/resources/customer.rb', line 3 def zip_code @zip_code end |