Class: Increase::Models::DeclinedTransaction::Source::ACHDecline

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

Overview

See Also:

Defined Under Namespace

Modules: Reason, Type

Instance Attribute Summary collapse

Class Method 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(id: , amount: , inbound_ach_transfer_id: , originator_company_descriptive_date: , originator_company_discretionary_data: , originator_company_id: , originator_company_name: , reason: , receiver_id_number: , receiver_name: , trace_number: , type: ) ⇒ Object

Some parameter documentations has been truncated, see Increase::Models::DeclinedTransaction::Source::ACHDecline for more details.

An ACH Decline object. This field will be present in the JSON response if and only if ‘category` is equal to `ach_decline`.

Parameters:

  • id (String) (defaults to: )

    The ACH Decline’s identifier.

  • amount (Integer) (defaults to: )

    The declined amount in USD cents.

  • inbound_ach_transfer_id (String) (defaults to: )

    The identifier of the Inbound ACH Transfer object associated with this decline.

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

    The descriptive date of the transfer.

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

    The additional information included with the transfer.

  • originator_company_id (String) (defaults to: )

    The identifier of the company that initiated the transfer.

  • originator_company_name (String) (defaults to: )

    The name of the company that initiated the transfer.

  • reason (Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Reason) (defaults to: )

    Why the ACH transfer was declined.

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

    The id of the receiver of the transfer.

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

    The name of the receiver of the transfer.

  • trace_number (String) (defaults to: )

    The trace number of the transfer.

  • type (Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Type) (defaults to: )

    A constant representing the object’s type. For this resource it will always be ‘



# File 'lib/increase/models/declined_transaction.rb', line 315

Instance Attribute Details

#amountInteger

The declined amount in USD cents.

Returns:

  • (Integer)


252
# File 'lib/increase/models/declined_transaction.rb', line 252

required :amount, Integer

#idString

The ACH Decline’s identifier.

Returns:

  • (String)


246
# File 'lib/increase/models/declined_transaction.rb', line 246

required :id, String

#inbound_ach_transfer_idString

The identifier of the Inbound ACH Transfer object associated with this decline.

Returns:

  • (String)


258
# File 'lib/increase/models/declined_transaction.rb', line 258

required :inbound_ach_transfer_id, String

#originator_company_descriptive_dateString?

The descriptive date of the transfer.

Returns:

  • (String, nil)


264
# File 'lib/increase/models/declined_transaction.rb', line 264

required :originator_company_descriptive_date, String, nil?: true

#originator_company_discretionary_dataString?

The additional information included with the transfer.

Returns:

  • (String, nil)


270
# File 'lib/increase/models/declined_transaction.rb', line 270

required :originator_company_discretionary_data, String, nil?: true

#originator_company_idString

The identifier of the company that initiated the transfer.

Returns:

  • (String)


276
# File 'lib/increase/models/declined_transaction.rb', line 276

required :originator_company_id, String

#originator_company_nameString

The name of the company that initiated the transfer.

Returns:

  • (String)


282
# File 'lib/increase/models/declined_transaction.rb', line 282

required :originator_company_name, String

#reasonSymbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Reason

Why the ACH transfer was declined.



288
# File 'lib/increase/models/declined_transaction.rb', line 288

required :reason, enum: -> { Increase::DeclinedTransaction::Source::ACHDecline::Reason }

#receiver_id_numberString?

The id of the receiver of the transfer.

Returns:

  • (String, nil)


294
# File 'lib/increase/models/declined_transaction.rb', line 294

required :receiver_id_number, String, nil?: true

#receiver_nameString?

The name of the receiver of the transfer.

Returns:

  • (String, nil)


300
# File 'lib/increase/models/declined_transaction.rb', line 300

required :receiver_name, String, nil?: true

#trace_numberString

The trace number of the transfer.

Returns:

  • (String)


306
# File 'lib/increase/models/declined_transaction.rb', line 306

required :trace_number, String

#typeSymbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Type

A constant representing the object’s type. For this resource it will always be ‘ach_decline`.



313
# File 'lib/increase/models/declined_transaction.rb', line 313

required :type, enum: -> { Increase::DeclinedTransaction::Source::ACHDecline::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/increase/models/declined_transaction.rb', line 405