Class: Increase::Models::CardPushTransfer::Decline

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

Overview

See Also:

Defined Under Namespace

Modules: Reason

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(declined_at: , network_transaction_identifier: , reason: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::CardPushTransfer::Decline for more details.

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

Parameters:



# File 'lib/increase/models/card_push_transfer.rb', line 552


Instance Attribute Details

#declined_atTime

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

Returns:

  • (Time)


538
# File 'lib/increase/models/card_push_transfer.rb', line 538

required :declined_at, Time

#network_transaction_identifierString?

A unique identifier for the transaction on the card network.

Returns:

  • (String, nil)


544
# File 'lib/increase/models/card_push_transfer.rb', line 544

required :network_transaction_identifier, String, nil?: true

#reasonSymbol, Increase::Models::CardPushTransfer::Decline::Reason

The reason why the transfer was declined.



550
# File 'lib/increase/models/card_push_transfer.rb', line 550

required :reason, enum: -> { Increase::CardPushTransfer::Decline::Reason }