Class: Increase::Models::Transaction::Source::InterestPayment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/transaction.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#accrued_on_account_idString

The account on which the interest was accrued.

Returns:

  • (String)


2076
# File 'lib/increase/models/transaction.rb', line 2076

required :accrued_on_account_id, String

#amountInteger

The amount in the minor unit of the transaction's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


2081
# File 'lib/increase/models/transaction.rb', line 2081

required :amount, Integer

#currencySymbol

The ISO 4217 code for the transaction currency.

Returns:

  • (Symbol)


2086
# File 'lib/increase/models/transaction.rb', line 2086

required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD)

#period_endString

The end of the period for which this transaction paid interest.

Returns:

  • (String)


2091
# File 'lib/increase/models/transaction.rb', line 2091

required :period_end, String

#period_startString

The start of the period for which this transaction paid interest.

Returns:

  • (String)


2096
# File 'lib/increase/models/transaction.rb', line 2096

required :period_start, String