Class: Straddle::Models::Customers::IdentityVerificationWatchlist
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::Customers::IdentityVerificationWatchlist
- Defined in:
- lib/straddle/models/customers/identity_verification_watchlist.rb,
sig/straddle/models/customers/identity_verification_watchlist.rbs
Instance Attribute Summary collapse
-
#codes ⇒ Array<String>?
Result codes from Straddle watchlist screening.
- #decision ⇒ Symbol, ...
-
#matched ⇒ Array<String>?
Names of watchlists with matches.
-
#matches ⇒ Array<Straddle::Models::Customers::IdentityVerificationWatchlistMatch>?
Details for matches found during watchlist screening.
Instance Method Summary collapse
- #initialize(codes: nil, decision: nil, matched: nil, matches: nil) ⇒ Object constructor
- #to_hash ⇒ {
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
|
|
# File 'lib/straddle/models/customers/identity_verification_watchlist.rb', line 34
|
Instance Attribute Details
#codes ⇒ Array<String>?
Result codes from Straddle watchlist screening.
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.
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.
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 ⇒ {
32 |
# File 'sig/straddle/models/customers/identity_verification_watchlist.rbs', line 32 def to_hash: -> { |