Class: Fortnox::Customer

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

#address1Object

Returns the value of attribute address1.



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

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



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

def address2
  @address2
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#commentsObject

Returns the value of attribute comments.



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

def comments
  @comments
end

#cost_centerObject

Returns the value of attribute cost_center.



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

def cost_center
  @cost_center
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#country_codeObject

Returns the value of attribute country_code.



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

def country_code
  @country_code
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#customer_numberObject

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_typesObject

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_templatesObject

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_address1Object

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_address2Object

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_cityObject

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_countryObject

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_codeObject

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_faxObject

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_nameObject

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_phone1Object

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_phone2Object

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_codeObject

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

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#email_invoiceObject

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_bccObject

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_ccObject

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_offerObject

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_bccObject

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_ccObject

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_orderObject

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_bccObject

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_ccObject

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

#faxObject

Returns the value of attribute fax.



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

def fax
  @fax
end

#invoice_administration_feeObject

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_discountObject

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_freightObject

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_remarkObject

Returns the value of attribute invoice_remark.



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

def invoice_remark
  @invoice_remark
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#organisation_numberObject

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_referenceObject

Returns the value of attribute our_reference.



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

def our_reference
  @our_reference
end

#phone1Object

Returns the value of attribute phone1.



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

def phone1
  @phone1
end

#phone2Object

Returns the value of attribute phone2.



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

def phone2
  @phone2
end

#price_listObject

Returns the value of attribute price_list.



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

def price_list
  @price_list
end

#projectObject

Returns the value of attribute project.



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

def project
  @project
end

#sales_accountObject

Returns the value of attribute sales_account.



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

def 
  @sales_account
end

#show_price_vat_includedObject

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_deliveryObject

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_paymentObject

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

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#vat_numberObject

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_typeObject

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_addressObject

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_cityObject

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_countryObject

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_codeObject

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_codeObject

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_deliveryObject

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

#wwwObject

Returns the value of attribute www.



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

def www
  @www
end

#your_referenceObject

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_codeObject

Returns the value of attribute zip_code.



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

def zip_code
  @zip_code
end