Class: Dodopayments::Models::SubscriptionUpdateParams::CreditEntitlementCart
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/dodopayments/models/subscription_update_params.rb,
sig/dodopayments/models/subscription_update_params.rbs
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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 ⇒ Object
155
|
# File 'sig/dodopayments/models/subscription_update_params.rbs', line 155
def initialize: (
|
Instance Attribute Details
#credit_entitlement_id ⇒ String
168
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 168
required :credit_entitlement_id, String
|
#credits_amount ⇒ String?
173
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 173
optional :credits_amount, String, nil?: true
|
#expires_after_days ⇒ Integer?
178
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 178
optional :expires_after_days, Integer, nil?: true
|
#low_balance_threshold_percent ⇒ Integer?
183
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 183
optional :low_balance_threshold_percent, Integer, nil?: true
|
#max_rollover_count ⇒ Integer?
188
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 188
optional :max_rollover_count, Integer, nil?: true
|
#overage_enabled ⇒ Boolean?
193
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 193
optional :overage_enabled, Dodopayments::Internal::Type::Boolean, nil?: true
|
#overage_limit ⇒ String?
198
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 198
optional :overage_limit, String, nil?: true
|
#rollover_enabled ⇒ Boolean?
203
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 203
optional :rollover_enabled, Dodopayments::Internal::Type::Boolean, nil?: true
|
#rollover_percentage ⇒ Integer?
208
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 208
optional :rollover_percentage, Integer, nil?: true
|
#rollover_timeframe_count ⇒ Integer?
213
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 213
optional :rollover_timeframe_count, Integer, nil?: true
|
#rollover_timeframe_interval ⇒ Symbol, ...
Unit of a duration count (e.g. license-key validity period).
219
|
# File 'lib/dodopayments/models/subscription_update_params.rb', line 219
optional :rollover_timeframe_interval, enum: -> { Dodopayments::TimeInterval }, nil?: true
|
Instance Method Details
#to_hash ⇒ {
169
|
# File 'sig/dodopayments/models/subscription_update_params.rbs', line 169
def to_hash: -> {
|