Class: Increase::Models::ACHPrenotification::NotificationsOfChange

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

Defined Under Namespace

Modules: ChangeCode

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, 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(change_code: , corrected_data: , created_at: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::ACHPrenotification::NotificationsOfChange for more details.

Parameters:



# File 'lib/increase/models/ach_prenotification.rb', line 226

Instance Attribute Details

#change_codeSymbol, Increase::Models::ACHPrenotification::NotificationsOfChange::ChangeCode

The required type of change that is being signaled by the receiving financial institution.



207
# File 'lib/increase/models/ach_prenotification.rb', line 207

required :change_code, enum: -> { Increase::ACHPrenotification::NotificationsOfChange::ChangeCode }

#corrected_dataString

The corrected data that should be used in future ACHs to this account. This may contain the suggested new account number or routing number. When the ‘change_code` is `incorrect_transaction_code`, this field contains an integer. Numbers starting with a 2 encourage changing the `funding` parameter to checking; numbers starting with a 3 encourage changing to savings.

Returns:

  • (String)


217
# File 'lib/increase/models/ach_prenotification.rb', line 217

required :corrected_data, String

#created_atTime

The [ISO 8601](en.wikipedia.org/wiki/ISO_8601) date and time at which the notification occurred.

Returns:

  • (Time)


224
# File 'lib/increase/models/ach_prenotification.rb', line 224

required :created_at, Time