Class: Shopify::Variant

Inherits:
ShopifyModel show all
Defined in:
lib/shopify.rb

Overview

/admin/products//variants.xml

Instance Attribute Summary collapse

Attributes inherited from ShopifyModel

#shop

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_priceObject

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_serviceObject

Returns the value of attribute fulfillment_service.



156
157
158
# File 'lib/shopify.rb', line 156

def fulfillment_service
  @fulfillment_service
end

#gramsObject

Returns the value of attribute grams.



156
157
158
# File 'lib/shopify.rb', line 156

def grams
  @grams
end

#idObject

Returns the value of attribute id.



156
157
158
# File 'lib/shopify.rb', line 156

def id
  @id
end

#inventory_managementObject

Returns the value of attribute inventory_management.



156
157
158
# File 'lib/shopify.rb', line 156

def inventory_management
  @inventory_management
end

#inventory_policyObject

Returns the value of attribute inventory_policy.



156
157
158
# File 'lib/shopify.rb', line 156

def inventory_policy
  @inventory_policy
end

#inventory_quantityObject

Returns the value of attribute inventory_quantity.



156
157
158
# File 'lib/shopify.rb', line 156

def inventory_quantity
  @inventory_quantity
end

#positionObject

Returns the value of attribute position.



156
157
158
# File 'lib/shopify.rb', line 156

def position
  @position
end

#priceObject

Returns the value of attribute price.



156
157
158
# File 'lib/shopify.rb', line 156

def price
  @price
end

#product_idObject

Returns the value of attribute product_id.



156
157
158
# File 'lib/shopify.rb', line 156

def product_id
  @product_id
end

#skuObject

Returns the value of attribute sku.



156
157
158
# File 'lib/shopify.rb', line 156

def sku
  @sku
end

#titleObject

Returns the value of attribute title.



156
157
158
# File 'lib/shopify.rb', line 156

def title
  @title
end