Class: Privy::Models::KrakenEmbedCancelCustomOrderResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Privy::Models::KrakenEmbedCancelCustomOrderResponse
- Defined in:
- lib/privy/models/kraken_embed_cancel_custom_order_response.rb,
sig/privy/models/kraken_embed_cancel_custom_order_response.rbs
Instance Attribute Summary collapse
- #error ⇒ Array<Object>?
- #errors ⇒ Array<Object>?
-
#result ⇒ Privy::Models::KrakenEmbedCancelCustomOrderResult?
Result payload for cancel custom order response.
Instance Method Summary collapse
-
#initialize(result:, error: nil, errors: nil) ⇒ Object
constructor
Response body for cancelling a custom order.
- #to_hash ⇒ {
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(result:, error: nil, errors: nil) ⇒ Object
Response body for cancelling a custom order.
|
|
# File 'lib/privy/models/kraken_embed_cancel_custom_order_response.rb', line 22
|
Instance Attribute Details
#error ⇒ Array<Object>?
15 |
# File 'lib/privy/models/kraken_embed_cancel_custom_order_response.rb', line 15 optional :error, Privy::Internal::Type::ArrayOf[Privy::Internal::Type::Unknown] |
#errors ⇒ Array<Object>?
20 |
# File 'lib/privy/models/kraken_embed_cancel_custom_order_response.rb', line 20 optional :errors, Privy::Internal::Type::ArrayOf[Privy::Internal::Type::Unknown] |
#result ⇒ Privy::Models::KrakenEmbedCancelCustomOrderResult?
Result payload for cancel custom order response.
10 |
# File 'lib/privy/models/kraken_embed_cancel_custom_order_response.rb', line 10 required :result, -> { Privy::KrakenEmbedCancelCustomOrderResult }, nil?: true |
Instance Method Details
#to_hash ⇒ {
27 |
# File 'sig/privy/models/kraken_embed_cancel_custom_order_response.rbs', line 27
def to_hash: -> {
|