Module: Dodopayments::Models::UpdateSubscriptionPlanReq::OnPaymentFailure

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

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.

See Also:

  • Dodopayments::Models::UpdateSubscriptionPlanReq#on_payment_failure

Constant Summary collapse

PREVENT_CHANGE =

Returns:

  • (:prevent_change)
:prevent_change
APPLY_CHANGE =

Returns:

  • (:apply_change)
:apply_change

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/update_subscription_plan_req.rb', line 159

Instance Method Details

#self?.values::Array[Dodopayments::Models::UpdateSubscriptionPlanReq::on_payment_failure]

Returns:

  • (::Array[Dodopayments::Models::UpdateSubscriptionPlanReq::on_payment_failure])


104
# File 'sig/dodopayments/models/update_subscription_plan_req.rbs', line 104

def self?.values: -> ::Array[Dodopayments::Models::UpdateSubscriptionPlanReq::on_payment_failure]