Class: BigcommerceAPI::Rule

Inherits:
Resource show all
Defined in:
lib/bigcommerce_api/rule.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#errors

Method Summary

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

#conditionsObject

Returns the value of attribute conditions.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def conditions
  @conditions
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def id
  @id
end

#image_fileObject

Returns the value of attribute image_file.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def image_file
  @image_file
end

#is_enabledObject

Returns the value of attribute is_enabled.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def is_enabled
  @is_enabled
end

#is_purchasing_disabledObject

Returns the value of attribute is_purchasing_disabled.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def is_purchasing_disabled
  @is_purchasing_disabled
end

#is_purchasing_hiddenObject

Returns the value of attribute is_purchasing_hidden.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def is_purchasing_hidden
  @is_purchasing_hidden
end

#is_stopObject

Returns the value of attribute is_stop.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def is_stop
  @is_stop
end

#price_adjusterObject

Returns the value of attribute price_adjuster.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def price_adjuster
  @price_adjuster
end

#product_idObject

Returns the value of attribute product_id.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def product_id
  @product_id
end

#purchasing_disabled_messageObject

Returns the value of attribute purchasing_disabled_message.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def purchasing_disabled_message
  @purchasing_disabled_message
end

#sort_orderObject

Returns the value of attribute sort_order.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def sort_order
  @sort_order
end

#weight_adjusterObject

Returns the value of attribute weight_adjuster.



3
4
5
# File 'lib/bigcommerce_api/rule.rb', line 3

def weight_adjuster
  @weight_adjuster
end