Class: Increase::Models::RealTimePaymentsTransfer::Rejection

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/real_time_payments_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::RealTimePaymentsTransfer::Rejection for more details.

If the transfer is rejected by Real-Time Payments or the destination financial institution, this will contain supplemental details.

Parameters:



# File 'lib/increase/models/real_time_payments_transfer.rb', line 441


Instance Attribute Details

#reject_reason_additional_informationString?

Additional information about the rejection provided by the recipient bank when the ‘reject_reason_code` is `NARRATIVE`.

Returns:

  • (String, nil)


425
# File 'lib/increase/models/real_time_payments_transfer.rb', line 425

required :reject_reason_additional_information, String, nil?: true

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

The reason the transfer was rejected as provided by the recipient bank or the Real-Time Payments network.



432
# File 'lib/increase/models/real_time_payments_transfer.rb', line 432

required :reject_reason_code, enum: -> { Increase::RealTimePaymentsTransfer::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)


439
# File 'lib/increase/models/real_time_payments_transfer.rb', line 439

required :rejected_at, Time, nil?: true