Class: Dodopayments::Models::SubscriptionListResponse::ScheduledChange
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::SubscriptionListResponse::ScheduledChange
- Defined in:
- lib/dodopayments/models/subscription_list_response.rb
Overview
Defined Under Namespace
Classes: Addon
Instance Attribute Summary collapse
-
#addons ⇒ Array<Dodopayments::Models::SubscriptionListResponse::ScheduledChange::Addon>
Addons included in the scheduled change.
-
#created_at ⇒ Time
When this scheduled change was created.
-
#effective_at ⇒ Time
When the change will be applied.
-
#id ⇒ String
The scheduled plan change ID.
-
#product_description ⇒ String?
Description of the product being changed to.
-
#product_id ⇒ String
The product ID the subscription will change to.
-
#product_name ⇒ String?
Name of the product being changed to.
-
#quantity ⇒ Integer
Quantity for the new plan.
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
#addons ⇒ Array<Dodopayments::Models::SubscriptionListResponse::ScheduledChange::Addon>
Addons included in the scheduled change
245 246 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 245 required :addons, -> { Dodopayments::Internal::Type::ArrayOf[Dodopayments::Models::SubscriptionListResponse::ScheduledChange::Addon] } |
#created_at ⇒ Time
When this scheduled change was created
252 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 252 required :created_at, Time |
#effective_at ⇒ Time
When the change will be applied
258 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 258 required :effective_at, Time |
#id ⇒ String
The scheduled plan change ID
239 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 239 required :id, String |
#product_description ⇒ String?
Description of the product being changed to
276 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 276 optional :product_description, String, nil?: true |
#product_id ⇒ String
The product ID the subscription will change to
264 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 264 required :product_id, String |
#product_name ⇒ String?
Name of the product being changed to
282 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 282 optional :product_name, String, nil?: true |
#quantity ⇒ Integer
Quantity for the new plan
270 |
# File 'lib/dodopayments/models/subscription_list_response.rb', line 270 required :quantity, Integer |