Class: Increase::Models::Transaction::Source::InternalSource

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

#amountInteger

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

Returns:

  • (Integer)


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

required :amount, Integer

#currencySymbol

The ISO 4217 code for the transaction currency.

Returns:

  • (Symbol)


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

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

#reasonSymbol

An Internal Source is a transaction between you and Increase. This describes the reason for the transaction.

Returns:

  • (Symbol)


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
)