Class: Fortnox::Supplier
- Defined in:
- lib/fortnox/resources/supplier.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#bank ⇒ Object
Returns the value of attribute bank.
-
#bank_account_number ⇒ Object
Returns the value of attribute bank_account_number.
-
#bg ⇒ Object
Returns the value of attribute bg.
-
#bic ⇒ Object
Returns the value of attribute bic.
-
#branch_code ⇒ Object
Returns the value of attribute branch_code.
-
#city ⇒ Object
Returns the value of attribute city.
-
#clearing_number ⇒ Object
Returns the value of attribute clearing_number.
-
#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.
-
#disable_payment_file ⇒ Object
Returns the value of attribute disable_payment_file.
-
#email ⇒ Object
Returns the value of attribute email.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#iban ⇒ Object
Returns the value of attribute iban.
-
#name ⇒ Object
Returns the value of attribute name.
-
#organisation_number ⇒ Object
Returns the value of attribute organisation_number.
-
#our_customer_number ⇒ Object
Returns the value of attribute our_customer_number.
-
#our_reference ⇒ Object
Returns the value of attribute our_reference.
-
#pg ⇒ Object
Returns the value of attribute pg.
-
#phone1 ⇒ Object
Returns the value of attribute phone1.
-
#phone2 ⇒ Object
Returns the value of attribute phone2.
-
#pre_defined_account ⇒ Object
Returns the value of attribute pre_defined_account.
-
#project ⇒ Object
Returns the value of attribute project.
-
#supplier_number ⇒ Object
Returns the value of attribute supplier_number.
-
#terms_of_payment ⇒ Object
Returns the value of attribute terms_of_payment.
-
#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.
-
#work_place ⇒ Object
Returns the value of attribute work_place.
-
#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
#active ⇒ Object
Returns the value of attribute active.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def active @active end |
#address1 ⇒ Object
Returns the value of attribute address1.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def address2 @address2 end |
#bank ⇒ Object
Returns the value of attribute bank.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def bank @bank end |
#bank_account_number ⇒ Object
Returns the value of attribute bank_account_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def bank_account_number @bank_account_number end |
#bg ⇒ Object
Returns the value of attribute bg.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def bg @bg end |
#bic ⇒ Object
Returns the value of attribute bic.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def bic @bic end |
#branch_code ⇒ Object
Returns the value of attribute branch_code.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def branch_code @branch_code end |
#city ⇒ Object
Returns the value of attribute city.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def city @city end |
#clearing_number ⇒ Object
Returns the value of attribute clearing_number.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def clearing_number @clearing_number end |
#comments ⇒ Object
Returns the value of attribute comments.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def comments @comments end |
#cost_center ⇒ Object
Returns the value of attribute cost_center.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def cost_center @cost_center end |
#country ⇒ Object
Returns the value of attribute country.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def country @country end |
#country_code ⇒ Object
Returns the value of attribute country_code.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def country_code @country_code end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def currency @currency end |
#disable_payment_file ⇒ Object
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 |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def email @email end |
#fax ⇒ Object
Returns the value of attribute fax.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def fax @fax end |
#iban ⇒ Object
Returns the value of attribute iban.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def iban @iban end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def name @name end |
#organisation_number ⇒ Object
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_number ⇒ Object
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_reference ⇒ Object
Returns the value of attribute our_reference.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def our_reference @our_reference end |
#pg ⇒ Object
Returns the value of attribute pg.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def pg @pg end |
#phone1 ⇒ Object
Returns the value of attribute phone1.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def phone1 @phone1 end |
#phone2 ⇒ Object
Returns the value of attribute phone2.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def phone2 @phone2 end |
#pre_defined_account ⇒ Object
Returns the value of attribute pre_defined_account.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def pre_defined_account @pre_defined_account end |
#project ⇒ Object
Returns the value of attribute project.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def project @project end |
#supplier_number ⇒ Object
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_payment ⇒ Object
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_number ⇒ Object
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_type ⇒ Object
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_address ⇒ Object
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_city ⇒ Object
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_country ⇒ Object
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_code ⇒ Object
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_code ⇒ Object
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_place ⇒ Object
Returns the value of attribute work_place.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def work_place @work_place end |
#www ⇒ Object
Returns the value of attribute www.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def www @www end |
#your_reference ⇒ Object
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_code ⇒ Object
Returns the value of attribute zip_code.
3 4 5 |
# File 'lib/fortnox/resources/supplier.rb', line 3 def zip_code @zip_code end |