Class: Dodopayments::Models::DunningStartedWebhookEvent::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::DunningStartedWebhookEvent::Data
- Defined in:
- lib/dodopayments/models/dunning_started_webhook_event.rb
Overview
Defined Under Namespace
Modules: Status, TriggerState
Instance Attribute Summary collapse
-
#brand_id ⇒ String
Brand id this dunning attempt belongs to.
- #created_at ⇒ Time
- #customer_id ⇒ String
- #payment_id ⇒ String?
- #status ⇒ Symbol, Dodopayments::Models::DunningStartedWebhookEvent::Data::Status
- #subscription_id ⇒ String
- #trigger_state ⇒ Symbol, Dodopayments::Models::DunningStartedWebhookEvent::Data::TriggerState
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(brand_id:, created_at:, customer_id:, status:, subscription_id:, trigger_state:, payment_id: nil) ⇒ Object
constructor
Webhook payload for dunning.started and dunning.recovered events.
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(brand_id:, created_at:, customer_id:, status:, subscription_id:, trigger_state:, payment_id: nil) ⇒ Object
Webhook payload for dunning.started and dunning.recovered events
|
|
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 77
|
Instance Attribute Details
#brand_id ⇒ String
Brand id this dunning attempt belongs to
45 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 45 required :brand_id, String |
#created_at ⇒ Time
50 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 50 required :created_at, Time |
#customer_id ⇒ String
55 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 55 required :customer_id, String |
#payment_id ⇒ String?
75 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 75 optional :payment_id, String, nil?: true |
#status ⇒ Symbol, Dodopayments::Models::DunningStartedWebhookEvent::Data::Status
60 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 60 required :status, enum: -> { Dodopayments::DunningStartedWebhookEvent::Data::Status } |
#subscription_id ⇒ String
65 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 65 required :subscription_id, String |
#trigger_state ⇒ Symbol, Dodopayments::Models::DunningStartedWebhookEvent::Data::TriggerState
70 |
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 70 required :trigger_state, enum: -> { Dodopayments::DunningStartedWebhookEvent::Data::TriggerState } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/dodopayments/models/dunning_started_webhook_event.rb', line 102
|