Class: Gentle::LineItem
- Inherits:
-
Struct
- Object
- Struct
- Gentle::LineItem
- Defined in:
- lib/gentle/phase_1_set.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#price ⇒ Object
Returns the value of attribute price.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sku ⇒ Object
Returns the value of attribute sku.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
51 52 53 |
# File 'lib/gentle/phase_1_set.rb', line 51 def id @id end |
#price ⇒ Object
Returns the value of attribute price
51 52 53 |
# File 'lib/gentle/phase_1_set.rb', line 51 def price @price end |
#quantity ⇒ Object
Returns the value of attribute quantity
51 52 53 |
# File 'lib/gentle/phase_1_set.rb', line 51 def quantity @quantity end |
#sku ⇒ Object
Returns the value of attribute sku
51 52 53 |
# File 'lib/gentle/phase_1_set.rb', line 51 def sku @sku end |