Module: Dodopayments::Models::SubscriptionUpdateParams::CancelReason

Extended by:
Internal::Type::Enum
Defined in:
lib/dodopayments/models/subscription_update_params.rb

Constant Summary collapse

CANCELLED_BY_CUSTOMER =
:cancelled_by_customer
CANCELLED_BY_MERCHANT =
:cancelled_by_merchant
CANCELLED_BY_MERCHANT_SEND_DUNNING =
:cancelled_by_merchant_send_dunning
DODO_TEAM =
:dodo_team

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

Instance Method Details

#initialize(subscription_id:, billing: nil, cancel_at_next_billing_date: nil, cancel_reason: nil, cancellation_comment: nil, cancellation_feedback: nil, credit_entitlement_cart: nil, customer_name: nil, disable_on_demand: nil, metadata: nil, next_billing_date: nil, status: nil, tax_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Dodopayments::Models::SubscriptionUpdateParams for more details.

Parameters:



117
118
119
120
121
122
123
124
125
126
127
# File 'lib/dodopayments/models/subscription_update_params.rb', line 117

module CancelReason
  extend Dodopayments::Internal::Type::Enum

  CANCELLED_BY_CUSTOMER = :cancelled_by_customer
  CANCELLED_BY_MERCHANT = :cancelled_by_merchant
  CANCELLED_BY_MERCHANT_SEND_DUNNING = :cancelled_by_merchant_send_dunning
  DODO_TEAM = :dodo_team

  # @!method self.values
  #   @return [Array<Symbol>]
end