Class: FindSubscriptions::Transaction

Inherits:
Struct
  • Object
show all
Defined in:
lib/find_subscriptions/transaction.rb

Overview

A single parsed transaction: date, payee, signed amount (positive = outgoing), and raw row.

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



8
9
10
# File 'lib/find_subscriptions/transaction.rb', line 8

def amount
  @amount
end

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



8
9
10
# File 'lib/find_subscriptions/transaction.rb', line 8

def date
  @date
end

#payeeObject

Returns the value of attribute payee

Returns:

  • (Object)

    the current value of payee



8
9
10
# File 'lib/find_subscriptions/transaction.rb', line 8

def payee
  @payee
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



8
9
10
# File 'lib/find_subscriptions/transaction.rb', line 8

def raw
  @raw
end