Class: Fortnox::Article
- Defined in:
- lib/fortnox/resources/article.rb
Instance Attribute Summary collapse
-
#article_number ⇒ Object
Returns the value of attribute article_number.
-
#bulky ⇒ Object
Returns the value of attribute bulky.
-
#construction_account ⇒ Object
Returns the value of attribute construction_account.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#description ⇒ Object
Returns the value of attribute description.
-
#disposable_quantity ⇒ Object
Returns the value of attribute disposable_quantity.
-
#ean ⇒ Object
Returns the value of attribute ean.
-
#eu_account ⇒ Object
Returns the value of attribute eu_account.
-
#euvat_account ⇒ Object
Returns the value of attribute euvat_account.
-
#expired ⇒ Object
Returns the value of attribute expired.
-
#export_account ⇒ Object
Returns the value of attribute export_account.
-
#height ⇒ Object
Returns the value of attribute height.
-
#housework ⇒ Object
Returns the value of attribute housework.
-
#housework_type ⇒ Object
Returns the value of attribute housework_type.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#manufacturer_article_number ⇒ Object
Returns the value of attribute manufacturer_article_number.
-
#note ⇒ Object
Returns the value of attribute note.
-
#purchase_account ⇒ Object
Returns the value of attribute purchase_account.
-
#purchase_price ⇒ Object
Returns the value of attribute purchase_price.
-
#quantity_in_stock ⇒ Object
Returns the value of attribute quantity_in_stock.
-
#reserved_quantity ⇒ Object
Returns the value of attribute reserved_quantity.
-
#sales_account ⇒ Object
Returns the value of attribute sales_account.
-
#sales_price ⇒ Object
Returns the value of attribute sales_price.
-
#stock_goods ⇒ Object
Returns the value of attribute stock_goods.
-
#stock_place ⇒ Object
Returns the value of attribute stock_place.
-
#stock_value ⇒ Object
Returns the value of attribute stock_value.
-
#stock_warning ⇒ Object
Returns the value of attribute stock_warning.
-
#supplier_name ⇒ Object
Returns the value of attribute supplier_name.
-
#supplier_number ⇒ Object
Returns the value of attribute supplier_number.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#vat ⇒ Object
Returns the value of attribute vat.
-
#webshop_article ⇒ Object
Returns the value of attribute webshop_article.
-
#weight ⇒ Object
Returns the value of attribute weight.
-
#width ⇒ Object
Returns the value of attribute width.
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
#article_number ⇒ Object
Returns the value of attribute article_number.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def article_number @article_number end |
#bulky ⇒ Object
Returns the value of attribute bulky.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def bulky @bulky end |
#construction_account ⇒ Object
Returns the value of attribute construction_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def construction_account @construction_account end |
#depth ⇒ Object
Returns the value of attribute depth.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def depth @depth end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def description @description end |
#disposable_quantity ⇒ Object
Returns the value of attribute disposable_quantity.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def disposable_quantity @disposable_quantity end |
#ean ⇒ Object
Returns the value of attribute ean.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def ean @ean end |
#eu_account ⇒ Object
Returns the value of attribute eu_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def eu_account @eu_account end |
#euvat_account ⇒ Object
Returns the value of attribute euvat_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def euvat_account @euvat_account end |
#expired ⇒ Object
Returns the value of attribute expired.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def expired @expired end |
#export_account ⇒ Object
Returns the value of attribute export_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def export_account @export_account end |
#height ⇒ Object
Returns the value of attribute height.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def height @height end |
#housework ⇒ Object
Returns the value of attribute housework.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def housework @housework end |
#housework_type ⇒ Object
Returns the value of attribute housework_type.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def housework_type @housework_type end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def manufacturer @manufacturer end |
#manufacturer_article_number ⇒ Object
Returns the value of attribute manufacturer_article_number.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def manufacturer_article_number @manufacturer_article_number end |
#note ⇒ Object
Returns the value of attribute note.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def note @note end |
#purchase_account ⇒ Object
Returns the value of attribute purchase_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def purchase_account @purchase_account end |
#purchase_price ⇒ Object
Returns the value of attribute purchase_price.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def purchase_price @purchase_price end |
#quantity_in_stock ⇒ Object
Returns the value of attribute quantity_in_stock.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def quantity_in_stock @quantity_in_stock end |
#reserved_quantity ⇒ Object
Returns the value of attribute reserved_quantity.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def reserved_quantity @reserved_quantity end |
#sales_account ⇒ Object
Returns the value of attribute sales_account.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def sales_account @sales_account end |
#sales_price ⇒ Object
Returns the value of attribute sales_price.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def sales_price @sales_price end |
#stock_goods ⇒ Object
Returns the value of attribute stock_goods.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def stock_goods @stock_goods end |
#stock_place ⇒ Object
Returns the value of attribute stock_place.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def stock_place @stock_place end |
#stock_value ⇒ Object
Returns the value of attribute stock_value.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def stock_value @stock_value end |
#stock_warning ⇒ Object
Returns the value of attribute stock_warning.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def stock_warning @stock_warning end |
#supplier_name ⇒ Object
Returns the value of attribute supplier_name.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def supplier_name @supplier_name end |
#supplier_number ⇒ Object
Returns the value of attribute supplier_number.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def supplier_number @supplier_number end |
#type ⇒ Object
Returns the value of attribute type.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def type @type end |
#unit ⇒ Object
Returns the value of attribute unit.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def unit @unit end |
#vat ⇒ Object
Returns the value of attribute vat.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def vat @vat end |
#webshop_article ⇒ Object
Returns the value of attribute webshop_article.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def webshop_article @webshop_article end |
#weight ⇒ Object
Returns the value of attribute weight.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def weight @weight end |
#width ⇒ Object
Returns the value of attribute width.
3 4 5 |
# File 'lib/fortnox/resources/article.rb', line 3 def width @width end |