Class: Increase::Models::InboundACHTransfer::TransferReturn

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/inbound_ach_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(reason: , returned_at: , transaction_id: ) ⇒ Object

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

Parameters:

  • reason (Symbol, Increase::Models::InboundACHTransfer::TransferReturn::Reason) (defaults to: )

    The reason for the transfer return.

  • returned_at (Time) (defaults to: )

    The time at which the transfer was returned.

  • transaction_id (String) (defaults to: )

    The id of the transaction for the returned transfer.



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


Instance Attribute Details

#reasonSymbol, Increase::Models::InboundACHTransfer::TransferReturn::Reason

The reason for the transfer return.



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

required :reason, enum: -> { Increase::InboundACHTransfer::TransferReturn::Reason }

#returned_atTime

The time at which the transfer was returned.

Returns:

  • (Time)


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

required :returned_at, Time

#transaction_idString

The id of the transaction for the returned transfer.

Returns:

  • (String)


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

required :transaction_id, String