Class: Dodopayments::Models::CheckoutSessionRequest::Customization
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CheckoutSessionRequest::Customization
- Defined in:
- lib/dodopayments/models/checkout_session_request.rb
Overview
Defined Under Namespace
Modules: Theme
Instance Attribute Summary collapse
-
#force_language ⇒ String?
Force the checkout interface to render in a specific language (e.g. ‘en`, `es`).
-
#show_on_demand_tag ⇒ Boolean?
Show on demand tag.
-
#show_order_details ⇒ Boolean?
Show order details by default.
-
#theme ⇒ Symbol, ...
Theme of the page.
Instance Method Summary collapse
-
#initialize(force_language: nil, show_on_demand_tag: nil, show_order_details: nil, theme: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Customization 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(force_language: nil, show_on_demand_tag: nil, show_order_details: nil, theme: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::CheckoutSessionRequest::Customization for more details.
Customization for the checkout session page
|
|
# File 'lib/dodopayments/models/checkout_session_request.rb', line 249
|
Instance Attribute Details
#force_language ⇒ String?
Force the checkout interface to render in a specific language (e.g. ‘en`, `es`)
223 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 223 optional :force_language, String, nil?: true |
#show_on_demand_tag ⇒ Boolean?
Show on demand tag
Default is true
231 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 231 optional :show_on_demand_tag, Dodopayments::Internal::Type::Boolean |
#show_order_details ⇒ Boolean?
Show order details by default
Default is true
239 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 239 optional :show_order_details, Dodopayments::Internal::Type::Boolean |
#theme ⇒ Symbol, ...
Theme of the page
Default is ‘System`.
247 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 247 optional :theme, enum: -> { Dodopayments::CheckoutSessionRequest::Customization::Theme } |