Class: SaltParser::Qif::Transaction
Constant Summary collapse
- SUPPORTED_FIELDS =
{ "D" => :date , # Date "T" => :amount , # Amount "C" => :status , # Cleared status "N" => :number , # Num (check or reference number) "P" => :payee , # Payee "M" => :memo , # Memo "L" => :category # Category (Category/Subcategory/Transfer/Class) }
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SaltParser::Base
Instance Method Details
#to_hash ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/qif/transaction.rb', line 15 def to_hash { :date => date, :amount => amount, :status => status, :number => number, :payee => payee, :memo => memo, :category => category } end |