Class: Increase::Models::InboundACHTransfer

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

Overview

Defined Under Namespace

Modules: Direction, StandardEntryClassCode, Status, Type Classes: Acceptance, Addenda, Decline, InternationalAddenda, NotificationOfChange, Settlement, TransferReturn

Instance Attribute Summary collapse

Class Method 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, meta_info, 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(updated_account_number: , updated_routing_number: ) ⇒ Object

If you initiate a notification of change in response to the transfer, this will contain its details.

Parameters:

  • updated_account_number (String, nil) (defaults to: )

    The new account number provided in the notification of change.

  • updated_routing_number (String, nil) (defaults to: )

    The new account number provided in the notification of change.



# File 'lib/increase/models/inbound_ach_transfer.rb', line 179


Instance Attribute Details

#acceptanceIncrease::Models::InboundACHTransfer::Acceptance?

If your transfer is accepted, this will contain details of the acceptance.



17
# File 'lib/increase/models/inbound_ach_transfer.rb', line 17

required :acceptance, -> { Increase::InboundACHTransfer::Acceptance }, nil?: true

#account_idString

The Account to which the transfer belongs.

Returns:

  • (String)


23
# File 'lib/increase/models/inbound_ach_transfer.rb', line 23

required :account_id, String

#account_number_idString

The identifier of the Account Number to which this transfer was sent.

Returns:

  • (String)


29
# File 'lib/increase/models/inbound_ach_transfer.rb', line 29

required :account_number_id, String

#addendaIncrease::Models::InboundACHTransfer::Addenda?

Additional information sent from the originator.



35
# File 'lib/increase/models/inbound_ach_transfer.rb', line 35

required :addenda, -> { Increase::InboundACHTransfer::Addenda }, nil?: true

#amountInteger

The transfer amount in USD cents.

Returns:

  • (Integer)


41
# File 'lib/increase/models/inbound_ach_transfer.rb', line 41

required :amount, Integer

#automatically_resolves_atTime

The time at which the transfer will be automatically resolved.

Returns:

  • (Time)


47
# File 'lib/increase/models/inbound_ach_transfer.rb', line 47

required :automatically_resolves_at, Time

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the inbound ACH transfer was created.

Returns:

  • (Time)


54
# File 'lib/increase/models/inbound_ach_transfer.rb', line 54

required :created_at, Time

#declineIncrease::Models::InboundACHTransfer::Decline?

If your transfer is declined, this will contain details of the decline.



60
# File 'lib/increase/models/inbound_ach_transfer.rb', line 60

required :decline, -> { Increase::InboundACHTransfer::Decline }, nil?: true

#directionSymbol, Increase::Models::InboundACHTransfer::Direction

The direction of the transfer.



66
# File 'lib/increase/models/inbound_ach_transfer.rb', line 66

required :direction, enum: -> { Increase::InboundACHTransfer::Direction }

#effective_dateDate

The effective date of the transfer. This is sent by the sending bank and is a factor in determining funds availability.

Returns:

  • (Date)


73
# File 'lib/increase/models/inbound_ach_transfer.rb', line 73

required :effective_date, Date

#idString

The inbound ACH transfer’s identifier.

Returns:

  • (String)


11
# File 'lib/increase/models/inbound_ach_transfer.rb', line 11

required :id, String

#international_addendaIncrease::Models::InboundACHTransfer::InternationalAddenda?

If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will contain fields pertaining to the International ACH Transaction.



80
# File 'lib/increase/models/inbound_ach_transfer.rb', line 80

required :international_addenda, -> { Increase::InboundACHTransfer::InternationalAddenda }, nil?: true

#notification_of_changeIncrease::Models::InboundACHTransfer::NotificationOfChange?

If you initiate a notification of change in response to the transfer, this will contain its details.



87
# File 'lib/increase/models/inbound_ach_transfer.rb', line 87

required :notification_of_change, -> { Increase::InboundACHTransfer::NotificationOfChange }, nil?: true

#originator_company_descriptive_dateString?

The descriptive date of the transfer.

Returns:

  • (String, nil)


93
# File 'lib/increase/models/inbound_ach_transfer.rb', line 93

required :originator_company_descriptive_date, String, nil?: true

#originator_company_discretionary_dataString?

The additional information included with the transfer.

Returns:

  • (String, nil)


99
# File 'lib/increase/models/inbound_ach_transfer.rb', line 99

required :originator_company_discretionary_data, String, nil?: true

#originator_company_entry_descriptionString

The description of the transfer.

Returns:

  • (String)


105
# File 'lib/increase/models/inbound_ach_transfer.rb', line 105

required :originator_company_entry_description, String

#originator_company_idString

The id of the company that initiated the transfer.

Returns:

  • (String)


111
# File 'lib/increase/models/inbound_ach_transfer.rb', line 111

required :originator_company_id, String

#originator_company_nameString

The name of the company that initiated the transfer.

Returns:

  • (String)


117
# File 'lib/increase/models/inbound_ach_transfer.rb', line 117

required :originator_company_name, String

#originator_routing_numberString

The American Banking Association (ABA) routing number of the bank originating the transfer.

Returns:

  • (String)


124
# File 'lib/increase/models/inbound_ach_transfer.rb', line 124

required :originator_routing_number, String

#receiver_id_numberString?

The id of the receiver of the transfer.

Returns:

  • (String, nil)


130
# File 'lib/increase/models/inbound_ach_transfer.rb', line 130

required :receiver_id_number, String, nil?: true

#receiver_nameString?

The name of the receiver of the transfer.

Returns:

  • (String, nil)


136
# File 'lib/increase/models/inbound_ach_transfer.rb', line 136

required :receiver_name, String, nil?: true

#settlementIncrease::Models::InboundACHTransfer::Settlement

A subhash containing information about when and how the transfer settled at the Federal Reserve.



143
# File 'lib/increase/models/inbound_ach_transfer.rb', line 143

required :settlement, -> { Increase::InboundACHTransfer::Settlement }

#standard_entry_class_codeSymbol, Increase::Models::InboundACHTransfer::StandardEntryClassCode

The Standard Entry Class (SEC) code of the transfer.



149
# File 'lib/increase/models/inbound_ach_transfer.rb', line 149

required :standard_entry_class_code, enum: -> { Increase::InboundACHTransfer::StandardEntryClassCode }

#statusSymbol, Increase::Models::InboundACHTransfer::Status

The status of the transfer.



155
# File 'lib/increase/models/inbound_ach_transfer.rb', line 155

required :status, enum: -> { Increase::InboundACHTransfer::Status }

#trace_numberString

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

Returns:

  • (String)


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

required :trace_number, String

#transfer_returnIncrease::Models::InboundACHTransfer::TransferReturn?

If your transfer is returned, this will contain details of the return.



170
# File 'lib/increase/models/inbound_ach_transfer.rb', line 170

required :transfer_return, -> { Increase::InboundACHTransfer::TransferReturn }, nil?: true

#typeSymbol, Increase::Models::InboundACHTransfer::Type

A constant representing the object’s type. For this resource it will always be ‘inbound_ach_transfer`.



177
# File 'lib/increase/models/inbound_ach_transfer.rb', line 177

required :type, enum: -> { Increase::InboundACHTransfer::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/inbound_ach_transfer.rb', line 411