Class: Beanie::ProductPrice
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#effective ⇒ Object
Returns the value of attribute effective.
-
#id ⇒ Object
Returns the value of attribute id.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#sales_tax_id ⇒ Object
Returns the value of attribute sales_tax_id.
Instance Method Summary collapse
-
#initialize ⇒ ProductPrice
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ ProductPrice
Initialize instance variables
36 37 38 39 40 41 42 |
# File 'lib/beanie/product_price.rb', line 36 def initialize @id = nil @amount = nil @effective = nil @sales_tax_id = nil @product_id = nil end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
32 33 34 |
# File 'lib/beanie/product_price.rb', line 32 def amount @amount end |
#effective ⇒ Object
Returns the value of attribute effective.
32 33 34 |
# File 'lib/beanie/product_price.rb', line 32 def effective @effective end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/product_price.rb', line 32 def id @id end |
#product_id ⇒ Object
Returns the value of attribute product_id.
32 33 34 |
# File 'lib/beanie/product_price.rb', line 32 def product_id @product_id end |
#sales_tax_id ⇒ Object
Returns the value of attribute sales_tax_id.
32 33 34 |
# File 'lib/beanie/product_price.rb', line 32 def sales_tax_id @sales_tax_id end |