Class: BigcommerceAPI::Product
- Extended by:
- Countable
- Defined in:
- lib/bigcommerce_api/product.rb
Instance Attribute Summary collapse
-
#availability ⇒ Object
incoming attributes.
-
#availability_description ⇒ Object
incoming attributes.
-
#bin_picking_number ⇒ Object
incoming attributes.
-
#brand_id ⇒ Object
incoming attributes.
-
#brand_resource ⇒ Object
has_one.
-
#categories ⇒ Object
incoming attributes.
-
#condition ⇒ Object
incoming attributes.
-
#configurable_fields ⇒ Object
incoming attributes.
-
#cost_price ⇒ Object
incoming attributes.
-
#custom_fields ⇒ Object
incoming attributes.
-
#custom_url ⇒ Object
incoming attributes.
-
#date_created ⇒ Object
incoming attributes.
-
#date_last_imported ⇒ Object
incoming attributes.
-
#date_modified ⇒ Object
incoming attributes.
-
#depth ⇒ Object
incoming attributes.
-
#description ⇒ Object
incoming attributes.
-
#discount_rules ⇒ Object
incoming attributes.
-
#downloads ⇒ Object
incoming attributes.
-
#event_date_end ⇒ Object
incoming attributes.
-
#event_date_field_name ⇒ Object
incoming attributes.
-
#event_date_start ⇒ Object
incoming attributes.
-
#event_date_type ⇒ Object
incoming attributes.
-
#fixed_cost_shipping_price ⇒ Object
incoming attributes.
-
#height ⇒ Object
incoming attributes.
-
#id ⇒ Object
incoming attributes.
-
#images_hash ⇒ Object
has_many.
-
#inventory_level ⇒ Object
incoming attributes.
-
#inventory_tracking ⇒ Object
incoming attributes.
-
#inventory_warning_level ⇒ Object
incoming attributes.
-
#is_condition_shown ⇒ Object
incoming attributes.
-
#is_featured ⇒ Object
incoming attributes.
-
#is_free_shipping ⇒ Object
incoming attributes.
-
#is_open_graph_thumbnail ⇒ Object
incoming attributes.
-
#is_preorder_only ⇒ Object
incoming attributes.
-
#is_price_hidden ⇒ Object
incoming attributes.
-
#is_visible ⇒ Object
incoming attributes.
-
#layout_file ⇒ Object
incoming attributes.
-
#meta_description ⇒ Object
incoming attributes.
-
#meta_keywords ⇒ Object
incoming attributes.
-
#myob_asset_account ⇒ Object
incoming attributes.
-
#myob_expense_account ⇒ Object
incoming attributes.
-
#myob_income_account ⇒ Object
incoming attributes.
-
#name ⇒ Object
incoming attributes.
-
#open_graph_description ⇒ Object
incoming attributes.
-
#open_graph_title ⇒ Object
incoming attributes.
-
#open_graph_type ⇒ Object
incoming attributes.
-
#option_set_display ⇒ Object
incoming attributes.
-
#option_set_id ⇒ Object
incoming attributes.
-
#option_set_resource ⇒ Object
has_one.
-
#options_hash ⇒ Object
has_many.
-
#order_quantity_maximum ⇒ Object
incoming attributes.
-
#order_quantity_minimum ⇒ Object
incoming attributes.
-
#page_title ⇒ Object
incoming attributes.
-
#peachtree_gl_account ⇒ Object
incoming attributes.
-
#preorder_message ⇒ Object
incoming attributes.
-
#preorder_release_date ⇒ Object
incoming attributes.
-
#price ⇒ Object
incoming attributes.
-
#price_hidden_label ⇒ Object
incoming attributes.
-
#product_type ⇒ Object
reserved.
-
#rating_count ⇒ Object
incoming attributes.
-
#rating_total ⇒ Object
incoming attributes.
-
#related_products ⇒ Object
incoming attributes.
-
#retail_price ⇒ Object
incoming attributes.
-
#rules_hash ⇒ Object
has_many.
-
#sale_price ⇒ Object
incoming attributes.
-
#search_keywords ⇒ Object
incoming attributes.
-
#sku ⇒ Object
incoming attributes.
-
#skus_hash ⇒ Object
has_many.
-
#sort_order ⇒ Object
incoming attributes.
-
#tax_class_id ⇒ Object
incoming attributes.
-
#total_sold ⇒ Object
incoming attributes.
-
#type ⇒ Object
incoming attributes.
-
#upc ⇒ Object
incoming attributes.
-
#videos ⇒ Object
incoming attributes.
-
#view_count ⇒ Object
incoming attributes.
-
#warranty ⇒ Object
incoming attributes.
-
#weight ⇒ Object
incoming attributes.
-
#width ⇒ Object
incoming attributes.
Attributes inherited from Resource
Method Summary
Methods included from Countable
Methods inherited from Resource
all, #assign_attributes, belongs_to, #changed, #create, #delete, find, #find_for_reload, has_many, has_one, http_request, #initialize, #mark_dirty!, #parent, #reload, #resource, resource, #resource_url, #save, #update_attributes
Methods inherited from Base
#attributes, clean!, date_adjust, default_options, #initialize, #store, #time, to_rfc2822
Constructor Details
This class inherits a constructor from BigcommerceAPI::Resource
Instance Attribute Details
#availability ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def availability @availability end |
#availability_description ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def availability_description @availability_description end |
#bin_picking_number ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def bin_picking_number @bin_picking_number end |
#brand_id ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def brand_id @brand_id end |
#brand_resource ⇒ Object
has_one
85 86 87 |
# File 'lib/bigcommerce_api/product.rb', line 85 def brand_resource @brand_resource end |
#categories ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def categories @categories end |
#condition ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def condition @condition end |
#configurable_fields ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def configurable_fields @configurable_fields end |
#cost_price ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def cost_price @cost_price end |
#custom_fields ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def custom_fields @custom_fields end |
#custom_url ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def custom_url @custom_url end |
#date_created ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def date_created @date_created end |
#date_last_imported ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def date_last_imported @date_last_imported end |
#date_modified ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def date_modified @date_modified end |
#depth ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def depth @depth end |
#description ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def description @description end |
#discount_rules ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def discount_rules @discount_rules end |
#downloads ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def downloads @downloads end |
#event_date_end ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def event_date_end @event_date_end end |
#event_date_field_name ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def event_date_field_name @event_date_field_name end |
#event_date_start ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def event_date_start @event_date_start end |
#event_date_type ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def event_date_type @event_date_type end |
#fixed_cost_shipping_price ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def fixed_cost_shipping_price @fixed_cost_shipping_price end |
#height ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def height @height end |
#id ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def id @id end |
#images_hash ⇒ Object
has_many
79 80 81 |
# File 'lib/bigcommerce_api/product.rb', line 79 def images_hash @images_hash end |
#inventory_level ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def inventory_level @inventory_level end |
#inventory_tracking ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def inventory_tracking @inventory_tracking end |
#inventory_warning_level ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def inventory_warning_level @inventory_warning_level end |
#is_condition_shown ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_condition_shown @is_condition_shown end |
#is_featured ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_featured @is_featured end |
#is_free_shipping ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_free_shipping @is_free_shipping end |
#is_open_graph_thumbnail ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_open_graph_thumbnail @is_open_graph_thumbnail end |
#is_preorder_only ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_preorder_only @is_preorder_only end |
#is_price_hidden ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_price_hidden @is_price_hidden end |
#is_visible ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def is_visible @is_visible end |
#layout_file ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def layout_file @layout_file end |
#meta_description ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @meta_description end |
#meta_keywords ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @meta_keywords end |
#myob_asset_account ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def myob_asset_account @myob_asset_account end |
#myob_expense_account ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def myob_expense_account @myob_expense_account end |
#myob_income_account ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def myob_income_account @myob_income_account end |
#name ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def name @name end |
#open_graph_description ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def open_graph_description @open_graph_description end |
#open_graph_title ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def open_graph_title @open_graph_title end |
#open_graph_type ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def open_graph_type @open_graph_type end |
#option_set_display ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def option_set_display @option_set_display end |
#option_set_id ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def option_set_id @option_set_id end |
#option_set_resource ⇒ Object
has_one
85 86 87 |
# File 'lib/bigcommerce_api/product.rb', line 85 def option_set_resource @option_set_resource end |
#options_hash ⇒ Object
has_many
79 80 81 |
# File 'lib/bigcommerce_api/product.rb', line 79 def @options_hash end |
#order_quantity_maximum ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def order_quantity_maximum @order_quantity_maximum end |
#order_quantity_minimum ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def order_quantity_minimum @order_quantity_minimum end |
#page_title ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def page_title @page_title end |
#peachtree_gl_account ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def peachtree_gl_account @peachtree_gl_account end |
#preorder_message ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @preorder_message end |
#preorder_release_date ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def preorder_release_date @preorder_release_date end |
#price ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def price @price end |
#price_hidden_label ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def price_hidden_label @price_hidden_label end |
#product_type ⇒ Object
reserved
89 90 91 |
# File 'lib/bigcommerce_api/product.rb', line 89 def product_type @product_type end |
#rating_count ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @rating_count end |
#rating_total ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @rating_total end |
#related_products ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def @related_products end |
#retail_price ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def retail_price @retail_price end |
#rules_hash ⇒ Object
has_many
79 80 81 |
# File 'lib/bigcommerce_api/product.rb', line 79 def rules_hash @rules_hash end |
#sale_price ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def sale_price @sale_price end |
#search_keywords ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def search_keywords @search_keywords end |
#sku ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def sku @sku end |
#skus_hash ⇒ Object
has_many
79 80 81 |
# File 'lib/bigcommerce_api/product.rb', line 79 def skus_hash @skus_hash end |
#sort_order ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def sort_order @sort_order end |
#tax_class_id ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def tax_class_id @tax_class_id end |
#total_sold ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def total_sold @total_sold end |
#type ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def type @type end |
#upc ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def upc @upc end |
#videos ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def videos @videos end |
#view_count ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def view_count @view_count end |
#warranty ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def warranty @warranty end |
#weight ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def weight @weight end |
#width ⇒ Object
incoming attributes
6 7 8 |
# File 'lib/bigcommerce_api/product.rb', line 6 def width @width end |