Class: Comptaline::AccountingEntry::Clearance

Inherits:
GeneralOperation show all
Defined in:
lib/comptaline/accounting_entry/clearance.rb

Instance Attribute Summary

Attributes inherited from GeneralOperation

#accounting_journal, #accounting_writing_number, #amount, #communication, #currency_code, #date, #index, #match_id, #reference

Instance Method Summary collapse

Methods inherited from Base

#format_date

Instance Method Details

#to_aObject



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/comptaline/accounting_entry/clearance.rb', line 4

def to_a
  [
    action,                                    
    operation_type,                                      
    @reference,                                   
    @amount,                
    format_date(@date),
    @communication,                                  
    @currency_code,                           
    @accounting_journal,                                      
    @match_id,                                               
    @accounting_writing_number,                                           
    @index                                                 
  ]
end