Class: MethodRuby::Models::Entities::VerificationSessionCreateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/method_ruby/models/entities/verification_session_create_params.rb

Overview

Defined Under Namespace

Modules: Method, MethodVersion, Type Classes: ByoSMS

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(entity_id:, method_:, type:, method_version:, byo_kyc: nil, byo_sms: nil, kba: nil, sms: nil, sna: nil, idempotency_key: nil, request_options: {}) ⇒ Object

Parameters:



# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 71

Instance Attribute Details

#byo_kycObject?

BYO KYC-specific options. Required when method is byo_kyc.

Returns:

  • (Object, nil)


40
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 40

optional :byo_kyc, MethodRuby::Internal::Type::Unknown

#byo_smsMethodRuby::Models::Entities::VerificationSessionCreateParams::ByoSMS?

BYO SMS-specific options. Required when method is byo_sms.



46
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 46

optional :byo_sms, -> { MethodRuby::Entities::VerificationSessionCreateParams::ByoSMS }

#entity_idString

Returns:

  • (String)


14
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 14

required :entity_id, String

#idempotency_keyString?

Returns:

  • (String, nil)


69
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 69

optional :idempotency_key, String

#kbaObject?

KBA-specific options. Required when method is kba.

Returns:

  • (Object, nil)


52
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 52

optional :kba, MethodRuby::Internal::Type::Unknown

#method_Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Method

The verification method to use.



20
21
22
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 20

required :method_,
enum: -> { MethodRuby::Entities::VerificationSessionCreateParams::Method },
api_name: :method

#method_versionSymbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::MethodVersion



33
34
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 33

required :method_version,
enum: -> { MethodRuby::Entities::VerificationSessionCreateParams::MethodVersion }

#smsObject?

SMS-specific options. Required when method is sms.

Returns:

  • (Object, nil)


58
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 58

optional :sms, MethodRuby::Internal::Type::Unknown

#snaObject?

SNA-specific options. Required when method is sna.

Returns:

  • (Object, nil)


64
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 64

optional :sna, MethodRuby::Internal::Type::Unknown

#typeSymbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Type

The type of verification to perform.



28
# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 28

required :type, enum: -> { MethodRuby::Entities::VerificationSessionCreateParams::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/entities/verification_session_create_params.rb', line 106