Class: Privy::Models::KrakenEmbedQuoteExecutionFailedWebhookPayload

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb

Defined Under Namespace

Modules: Type

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(failed_at:, quote_id:, reason:, type:, user_id:) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::KrakenEmbedQuoteExecutionFailedWebhookPayload for more details.

Payload for the kraken_embed.quote.execution_failed webhook event.

Parameters:

  • failed_at (String)

    ISO 8601 timestamp of when the quote execution failed.

  • quote_id (String)

    The ID of the quote that failed to execute.

  • reason (String)

    A human-readable description of why the quote execution failed. Intended for dis

  • type (Symbol, Privy::Models::KrakenEmbedQuoteExecutionFailedWebhookPayload::Type)

    The type of webhook event.

  • user_id (String)

    The ID of the user.



# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 37

Instance Attribute Details

#failed_atString

ISO 8601 timestamp of when the quote execution failed.

Returns:

  • (String)


10
# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 10

required :failed_at, String

#quote_idString

The ID of the quote that failed to execute.

Returns:

  • (String)


16
# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 16

required :quote_id, String

#reasonString

A human-readable description of why the quote execution failed. Intended for display and logging purposes only.

Returns:

  • (String)


23
# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 23

required :reason, String

#typeSymbol, Privy::Models::KrakenEmbedQuoteExecutionFailedWebhookPayload::Type

The type of webhook event.



29
# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 29

required :type, enum: -> { Privy::KrakenEmbedQuoteExecutionFailedWebhookPayload::Type }

#user_idString

The ID of the user.

Returns:

  • (String)


35
# File 'lib/privy/models/kraken_embed_quote_execution_failed_webhook_payload.rb', line 35

required :user_id, String