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

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, 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

Parameters:



96
97
98
99
100
101
102
103
104
105
# File 'lib/dodopayments/models/subscription_update_params.rb', line 96

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

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