Class: MethodRuby::Models::Accounts::ConsentWithdrawResponse::Data::AccountACHResource::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:



2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
# File 'lib/method_ruby/models/accounts/consent_withdraw_response.rb', line 2514

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)


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

optional :name, String

#valueString?

Value of the field.

Returns:

  • (String, nil)


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

optional :value, String