Class: Increase::Models::Transaction::Source::CheckDepositReturn

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)


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

required :amount, Integer

#check_deposit_idString

The identifier of the Check Deposit that was returned.

Returns:

  • (String)


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

required :check_deposit_id, String

#currencySymbol

The ISO 4217 code for the transaction's currency.

Returns:

  • (Symbol)


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

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)


1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'lib/increase/models/transaction.rb', line 1570

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)


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

required :returned_at, String

#transaction_idString

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

Returns:

  • (String)


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

required :transaction_id, String