Class: Straddle::Models::PayoutEventV1WebhookEvent::Data::StatusDetails
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PayoutEventV1WebhookEvent::Data::StatusDetails
- Defined in:
- lib/straddle/models/payout_event_v1_webhook_event.rb,
sig/straddle/models/payout_event_v1_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Reason
Instance Attribute Summary collapse
-
#changed_at ⇒ Time
The time the status change occurred.
-
#code ⇒ String?
The status code if applicable.
-
#message ⇒ String
A human-readable description of the current status.
- #reason ⇒ Symbol, Straddle::Models::PayoutEventV1WebhookEvent::Data::StatusDetails::Reason
- #source ⇒ Symbol, Straddle::Models::PaymentStatusSource
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(changed_at:, code:, message:, reason:, source:) ⇒ Object
|
|
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 319
|
Instance Attribute Details
#changed_at ⇒ Time
The time the status change occurred.
295 |
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 295 required :changed_at, Time |
#code ⇒ String?
The status code if applicable.
301 |
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 301 required :code, String, nil?: true |
#message ⇒ String
A human-readable description of the current status.
307 |
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 307 required :message, String |
#reason ⇒ Symbol, Straddle::Models::PayoutEventV1WebhookEvent::Data::StatusDetails::Reason
312 |
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 312 required :reason, enum: -> { Straddle::PayoutEventV1WebhookEvent::Data::StatusDetails::Reason } |
#source ⇒ Symbol, Straddle::Models::PaymentStatusSource
317 |
# File 'lib/straddle/models/payout_event_v1_webhook_event.rb', line 317 required :source, enum: -> { Straddle::PaymentStatusSource } |
Instance Method Details
#to_hash ⇒ {
256 |
# File 'sig/straddle/models/payout_event_v1_webhook_event.rbs', line 256
def to_hash: -> {
|