Class: Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb

Overview

See Also:

Defined Under Namespace

Modules: ChallengeMethodType

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(challenge_method_type:, expiry_time:, start_time:, app_requestor_url: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge for more details.

Represents a challenge object for 3DS authentication

Parameters:

  • challenge_method_type (Symbol, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::ChallengeMethodType)

    The type of challenge method issued to the cardholder

  • expiry_time (Time)

    ISO-8601 time at which the challenge expires

  • start_time (Time)

    ISO-8601 time at which the challenge has started

  • app_requestor_url (String, nil) (defaults to: nil)

    Fully qualified app URL of the merchant app. This should be used to redirect the



# File 'lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb', line 60


Instance Attribute Details

#app_requestor_urlString?

Fully qualified app URL of the merchant app. This should be used to redirect the cardholder back to the merchant app after completing an app-based challenge. This URL will only be populated if the 3DS Requestor App is provided to the 3DS SDK.

Returns:

  • (String, nil)


58
# File 'lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb', line 58

optional :app_requestor_url, String, nil?: true

#challenge_method_typeSymbol, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::ChallengeMethodType

The type of challenge method issued to the cardholder



36
37
# File 'lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb', line 36

required :challenge_method_type,
enum: -> { Lithic::ThreeDSAuthenticationChallengeWebhookEvent::Challenge::ChallengeMethodType }

#expiry_timeTime

ISO-8601 time at which the challenge expires

Returns:

  • (Time)


43
# File 'lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb', line 43

required :expiry_time, Time

#start_timeTime

ISO-8601 time at which the challenge has started

Returns:

  • (Time)


49
# File 'lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb', line 49

required :start_time, Time