Class: Lithic::Models::AsaRequestWebhookEvent::LatestChallenge

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

Overview

See Also:

Defined Under Namespace

Modules: Status

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(phone_number:, status:, completed_at: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AsaRequestWebhookEvent::LatestChallenge for more details.

The latest Authorization Challenge that was issued to the cardholder for this merchant.

Parameters:

  • phone_number (String)

    The phone number used for sending Authorization Challenge SMS.

  • status (Symbol, Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::Status)

    The status of the Authorization Challenge

  • completed_at (Time) (defaults to: nil)

    The date and time when the Authorization Challenge was completed in UTC. Present



# File 'lib/lithic/models/asa_request_webhook_event.rb', line 590


Instance Attribute Details

#completed_atTime?

The date and time when the Authorization Challenge was completed in UTC. Present only if the status is ‘COMPLETED`.

Returns:

  • (Time, nil)


588
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 588

optional :completed_at, Time

#phone_numberString

The phone number used for sending Authorization Challenge SMS.

Returns:

  • (String)


570
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 570

required :phone_number, String

#statusSymbol, Lithic::Models::AsaRequestWebhookEvent::LatestChallenge::Status

The status of the Authorization Challenge

  • ‘COMPLETED` - Challenge was successfully completed by the cardholder

  • ‘PENDING` - Challenge is still open

  • ‘EXPIRED` - Challenge has expired without being completed

  • ‘ERROR` - There was an error processing the challenge



581
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 581

required :status, enum: -> { Lithic::AsaRequestWebhookEvent::LatestChallenge::Status }