Module: Dodopayments::Models::LicenseKey::Source

Extended by:
Internal::Type::Enum
Defined in:
lib/dodopayments/models/license_key.rb,
sig/dodopayments/models/license_key.rbs

Overview

The source of the license key - 'auto' for keys generated by payment/subscription flows, 'import' for merchant-imported keys.

See Also:

  • Dodopayments::Models::LicenseKey#source

Constant Summary collapse

AUTO =

Returns:

  • (:auto)
:auto
IMPORT =

Returns:

  • (:import)
:import
MANUAL =

Returns:

  • (:manual)
:manual

Class Method Summary collapse

Instance 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/license_key.rb', line 136

Instance Method Details

#self?.values::Array[Dodopayments::Models::LicenseKey::source]

Returns:

  • (::Array[Dodopayments::Models::LicenseKey::source])


93
# File 'sig/dodopayments/models/license_key.rbs', line 93

def self?.values: -> ::Array[Dodopayments::Models::LicenseKey::source]