Class: SpreeCmCommissioner::Inventory

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model
Defined in:
app/models/spree_cm_commissioner/inventory.rb

Instance Attribute Summary collapse

Instance Attribute Details

#inventory_dateObject

Returns the value of attribute inventory_date.



5
6
7
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5

def inventory_date
  @inventory_date
end

#max_capacityObject

Returns the value of attribute max_capacity.



5
6
7
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5

def max_capacity
  @max_capacity
end

#product_typeObject

Returns the value of attribute product_type.



5
6
7
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5

def product_type
  @product_type
end

#quantity_availableObject

Returns the value of attribute quantity_available.



5
6
7
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5

def quantity_available
  @quantity_available
end

#variant_idObject

Returns the value of attribute variant_id.



5
6
7
# File 'app/models/spree_cm_commissioner/inventory.rb', line 5

def variant_id
  @variant_id
end