Class: Straddle::Models::Customers::IdentityVerificationWatchlist

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/straddle/models/customers/identity_verification_watchlist.rb,
sig/straddle/models/customers/identity_verification_watchlist.rbs

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(codes: nil, decision: nil, matched: nil, matches: nil) ⇒ Object

Parameters:



# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 34


Instance Attribute Details

#codes ⇒ Array<String>?

Result codes from Straddle watchlist screening.

Parameters:

  • value (::Array[String], nil)

Returns:

  • (Array<String>, nil)


11
# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 11

optional :codes, Straddle::Internal::Type::ArrayOf[String], nil?: true

#decision ⇒ Symbol, ...



16
# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 16

optional :decision, enum: -> { Straddle::Customers::VerificationDecision }

#matched ⇒ Array<String>?

Names of watchlists with matches.

Parameters:

  • value (::Array[String], nil)

Returns:

  • (Array<String>, nil)


22
# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 22

optional :matched, Straddle::Internal::Type::ArrayOf[String], nil?: true

#matches ⇒ Array<Straddle::Models::Customers::IdentityVerificationWatchlistMatch>?

Details for matches found during watchlist screening.

Parameters:

  • value (::Array[Straddle::Customers::IdentityVerificationWatchlistMatch], nil)

Returns:



28
29
30
31
32
# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 28

optional :matches,
-> do
  Straddle::Internal::Type::ArrayOf[Straddle::Customers::IdentityVerificationWatchlistMatch]
end,
nil?: true

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


32
# File 'sig/straddle/models/customers/identity_verification_watchlist.rbs', line 32

def to_hash: -> {