Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountDebitCardResource::Sensitive::AccountSensitive::Field

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/method_ruby/models/accounts/consent_withdraw_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:



13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 13272

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)


13277
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 13277

optional :name, String

#valueString?

Value of the field.

Returns:

  • (String, nil)


13283
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 13283

optional :value, String