Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Error

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/account_retrieve_response.rb

Overview

See Also:

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 an account update fails.

Parameters:



# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10279

Instance Attribute Details

#messageString

Human-readable error description.

Returns:

  • (String)


10263
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10263

required :message, String

#sub_typeSymbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Error::SubType

Specific update error classification.



10269
10270
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10269

required :sub_type,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountClearingResource::Update::AccountUpdate::Error::SubType }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/account_retrieve_response.rb', line 10298