Class: Xsys::Model::GroupedSaleItem
- Inherits:
-
Object
- Object
- Xsys::Model::GroupedSaleItem
- Defined in:
- lib/xsys/model/grouped_sale_item.rb
Instance Attribute Summary collapse
-
#amount_total ⇒ Object
Returns the value of attribute amount_total.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#seller_id ⇒ Object
Returns the value of attribute seller_id.
-
#shop_code ⇒ Object
Returns the value of attribute shop_code.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ GroupedSaleItem
constructor
A new instance of GroupedSaleItem.
Constructor Details
#initialize(attributes = {}) ⇒ GroupedSaleItem
Returns a new instance of GroupedSaleItem.
6 7 8 9 10 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 6 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) end end |
Instance Attribute Details
#amount_total ⇒ Object
Returns the value of attribute amount_total.
4 5 6 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 4 def amount_total @amount_total end |
#product_id ⇒ Object
Returns the value of attribute product_id.
4 5 6 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 4 def product_id @product_id end |
#quantity ⇒ Object
Returns the value of attribute quantity.
4 5 6 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 4 def quantity @quantity end |
#seller_id ⇒ Object
Returns the value of attribute seller_id.
4 5 6 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 4 def seller_id @seller_id end |
#shop_code ⇒ Object
Returns the value of attribute shop_code.
4 5 6 |
# File 'lib/xsys/model/grouped_sale_item.rb', line 4 def shop_code @shop_code end |