Class: Gentle::LineItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/gentle/phase_1_set.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



51
52
53
# File 'lib/gentle/phase_1_set.rb', line 51

def id
  @id
end

#priceObject

Returns the value of attribute price

Returns:

  • (Object)

    the current value of price



51
52
53
# File 'lib/gentle/phase_1_set.rb', line 51

def price
  @price
end

#quantityObject

Returns the value of attribute quantity

Returns:

  • (Object)

    the current value of quantity



51
52
53
# File 'lib/gentle/phase_1_set.rb', line 51

def quantity
  @quantity
end

#skuObject

Returns the value of attribute sku

Returns:

  • (Object)

    the current value of sku



51
52
53
# File 'lib/gentle/phase_1_set.rb', line 51

def sku
  @sku
end