Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::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 422

Instance Attribute Details

#account_idString

The account this attribute belongs to.

Returns:

  • (String)


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

required :account_id, String

#attributesHash{Symbol=>Object}

Financial data attributes for the account.

Returns:

  • (Hash{Symbol=>Object})


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

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

#created_atTime

Timestamp when the attribute was created.

Returns:

  • (Time)


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

required :created_at, Time

#errorMethodRuby::Models::ResourceError?



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

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

#idString

Unique identifier for the account attribute.

Returns:

  • (String)


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

required :id, String

#statusSymbol, MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Attribute::AccountAttribute::Status

Current status of the attribute request.



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

required :status,
enum: -> { MethodRuby::Models::AccountRetrieveResponse::Data::AccountACHResource::Attribute::AccountAttribute::Status }

#updated_atTime

Timestamp when the attribute was last updated.

Returns:

  • (Time)


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

required :updated_at, Time