Class: Stigg::Models::V1::SubscriptionPreviewParams::TrialOverrideConfiguration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionPreviewParams::TrialOverrideConfiguration
- Defined in:
- lib/stigg/models/v1/subscription_preview_params.rb
Defined Under Namespace
Modules: TrialEndBehavior
Instance Attribute Summary collapse
-
#is_trial ⇒ Boolean
Whether to start as trial.
-
#trial_end_behavior ⇒ Symbol, ...
Behavior when trial ends.
-
#trial_end_date ⇒ Time?
Trial end date.
Instance Method Summary collapse
-
#initialize(is_trial:, trial_end_behavior: nil, trial_end_date: nil) ⇒ Object
constructor
Trial period override settings.
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(is_trial:, trial_end_behavior: nil, trial_end_date: nil) ⇒ Object
Trial period override settings
|
|
# File 'lib/stigg/models/v1/subscription_preview_params.rb', line 733
|
Instance Attribute Details
#is_trial ⇒ Boolean
Whether to start as trial
715 |
# File 'lib/stigg/models/v1/subscription_preview_params.rb', line 715 required :is_trial, Stigg::Internal::Type::Boolean, api_name: :isTrial |
#trial_end_behavior ⇒ Symbol, ...
Behavior when trial ends
721 722 723 724 725 |
# File 'lib/stigg/models/v1/subscription_preview_params.rb', line 721 optional :trial_end_behavior, enum: -> { Stigg::V1::SubscriptionPreviewParams::TrialOverrideConfiguration::TrialEndBehavior }, api_name: :trialEndBehavior |
#trial_end_date ⇒ Time?
Trial end date
731 |
# File 'lib/stigg/models/v1/subscription_preview_params.rb', line 731 optional :trial_end_date, Time, api_name: :trialEndDate |