Class: Comptaline::AccountingEntry::GeneralOperation
- Defined in:
- lib/comptaline/accounting_entry/general_operation.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#accounting_journal ⇒ Object
Returns the value of attribute accounting_journal.
-
#accounting_writing_number ⇒ Object
Returns the value of attribute accounting_writing_number.
-
#action ⇒ Object
Returns the value of attribute action.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#communication ⇒ Object
Returns the value of attribute communication.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#date ⇒ Object
Returns the value of attribute date.
-
#index ⇒ Object
Returns the value of attribute index.
-
#match_id ⇒ Object
Returns the value of attribute match_id.
-
#operation_type ⇒ Object
Returns the value of attribute operation_type.
-
#reference ⇒ Object
Returns the value of attribute reference.
Instance Method Summary collapse
Methods inherited from Base
Instance Attribute Details
#accounting_journal ⇒ Object
Returns the value of attribute accounting_journal.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def accounting_journal @accounting_journal end |
#accounting_writing_number ⇒ Object
Returns the value of attribute accounting_writing_number.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def accounting_writing_number @accounting_writing_number end |
#action ⇒ Object
Returns the value of attribute action.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def action @action end |
#amount ⇒ Object
Returns the value of attribute amount.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def amount @amount end |
#communication ⇒ Object
Returns the value of attribute communication.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def communication @communication end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def currency_code @currency_code end |
#date ⇒ Object
Returns the value of attribute date.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def date @date end |
#index ⇒ Object
Returns the value of attribute index.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def index @index end |
#match_id ⇒ Object
Returns the value of attribute match_id.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def match_id @match_id end |
#operation_type ⇒ Object
Returns the value of attribute operation_type.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def operation_type @operation_type end |
#reference ⇒ Object
Returns the value of attribute reference.
4 5 6 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 4 def reference @reference end |
Instance Method Details
#to_a ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/comptaline/accounting_entry/general_operation.rb', line 7 def to_a [ @action, @operation_type, @reference, @amount, format_date(@date), @communication, @currency_code, @accounting_journal, @match_id, @accounting_writing_number, @index ] end |