Class: Dodopayments::Models::CheckoutSessionResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CheckoutSessionResponse
- Defined in:
- lib/dodopayments/models/checkout_session_response.rb
Overview
Instance Attribute Summary collapse
-
#checkout_url ⇒ String?
Checkout url (None when payment_method_id is provided).
-
#session_id ⇒ String
The ID of the created checkout session.
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(session_id:, checkout_url: nil) ⇒ Object
|
|
# File 'lib/dodopayments/models/checkout_session_response.rb', line 19
|
Instance Attribute Details
#checkout_url ⇒ String?
Checkout url (None when payment_method_id is provided)
17 |
# File 'lib/dodopayments/models/checkout_session_response.rb', line 17 optional :checkout_url, String, nil?: true |
#session_id ⇒ String
The ID of the created checkout session
11 |
# File 'lib/dodopayments/models/checkout_session_response.rb', line 11 required :session_id, String |