Class: RVGP::Pta::RegisterTransaction

Inherits:
Base::Reader show all
Defined in:
lib/rvgp/pta.rb

Overview

This class stores the Transaction details, as produced by the register method of a pta adapter

Instance Attribute Summary collapse

Attributes inherited from Base::Reader

#options

Method Summary

Methods inherited from Base::Reader

readers

Instance Attribute Details

#dateDate (readonly)

The date this transaction occurred

Returns:

  • (Date)

    the current value of date



48
49
50
# File 'lib/rvgp/pta.rb', line 48

def date
  @date
end

#payeeString (readonly)

The payee (aka description) line of this transaction

Returns:

  • (String)

    the current value of payee



48
49
50
# File 'lib/rvgp/pta.rb', line 48

def payee
  @payee
end

#postingsArray<RVGP::Pta::RegisterTransaction> (readonly)

The postings in this transaction

Returns:



48
49
50
# File 'lib/rvgp/pta.rb', line 48

def postings
  @postings
end