Class: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection

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


509
# File 'lib/increase/models/declined_transaction.rb', line 509

required :amount, Integer

#check_deposit_idString

The identifier of the Check Deposit that was rejected.

Returns:

  • (String)


514
# File 'lib/increase/models/declined_transaction.rb', line 514

required :check_deposit_id, String

#currencySymbol

The ISO 4217 code for the check's currency.

Returns:

  • (Symbol)


519
# File 'lib/increase/models/declined_transaction.rb', line 519

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

#reasonSymbol

Why the check deposit was rejected.

Returns:

  • (Symbol)


524
525
526
527
528
529
530
531
532
533
534
535
536
# File 'lib/increase/models/declined_transaction.rb', line 524

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)


541
# File 'lib/increase/models/declined_transaction.rb', line 541

required :rejected_at, String