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)


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

required :credit_entitlement_id, String

#credits_amountString?

Returns:

  • (String, nil)


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

optional :credits_amount, String, nil?: true

#expires_after_daysInteger?

Returns:

  • (Integer, nil)


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

optional :expires_after_days, Integer, nil?: true

#low_balance_threshold_percentInteger?

Returns:

  • (Integer, nil)


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

optional :low_balance_threshold_percent, Integer, nil?: true

#max_rollover_countInteger?

Returns:

  • (Integer, nil)


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

optional :max_rollover_count, Integer, nil?: true

#overage_enabledBoolean?

Returns:

  • (Boolean, nil)


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

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

#overage_limitString?

Returns:

  • (String, nil)


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

optional :overage_limit, String, nil?: true

#rollover_enabledBoolean?

Returns:

  • (Boolean, nil)


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

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

#rollover_percentageInteger?

Returns:

  • (Integer, nil)


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

optional :rollover_percentage, Integer, nil?: true

#rollover_timeframe_countInteger?

Returns:

  • (Integer, nil)


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

optional :rollover_timeframe_count, Integer, nil?: true

#rollover_timeframe_intervalSymbol, ...

Returns:



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

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