Class: Privy::Models::KrakenEmbedCustomOrderExecutedWebhookPayload
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KrakenEmbedCustomOrderExecutedWebhookPayload
- Defined in:
- lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#custom_order_id ⇒ String
The ID of the executed custom order.
-
#executed_at ⇒ String
ISO 8601 timestamp of when the custom order was executed.
-
#type ⇒ Symbol, Privy::Models::KrakenEmbedCustomOrderExecutedWebhookPayload::Type
The type of webhook event.
-
#user_id ⇒ String
The ID of the user.
Instance Method Summary collapse
-
#initialize(custom_order_id:, executed_at:, type:, user_id:) ⇒ Object
constructor
Payload for the kraken_embed.custom_order.executed webhook event.
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(custom_order_id:, executed_at:, type:, user_id:) ⇒ Object
Payload for the kraken_embed.custom_order.executed webhook event.
|
|
# File 'lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb', line 30
|
Instance Attribute Details
#custom_order_id ⇒ String
The ID of the executed custom order.
10 |
# File 'lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb', line 10 required :custom_order_id, String |
#executed_at ⇒ String
ISO 8601 timestamp of when the custom order was executed.
16 |
# File 'lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb', line 16 required :executed_at, String |
#type ⇒ Symbol, Privy::Models::KrakenEmbedCustomOrderExecutedWebhookPayload::Type
The type of webhook event.
22 |
# File 'lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb', line 22 required :type, enum: -> { Privy::KrakenEmbedCustomOrderExecutedWebhookPayload::Type } |
#user_id ⇒ String
The ID of the user.
28 |
# File 'lib/privy/models/kraken_embed_custom_order_executed_webhook_payload.rb', line 28 required :user_id, String |