Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/accounts/consent_withdraw_response.rb,
sig/method_ruby/models/accounts/consent_withdraw_response.rbs

Overview

See Also:

  • MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff#error

Defined Under Namespace

Modules: Code, SubType, 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(code:, message:, sub_type:, type:) ⇒ Object

Error details when a payoff sync fails.

Parameters:



# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2373

Instance Attribute Details

#code ⇒ Integer, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::Code

Numeric error code (18XXX range).

Parameters:

  • value (MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::code)

Returns:



2350
2351
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2350

required :code,
enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::Code }

#message ⇒ String

Human-readable error description.

Parameters:

  • value (String)

Returns:

  • (String)


2357
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2357

required :message, String

#sub_type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::SubType

Specific payoff error classification.

Parameters:

  • value (MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::sub_type)

Returns:



2363
2364
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2363

required :sub_type,
enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::SubType }

#type ⇒ Symbol, MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::Type

The category of payoff error.

Parameters:

  • value (MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::type_)

Returns:



2370
2371
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2370

required :type,
enum: -> { MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::Payoff::AccountPayoff::Error::Type }

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2392

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


1883
# File 'sig/method_ruby/models/accounts/consent_withdraw_response.rbs', line 1883

def to_hash: -> {