Class: Fortnox::Supplier

Inherits:
Resource show all
Defined in:
lib/fortnox/resources/supplier.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/supplier.rb', line 3

def active
  @active
end

#address1Object

Returns the value of attribute address1.



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

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



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

def address2
  @address2
end

#bankObject

Returns the value of attribute bank.



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

def bank
  @bank
end

#bank_account_numberObject

Returns the value of attribute bank_account_number.



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

def 
  @bank_account_number
end

#bgObject

Returns the value of attribute bg.



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

def bg
  @bg
end

#bicObject

Returns the value of attribute bic.



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

def bic
  @bic
end

#branch_codeObject

Returns the value of attribute branch_code.



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

def branch_code
  @branch_code
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#clearing_numberObject

Returns the value of attribute clearing_number.



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

def clearing_number
  @clearing_number
end

#commentsObject

Returns the value of attribute comments.



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

def comments
  @comments
end

#cost_centerObject

Returns the value of attribute cost_center.



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

def cost_center
  @cost_center
end

#countryObject

Returns the value of attribute country.



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

def country
  @country
end

#country_codeObject

Returns the value of attribute country_code.



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

def country_code
  @country_code
end

#currencyObject

Returns the value of attribute currency.



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

def currency
  @currency
end

#disable_payment_fileObject

Returns the value of attribute disable_payment_file.



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

def disable_payment_file
  @disable_payment_file
end

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#faxObject

Returns the value of attribute fax.



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

def fax
  @fax
end

#ibanObject

Returns the value of attribute iban.



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

def iban
  @iban
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#organisation_numberObject

Returns the value of attribute organisation_number.



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

def organisation_number
  @organisation_number
end

#our_customer_numberObject

Returns the value of attribute our_customer_number.



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

def our_customer_number
  @our_customer_number
end

#our_referenceObject

Returns the value of attribute our_reference.



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

def our_reference
  @our_reference
end

#pgObject

Returns the value of attribute pg.



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

def pg
  @pg
end

#phone1Object

Returns the value of attribute phone1.



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

def phone1
  @phone1
end

#phone2Object

Returns the value of attribute phone2.



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

def phone2
  @phone2
end

#pre_defined_accountObject

Returns the value of attribute pre_defined_account.



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

def 
  @pre_defined_account
end

#projectObject

Returns the value of attribute project.



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

def project
  @project
end

#supplier_numberObject

Returns the value of attribute supplier_number.



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

def supplier_number
  @supplier_number
end

#terms_of_paymentObject

Returns the value of attribute terms_of_payment.



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

def terms_of_payment
  @terms_of_payment
end

#vat_numberObject

Returns the value of attribute vat_number.



3
4
5
# File 'lib/fortnox/resources/supplier.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/supplier.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/supplier.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/supplier.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/supplier.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/supplier.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/supplier.rb', line 3

def visiting_zip_code
  @visiting_zip_code
end

#work_placeObject

Returns the value of attribute work_place.



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

def work_place
  @work_place
end

#wwwObject

Returns the value of attribute www.



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

def www
  @www
end

#your_referenceObject

Returns the value of attribute your_reference.



3
4
5
# File 'lib/fortnox/resources/supplier.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/supplier.rb', line 3

def zip_code
  @zip_code
end