Class: Dodopayments::Models::WebhookPayload::Data::DunningAttempt
Defined Under Namespace
Modules: PayloadType, Status, TriggerState
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(created_at:, customer_id:, payload_type:, status:, subscription_id:, trigger_state:, payment_id: nil) ⇒ Object
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 376
|
Instance Attribute Details
#created_at ⇒ Time
344
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 344
required :created_at, Time
|
#customer_id ⇒ String
349
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 349
required :customer_id, String
|
354
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 354
required :payload_type, enum: -> { Dodopayments::WebhookPayload::Data::DunningAttempt::PayloadType }
|
#payment_id ⇒ String?
374
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 374
optional :payment_id, String, nil?: true
|
359
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 359
required :status, enum: -> { Dodopayments::WebhookPayload::Data::DunningAttempt::Status }
|
#subscription_id ⇒ String
364
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 364
required :subscription_id, String
|
369
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 369
required :trigger_state, enum: -> { Dodopayments::WebhookPayload::Data::DunningAttempt::TriggerState }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 391
|