Class: Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge
- Defined in:
- lib/dodopayments/models/subscription_preview_change_plan_response.rb
Overview
Defined Under Namespace
Modules: LineItem Classes: Summary
Instance Attribute Summary collapse
-
#effective_at ⇒ Time
When the plan change will be effective.
- #line_items ⇒ Array<Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Subscription, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Addon, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Meter>
- #summary ⇒ Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::Summary
Class Method Summary collapse
- .values ⇒ Array<Symbol>
- .variants ⇒ Array(Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Subscription, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Addon, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Meter)
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
#effective_at ⇒ Time
When the plan change will be effective
30 |
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 30 required :effective_at, Time |
#line_items ⇒ Array<Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Subscription, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Addon, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Meter>
35 36 |
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 35 required :line_items, -> { Dodopayments::Internal::Type::ArrayOf[union: Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem] } |
#summary ⇒ Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::Summary
41 42 |
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 41 required :summary, -> { Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::Summary } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 339
|
.variants ⇒ Array(Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Subscription, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Addon, Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Meter)
|
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 344
|