Class: MethodRuby::Models::AccountRetrieveResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Field

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

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:, created_at:, fields:, status:, type:, updated_at:, error: nil) ⇒ Object

Sensitive data for an account.

Parameters:



13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
# File 'lib/method_ruby/models/account_retrieve_response.rb', line 13262

class Field < MethodRuby::Internal::Type::BaseModel
  # @!attribute name
  #   Name of the field.
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute value
  #   Value of the field.
  #
  #   @return [String, nil]
  optional :value, String

  # @!method initialize(name: nil, value: nil)
  #   @param name [String] Name of the field.
  #
  #   @param value [String] Value of the field.
end

Instance Attribute Details

#nameString?

Name of the field.

Returns:

  • (String, nil)


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

optional :name, String

#valueString?

Value of the field.

Returns:

  • (String, nil)


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

optional :value, String