Class: Increase::Models::CheckDeposit::DepositReturn

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/check_deposit.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)


171
# File 'lib/increase/models/check_deposit.rb', line 171

required :amount, Integer

#check_deposit_idString

The identifier of the Check Deposit that was returned.

Returns:

  • (String)


176
# File 'lib/increase/models/check_deposit.rb', line 176

required :check_deposit_id, String

#currencySymbol

The ISO 4217 code for the transaction's currency.

Returns:

  • (Symbol)


181
# File 'lib/increase/models/check_deposit.rb', line 181

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

#return_reasonSymbol

Why this check was returned by the bank holding the account it was drawn against.

Returns:

  • (Symbol)


186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'lib/increase/models/check_deposit.rb', line 186

required :return_reason,
Increase::Enum.new(
  :ach_conversion_not_supported,
  :closed_account,
  :duplicate_submission,
  :insufficient_funds,
  :no_account,
  :not_authorized,
  :stale_dated,
  :stop_payment,
  :unknown_reason,
  :unmatched_details,
  :unreadable_image,
  :endorsement_irregular,
  :altered_or_fictitious_item,
  :frozen_or_blocked_account,
  :post_dated,
  :endorsement_missing,
  :signature_missing,
  :stop_payment_suspect,
  :unusable_image,
  :image_fails_security_check,
  :cannot_determine_amount,
  :signature_irregular,
  :non_cash_item,
  :unable_to_process,
  :item_exceeds_dollar_limit,
  :branch_or_account_sold
)

#returned_atString

The ISO 8601 date and time at which the check deposit was returned.

Returns:

  • (String)


219
# File 'lib/increase/models/check_deposit.rb', line 219

required :returned_at, String

#transaction_idString

The identifier of the transaction that reversed the original check deposit transaction.

Returns:

  • (String)


224
# File 'lib/increase/models/check_deposit.rb', line 224

required :transaction_id, String