Class: Increase::Models::CheckDeposit::DepositRejection
- Defined in:
- lib/increase/models/check_deposit.rb
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The rejected amount in the minor unit of check's currency.
-
#check_deposit_id ⇒ String
The identifier of the Check Deposit that was rejected.
-
#currency ⇒ Symbol
The ISO 4217 code for the check's currency.
-
#reason ⇒ Symbol
Why the check deposit was rejected.
-
#rejected_at ⇒ String
The ISO 8601 date and time at which the check deposit was rejected.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#amount ⇒ Integer
The rejected amount in the minor unit of check's currency. For dollars, for example, this is cents.
132 |
# File 'lib/increase/models/check_deposit.rb', line 132 required :amount, Integer |
#check_deposit_id ⇒ String
The identifier of the Check Deposit that was rejected.
137 |
# File 'lib/increase/models/check_deposit.rb', line 137 required :check_deposit_id, String |
#currency ⇒ Symbol
The ISO 4217 code for the check's currency.
142 |
# File 'lib/increase/models/check_deposit.rb', line 142 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#reason ⇒ Symbol
Why the check deposit was rejected.
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_at ⇒ String
The ISO 8601 date and time at which the check deposit was rejected.
164 |
# File 'lib/increase/models/check_deposit.rb', line 164 required :rejected_at, String |