Class: Dodopayments::Models::CheckoutSessionRequest::SubscriptionData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::CheckoutSessionRequest::SubscriptionData
- Defined in:
- lib/dodopayments/models/checkout_session_request.rb
Overview
Instance Attribute Summary collapse
- #on_demand ⇒ Dodopayments::Models::OnDemandSubscription?
-
#trial_period_days ⇒ Integer?
Optional trial period in days If specified, this value overrides the trial period set in the product’s price Must be between 0 and 10000 days.
Instance Method Summary collapse
-
#initialize(on_demand: nil, trial_period_days: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see SubscriptionData for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], 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
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
#initialize(on_demand: nil, trial_period_days: nil) ⇒ Object
Some parameter documentations has been truncated, see Dodopayments::Models::CheckoutSessionRequest::SubscriptionData for more details.
|
|
# File 'lib/dodopayments/models/checkout_session_request.rb', line 401
|
Instance Attribute Details
#on_demand ⇒ Dodopayments::Models::OnDemandSubscription?
392 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 392 optional :on_demand, -> { Dodopayments::OnDemandSubscription }, nil?: true |
#trial_period_days ⇒ Integer?
Optional trial period in days If specified, this value overrides the trial period set in the product’s price Must be between 0 and 10000 days
399 |
# File 'lib/dodopayments/models/checkout_session_request.rb', line 399 optional :trial_period_days, Integer, nil?: true |