Class: Dodopayments::Models::SubscriptionUpdateParams
Overview
Defined Under Namespace
Modules: CancelReason
Classes: CreditEntitlementCart, DisableOnDemand
Instance Attribute Summary collapse
#request_options
Class Method Summary
collapse
Instance Method Summary
collapse
-
#initialize(credit_entitlement_id:, credits_amount: nil, expires_after_days: nil, low_balance_threshold_percent: nil, max_rollover_count: nil, overage_enabled: nil, overage_limit: nil, rollover_enabled: nil, rollover_percentage: nil, rollover_timeframe_count: nil, rollover_timeframe_interval: nil) ⇒ Object
constructor
dump_request
included
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(credit_entitlement_id:, credits_amount: nil, expires_after_days: nil, low_balance_threshold_percent: nil, max_rollover_count: nil, overage_enabled: nil, overage_limit: nil, rollover_enabled: nil, rollover_percentage: nil, rollover_timeframe_count: nil, rollover_timeframe_interval: nil) ⇒ Object
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 163
|
Instance Attribute Details
18
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 18
optional :billing, -> { Dodopayments::BillingAddress }, nil?: true
|
#cancel_at_next_billing_date ⇒ Boolean?
When set, the subscription will remain active until the end of billing period
24
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 24
optional :cancel_at_next_billing_date, Dodopayments::Internal::Type::Boolean, nil?: true
|
#cancel_reason ⇒ Symbol, ...
Update credit entitlement cart settings
#customer_name ⇒ String?
44
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 44
optional :customer_name, String, nil?: true
|
54
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 54
optional :metadata, Dodopayments::Internal::Type::HashOf[String], nil?: true
|
#next_billing_date ⇒ Time?
59
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 59
optional :next_billing_date, Time, nil?: true
|
#status ⇒ Symbol, ...
64
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 64
optional :status, enum: -> { Dodopayments::SubscriptionStatus }, nil?: true
|
#subscription_id ⇒ String
13
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 13
required :subscription_id, String
|
#tax_id ⇒ String?
69
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 69
optional :tax_id, String, nil?: true
|
Class Method Details
.values ⇒ Array<Symbol>
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 103
|