Class: Increase::Models::FednowTransfer::Rejection

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

Overview

See Also:

Defined Under Namespace

Modules: RejectReasonCode

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(reject_reason_additional_information: , reject_reason_code: , rejected_at: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::FednowTransfer::Rejection for more details.

If the transfer is rejected by FedNow or the destination financial institution, this will contain supplemental details.

Parameters:

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

    Additional information about the rejection provided by the recipient bank.

  • reject_reason_code (Symbol, Increase::Models::FednowTransfer::Rejection::RejectReasonCode) (defaults to: )

    The reason the transfer was rejected as provided by the recipient bank or the Fe

  • rejected_at (Time, nil) (defaults to: )

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



# File 'lib/increase/models/fednow_transfer.rb', line 353

Instance Attribute Details

#reject_reason_additional_informationString?

Additional information about the rejection provided by the recipient bank.

Returns:

  • (String, nil)


337
# File 'lib/increase/models/fednow_transfer.rb', line 337

required :reject_reason_additional_information, String, nil?: true

#reject_reason_codeSymbol, Increase::Models::FednowTransfer::Rejection::RejectReasonCode

The reason the transfer was rejected as provided by the recipient bank or the FedNow network.



344
# File 'lib/increase/models/fednow_transfer.rb', line 344

required :reject_reason_code, enum: -> { Increase::FednowTransfer::Rejection::RejectReasonCode }

#rejected_atTime?

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

Returns:

  • (Time, nil)


351
# File 'lib/increase/models/fednow_transfer.rb', line 351

required :rejected_at, Time, nil?: true