Class: Increase::Models::ACHTransfer::Submission

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/ach_transfer.rb

Overview

See Also:

Defined Under Namespace

Modules: ExpectedSettlementSchedule

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(effective_date: , expected_funds_settlement_at: , expected_settlement_schedule: , submitted_at: , trace_number: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::ACHTransfer::Submission for more details.

After the transfer is submitted to FedACH, this will contain supplemental details. Increase batches transfers and submits a file to the Federal Reserve roughly every 30 minutes. The Federal Reserve processes ACH transfers during weekdays according to their [posted schedule](www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).

Parameters:

  • effective_date (Date) (defaults to: )

    The ACH transfer’s effective date as sent to the Federal Reserve. If a specific

  • expected_funds_settlement_at (Time) (defaults to: )

    When the transfer is expected to settle in the recipient’s account. Credits may

  • expected_settlement_schedule (Symbol, Increase::Models::ACHTransfer::Submission::ExpectedSettlementSchedule) (defaults to: )

    The settlement schedule the transfer is expected to follow. This expectation tak

  • submitted_at (Time) (defaults to: )

    When the ACH transfer was sent to FedACH.

  • trace_number (String) (defaults to: )

    A 15 digit number recorded in the Nacha file and transmitted to the receiving ba



# File 'lib/increase/models/ach_transfer.rb', line 1428

Instance Attribute Details

#effective_dateDate

The ACH transfer’s effective date as sent to the Federal Reserve. If a specific date was configured using ‘preferred_effective_date`, this will match that value. Otherwise, it will be the date selected (following the specified settlement schedule) at the time the transfer was submitted.

Returns:

  • (Date)


1392
# File 'lib/increase/models/ach_transfer.rb', line 1392

required :effective_date, Date

#expected_funds_settlement_atTime

When the transfer is expected to settle in the recipient’s account. Credits may be available sooner, at the receiving banks discretion. The FedACH schedule is published [here](www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).

Returns:

  • (Time)


1401
# File 'lib/increase/models/ach_transfer.rb', line 1401

required :expected_funds_settlement_at, Time

#expected_settlement_scheduleSymbol, Increase::Models::ACHTransfer::Submission::ExpectedSettlementSchedule

The settlement schedule the transfer is expected to follow. This expectation takes into account the ‘effective_date`, `submitted_at`, and the amount of the transfer.



1409
1410
# File 'lib/increase/models/ach_transfer.rb', line 1409

required :expected_settlement_schedule,
enum: -> { Increase::ACHTransfer::Submission::ExpectedSettlementSchedule }

#submitted_atTime

When the ACH transfer was sent to FedACH.

Returns:

  • (Time)


1416
# File 'lib/increase/models/ach_transfer.rb', line 1416

required :submitted_at, Time

#trace_numberString

A 15 digit number recorded in the Nacha file and transmitted to the receiving bank. Along with the amount, date, and originating routing number, this can be used to identify the ACH transfer at the receiving bank. ACH trace numbers are not unique, but are [used to correlate returns](increase.com/documentation/ach-returns#ach-returns).

Returns:

  • (String)


1426
# File 'lib/increase/models/ach_transfer.rb', line 1426

required :trace_number, String