Class: Dodopayments::Models::IntegrationConfig::FeatureFlagConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/integration_config.rb,
sig/dodopayments/models/integration_config.rbs

Instance Attribute Summary collapse

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

#initializeObject



25
# File 'sig/dodopayments/models/integration_config.rbs', line 25

def initialize: (

Instance Attribute Details

#feature_idString

Merchant-chosen identifier for the capability this entitlement unlocks. Not unique across entitlements.

Parameters:

  • value (String)

Returns:

  • (String)


38
# File 'lib/dodopayments/models/integration_config.rb', line 38

required :feature_id, String

#feature_typeSymbol, Dodopayments::Models::FeatureType

Type of capability conferred.

Parameters:

  • value (Dodopayments::Models::feature_type)

Returns:



44
# File 'lib/dodopayments/models/integration_config.rb', line 44

required :feature_type, enum: -> { Dodopayments::FeatureType }

Instance Method Details

#to_hash{

Returns:

  • ({)


30
# File 'sig/dodopayments/models/integration_config.rbs', line 30

def to_hash: -> {