Class: Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Subscription
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, currency:, product_id:, proration_factor:, quantity:, tax_inclusive:, type:, unit_price:, description: nil, name: nil, tax: nil, tax_rate: nil) ⇒ Object
constructor
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, currency:, product_id:, proration_factor:, quantity:, tax_inclusive:, type:, unit_price:, description: nil, name: nil, tax: nil, tax_rate: nil) ⇒ Object
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 122
|
Instance Attribute Details
69
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 69
required :currency, enum: -> { Dodopayments::Currency }
|
#description ⇒ String?
105
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 105
optional :description, String, nil?: true
|
#id ⇒ String
64
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 64
required :id, String
|
#name ⇒ String?
110
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 110
optional :name, String, nil?: true
|
#product_id ⇒ String
74
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 74
required :product_id, String
|
#proration_factor ⇒ Float
79
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 79
required :proration_factor, Float
|
#quantity ⇒ Integer
84
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 84
required :quantity, Integer
|
#tax ⇒ Integer?
115
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 115
optional :tax, Integer, nil?: true
|
#tax_rate ⇒ Float?
120
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 120
optional :tax_rate, Float, nil?: true
|
#unit_price ⇒ Integer
100
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 100
required :unit_price, Integer
|