Class: Dodopayments::Models::CheckoutSessionStatus
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CheckoutSessionStatus
- Defined in:
- lib/dodopayments/models/checkout_session_status.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
Created at timestamp.
-
#customer_email ⇒ String?
Customer email: prefers payment’s customer, falls back to session.
-
#customer_name ⇒ String?
Customer name: prefers payment’s customer, falls back to session.
-
#id ⇒ String
Id of the checkout session.
-
#payment_id ⇒ String?
Id of the payment created by the checkout sessions.
-
#payment_status ⇒ Symbol, ...
status of the payment.
Instance Method Summary collapse
-
#initialize(id: , created_at: , customer_email: nil, customer_name: nil, payment_id: nil, payment_status: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see CheckoutSessionStatus for more details.
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(id: , created_at: , customer_email: nil, customer_name: nil, payment_id: nil, payment_status: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::CheckoutSessionStatus for more details.
|
|
# File 'lib/dodopayments/models/checkout_session_status.rb', line 47
|
Instance Attribute Details
#created_at ⇒ Time
Created at timestamp
17 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 17 required :created_at, Time |
#customer_email ⇒ String?
Customer email: prefers payment’s customer, falls back to session
23 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 23 optional :customer_email, String, nil?: true |
#customer_name ⇒ String?
Customer name: prefers payment’s customer, falls back to session
29 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 29 optional :customer_name, String, nil?: true |
#id ⇒ String
Id of the checkout session
11 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 11 required :id, String |
#payment_id ⇒ String?
Id of the payment created by the checkout sessions.
Null if checkout sessions is still at the details collection stage.
37 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 37 optional :payment_id, String, nil?: true |
#payment_status ⇒ Symbol, ...
status of the payment.
Null if checkout sessions is still at the details collection stage.
45 |
# File 'lib/dodopayments/models/checkout_session_status.rb', line 45 optional :payment_status, enum: -> { Dodopayments::IntentStatus }, nil?: true |