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