Class: Dodopayments::Models::WebhookPayload::Data::AbandonedCheckout
Defined Under Namespace
Modules: AbandonmentReason, Status
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(abandoned_at:, abandonment_reason:, brand_id:, customer_id:, payment_id:, status:, recovered_payment_id: nil, payload_type: :AbandonedCheckout) ⇒ Object
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 429
|
Instance Attribute Details
#abandoned_at ⇒ Time
390
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 390
required :abandoned_at, Time
|
395
396
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 395
required :abandonment_reason,
enum: -> { Dodopayments::WebhookPayload::Data::AbandonedCheckout::AbandonmentReason }
|
#brand_id ⇒ String
Brand id this abandoned checkout belongs to
402
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 402
required :brand_id, String
|
#customer_id ⇒ String
407
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 407
required :customer_id, String
|
#payload_type ⇒ Symbol, :AbandonedCheckout
412
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 412
required :payload_type, const: :AbandonedCheckout
|
#payment_id ⇒ String
417
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 417
required :payment_id, String
|
#recovered_payment_id ⇒ String?
427
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 427
optional :recovered_payment_id, String, nil?: true
|
422
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 422
required :status, enum: -> { Dodopayments::WebhookPayload::Data::AbandonedCheckout::Status }
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/dodopayments/models/webhook_payload.rb', line 453
|
Instance Method Details
#to_hash ⇒ {
342
|
# File 'sig/dodopayments/models/webhook_payload.rbs', line 342
def to_hash: -> {
|