Class: Fortnox::Price

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

#article_numberObject

Returns the value of attribute article_number.



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

def article_number
  @article_number
end

#dateObject

Returns the value of attribute date.



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

def date
  @date
end

#from_quantityObject

Returns the value of attribute from_quantity.



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

def from_quantity
  @from_quantity
end

#percentObject

Returns the value of attribute percent.



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

def percent
  @percent
end

#priceObject

Returns the value of attribute price.



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

def price
  @price
end

#price_listObject

Returns the value of attribute price_list.



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

def price_list
  @price_list
end