Class: Spree::Stock::Package::ContentItem

Inherits:
Struct
  • Object
show all
Defined in:
app/models/spree/stock/package.rb

Instance Attribute Summary collapse

Instance Attribute Details

#quantityObject

Returns the value of attribute quantity


4
5
6
# File 'app/models/spree/stock/package.rb', line 4

def quantity
  @quantity
end

#stateObject

Returns the value of attribute state


4
5
6
# File 'app/models/spree/stock/package.rb', line 4

def state
  @state
end

#variantObject

Returns the value of attribute variant


4
5
6
# File 'app/models/spree/stock/package.rb', line 4

def variant
  @variant
end