Class: Increase::Models::CheckDeposit::DepositRejection

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 rejected amount in the minor unit of check's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


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

required :amount, Integer

#check_deposit_idString

The identifier of the Check Deposit that was rejected.

Returns:

  • (String)


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

required :check_deposit_id, String

#currencySymbol

The ISO 4217 code for the check's currency.

Returns:

  • (Symbol)


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

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

#reasonSymbol

Why the check deposit was rejected.

Returns:

  • (Symbol)


147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'lib/increase/models/check_deposit.rb', line 147

required :reason,
Increase::Enum.new(
  :incomplete_image,
  :duplicate,
  :poor_image_quality,
  :incorrect_amount,
  :incorrect_recipient,
  :not_eligible_for_mobile_deposit,
  :missing_required_data_elements,
  :suspected_fraud,
  :deposit_window_expired,
  :unknown
)

#rejected_atString

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

Returns:

  • (String)


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

required :rejected_at, String