Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error
- Defined in:
- lib/method_ruby/models/account_retrieve_response.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#code ⇒ Integer, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Code
Numeric error code (20XXX range).
-
#message ⇒ String
Human-readable error description.
-
#sub_type ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::SubType
Specific balance error classification.
-
#type ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Type
The category of balance error.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(code:, message:, sub_type:, type:) ⇒ Object
constructor
Error details when a balance sync fails.
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 balance sync fails.
|
|
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4170
|
Instance Attribute Details
#code ⇒ Integer, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Code
Numeric error code (20XXX range).
4147 4148 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4147 required :code, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Code } |
#message ⇒ String
Human-readable error description.
4154 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4154 required :message, String |
#sub_type ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::SubType
Specific balance error classification.
4160 4161 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4160 required :sub_type, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::SubType } |
#type ⇒ Symbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Type
The category of balance error.
4167 4168 |
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4167 required :type, enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Balance::AccountBalance::Error::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 4189
|