Class: Shopify::Variant
- Inherits:
-
ShopifyModel
- Object
- ShopifyModel
- Shopify::Variant
- Defined in:
- lib/shopify.rb
Overview
/admin/products//variants.xml
Instance Attribute Summary collapse
-
#compare_at_price ⇒ Object
Returns the value of attribute compare_at_price.
-
#fulfillment_service ⇒ Object
Returns the value of attribute fulfillment_service.
-
#grams ⇒ Object
Returns the value of attribute grams.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inventory_management ⇒ Object
Returns the value of attribute inventory_management.
-
#inventory_policy ⇒ Object
Returns the value of attribute inventory_policy.
-
#inventory_quantity ⇒ Object
Returns the value of attribute inventory_quantity.
-
#position ⇒ Object
Returns the value of attribute position.
-
#price ⇒ Object
Returns the value of attribute price.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#sku ⇒ Object
Returns the value of attribute sku.
-
#title ⇒ Object
Returns the value of attribute title.
Attributes inherited from ShopifyModel
Method Summary
Methods inherited from ShopifyModel
children_of, #initialize, #inspect, instantiate, is_child?, top_level
Constructor Details
This class inherits a constructor from Shopify::ShopifyModel
Instance Attribute Details
#compare_at_price ⇒ Object
Returns the value of attribute compare_at_price.
156 157 158 |
# File 'lib/shopify.rb', line 156 def compare_at_price @compare_at_price end |
#fulfillment_service ⇒ Object
Returns the value of attribute fulfillment_service.
156 157 158 |
# File 'lib/shopify.rb', line 156 def fulfillment_service @fulfillment_service end |
#grams ⇒ Object
Returns the value of attribute grams.
156 157 158 |
# File 'lib/shopify.rb', line 156 def grams @grams end |
#id ⇒ Object
Returns the value of attribute id.
156 157 158 |
# File 'lib/shopify.rb', line 156 def id @id end |
#inventory_management ⇒ Object
Returns the value of attribute inventory_management.
156 157 158 |
# File 'lib/shopify.rb', line 156 def inventory_management @inventory_management end |
#inventory_policy ⇒ Object
Returns the value of attribute inventory_policy.
156 157 158 |
# File 'lib/shopify.rb', line 156 def inventory_policy @inventory_policy end |
#inventory_quantity ⇒ Object
Returns the value of attribute inventory_quantity.
156 157 158 |
# File 'lib/shopify.rb', line 156 def inventory_quantity @inventory_quantity end |
#position ⇒ Object
Returns the value of attribute position.
156 157 158 |
# File 'lib/shopify.rb', line 156 def position @position end |
#price ⇒ Object
Returns the value of attribute price.
156 157 158 |
# File 'lib/shopify.rb', line 156 def price @price end |
#product_id ⇒ Object
Returns the value of attribute product_id.
156 157 158 |
# File 'lib/shopify.rb', line 156 def product_id @product_id end |
#sku ⇒ Object
Returns the value of attribute sku.
156 157 158 |
# File 'lib/shopify.rb', line 156 def sku @sku end |
#title ⇒ Object
Returns the value of attribute title.
156 157 158 |
# File 'lib/shopify.rb', line 156 def title @title end |