Module: Dodopayments::Models::CheckoutSessionCustomization::Theme

Extended by:
Internal::Type::Enum
Defined in:
lib/dodopayments/models/checkout_session_customization.rb

Overview

Theme of the page (determines which mode - light/dark/system - to use)

If not provided, uses the business-configured theme from business_themes table.

See Also:

Constant Summary collapse

DARK =
:dark
LIGHT =
:light
SYSTEM =
:system

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/dodopayments/models/checkout_session_customization.rb', line 68