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

#line_itemObject

Returns the value of attribute line_item

Returns:

  • (Object)

    the current value of line_item



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

def line_item
  @line_item
end

#quantityObject

Returns the value of attribute quantity

Returns:

  • (Object)

    the current value of quantity



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

def quantity
  @quantity
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



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

def state
  @state
end

#variantObject

Returns the value of attribute variant

Returns:

  • (Object)

    the current value of variant



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

def variant
  @variant
end