Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountLiabilityResource::Attribute::AccountAttribute

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

Defined Under Namespace

Modules: Status

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(id:, account_id:, attributes:, created_at:, status:, updated_at:, error: nil) ⇒ Object

An attribute record for an account containing financial data attributes.

Parameters:



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

Instance Attribute Details

#account_idString

The account this attribute belongs to.

Returns:

  • (String)


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

required :account_id, String

#attributesHash{Symbol=>Object}

Financial data attributes for the account.

Returns:

  • (Hash{Symbol=>Object})


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

required :attributes, MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown]

#created_atTime

Timestamp when the attribute was created.

Returns:

  • (Time)


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

required :created_at, Time

#errorMethodRuby::Models::ResourceError?



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

optional :error, -> { MethodRuby::ResourceError }, nil?: true

#idString

Unique identifier for the account attribute.

Returns:

  • (String)


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

required :id, String

#updated_atTime

Timestamp when the attribute was last updated.

Returns:

  • (Time)


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

required :updated_at, Time