Class: Dodopayments::Models::SubscriptionUpdateParams::CreditEntitlementCart

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dodopayments/models/subscription_update_params.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Dodopayments::Internal::Type::BaseModel

Instance Attribute Details

#credit_entitlement_idString

Returns:

  • (String)


133
# File 'lib/dodopayments/models/subscription_update_params.rb', line 133

required :credit_entitlement_id, String

#credits_amountString?

Returns:

  • (String, nil)


138
# File 'lib/dodopayments/models/subscription_update_params.rb', line 138

optional :credits_amount, String, nil?: true

#expires_after_daysInteger?

Returns:

  • (Integer, nil)


143
# File 'lib/dodopayments/models/subscription_update_params.rb', line 143

optional :expires_after_days, Integer, nil?: true

#low_balance_threshold_percentInteger?

Returns:

  • (Integer, nil)


148
# File 'lib/dodopayments/models/subscription_update_params.rb', line 148

optional :low_balance_threshold_percent, Integer, nil?: true

#max_rollover_countInteger?

Returns:

  • (Integer, nil)


153
# File 'lib/dodopayments/models/subscription_update_params.rb', line 153

optional :max_rollover_count, Integer, nil?: true

#overage_enabledBoolean?

Returns:

  • (Boolean, nil)


158
# File 'lib/dodopayments/models/subscription_update_params.rb', line 158

optional :overage_enabled, Dodopayments::Internal::Type::Boolean, nil?: true

#overage_limitString?

Returns:

  • (String, nil)


163
# File 'lib/dodopayments/models/subscription_update_params.rb', line 163

optional :overage_limit, String, nil?: true

#rollover_enabledBoolean?

Returns:

  • (Boolean, nil)


168
# File 'lib/dodopayments/models/subscription_update_params.rb', line 168

optional :rollover_enabled, Dodopayments::Internal::Type::Boolean, nil?: true

#rollover_percentageInteger?

Returns:

  • (Integer, nil)


173
# File 'lib/dodopayments/models/subscription_update_params.rb', line 173

optional :rollover_percentage, Integer, nil?: true

#rollover_timeframe_countInteger?

Returns:

  • (Integer, nil)


178
# File 'lib/dodopayments/models/subscription_update_params.rb', line 178

optional :rollover_timeframe_count, Integer, nil?: true

#rollover_timeframe_intervalSymbol, ...

Returns:



183
# File 'lib/dodopayments/models/subscription_update_params.rb', line 183

optional :rollover_timeframe_interval, enum: -> { Dodopayments::TimeInterval }, nil?: true