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)


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

required :credit_entitlement_id, String

#credits_amountString?

Returns:

  • (String, nil)


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

optional :credits_amount, String, nil?: true

#expires_after_daysInteger?

Returns:

  • (Integer, nil)


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

optional :expires_after_days, Integer, nil?: true

#low_balance_threshold_percentInteger?

Returns:

  • (Integer, nil)


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

optional :low_balance_threshold_percent, Integer, nil?: true

#max_rollover_countInteger?

Returns:

  • (Integer, nil)


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

optional :max_rollover_count, Integer, nil?: true

#overage_enabledBoolean?

Returns:

  • (Boolean, nil)


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

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

#overage_limitString?

Returns:

  • (String, nil)


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

optional :overage_limit, String, nil?: true

#rollover_enabledBoolean?

Returns:

  • (Boolean, nil)


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

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

#rollover_percentageInteger?

Returns:

  • (Integer, nil)


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

optional :rollover_percentage, Integer, nil?: true

#rollover_timeframe_countInteger?

Returns:

  • (Integer, nil)


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

optional :rollover_timeframe_count, Integer, nil?: true

#rollover_timeframe_intervalSymbol, ...

Returns:



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

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