Class: Increase::Models::InboundCheckDeposit::DepositReturn

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/inbound_check_deposit.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 you requested a return of this deposit, this will contain details of the return.

Parameters:

  • reason (Symbol, Increase::Models::InboundCheckDeposit::DepositReturn::Reason) (defaults to: )

    The reason the deposit was returned.

  • returned_at (Time) (defaults to: )

    The time at which the deposit was returned.

  • transaction_id (String) (defaults to: )

    The id of the transaction for the returned deposit.



# File 'lib/increase/models/inbound_check_deposit.rb', line 281

Instance Attribute Details

#reasonSymbol, Increase::Models::InboundCheckDeposit::DepositReturn::Reason

The reason the deposit was returned.



267
# File 'lib/increase/models/inbound_check_deposit.rb', line 267

required :reason, enum: -> { Increase::InboundCheckDeposit::DepositReturn::Reason }

#returned_atTime

The time at which the deposit was returned.

Returns:

  • (Time)


273
# File 'lib/increase/models/inbound_check_deposit.rb', line 273

required :returned_at, Time

#transaction_idString

The id of the transaction for the returned deposit.

Returns:

  • (String)


279
# File 'lib/increase/models/inbound_check_deposit.rb', line 279

required :transaction_id, String