Module: Dodopayments::Models::UpdateSubscriptionPlanReq::OnPaymentFailure
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/dodopayments/models/update_subscription_plan_req.rb
Overview
Controls behavior when the plan change payment fails.
-
‘prevent_change`: Keep subscription on current plan until payment succeeds
-
‘apply_change` (default): Apply plan change immediately regardless of payment outcome
If not specified, uses the business-level default setting.
Constant Summary collapse
- PREVENT_CHANGE =
:prevent_change- APPLY_CHANGE =
:apply_change
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
.values ⇒ Array<Symbol>
|
|
# File 'lib/dodopayments/models/update_subscription_plan_req.rb', line 137
|