Class: Increase::Models::Transaction::Source::InternalSource
- Defined in:
- lib/increase/models/transaction.rb
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The amount in the minor unit of the transaction's currency.
-
#currency ⇒ Symbol
The ISO 4217 code for the transaction currency.
-
#reason ⇒ Symbol
An Internal Source is a transaction between you and Increase.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#amount ⇒ Integer
The amount in the minor unit of the transaction's currency. For dollars, for example, this is cents.
2103 |
# File 'lib/increase/models/transaction.rb', line 2103 required :amount, Integer |
#currency ⇒ Symbol
The ISO 4217 code for the transaction currency.
2108 |
# File 'lib/increase/models/transaction.rb', line 2108 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#reason ⇒ Symbol
An Internal Source is a transaction between you and Increase. This describes the reason for the transaction.
2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 |
# File 'lib/increase/models/transaction.rb', line 2113 required :reason, Increase::Enum.new( :account_closure, :bank_drawn_check, :bank_drawn_check_credit, :bank_migration, :check_adjustment, :collection_payment, :collection_receivable, :empyreal_adjustment, :error, :error_correction, :fees, :interest, :negative_balance_forgiveness, :sample_funds, :sample_funds_return ) |