Class: MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/entity.rb

Overview

See Also:

Defined Under Namespace

Modules: LatestVerificationSession

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(latest_verification_session: nil, matched: nil, methods_: nil, verified: nil) ⇒ Object

Some parameter documentations has been truncated, see MethodRuby::Models::Entity::EntityIndividualResource::Verification::Identity for more details.

Parameters:



# File 'lib/method_ruby/models/entity.rb', line 16134

Instance Attribute Details

#latest_verification_sessionString, ...

ID of the latest identity verification session. Expandable via ‘identity_latest_verification_session`.



16110
16111
16112
16113
16114
# File 'lib/method_ruby/models/entity.rb', line 16110

optional :latest_verification_session,
union: -> {
  MethodRuby::Entity::EntityIndividualResource::Verification::Identity::LatestVerificationSession
},
nil?: true

#matchedBoolean?

Whether the identity information matched.

Returns:

  • (Boolean, nil)


16120
# File 'lib/method_ruby/models/entity.rb', line 16120

optional :matched, MethodRuby::Internal::Type::Boolean

#methods_Array<String>?

Available identity verification methods.

Returns:

  • (Array<String>, nil)


16126
# File 'lib/method_ruby/models/entity.rb', line 16126

optional :methods_, MethodRuby::Internal::Type::ArrayOf[String], api_name: :methods

#verifiedBoolean?

Whether the identity has been verified.

Returns:

  • (Boolean, nil)


16132
# File 'lib/method_ruby/models/entity.rb', line 16132

optional :verified, MethodRuby::Internal::Type::Boolean