Class: Dodopayments::Models::SubscriptionPreviewChangePlanResponse::ImmediateCharge::LineItem::Meter
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id:, chargeable_units:, currency:, free_threshold:, name:, price_per_unit:, subtotal:, tax_inclusive:, tax_rate:, type:, units_consumed:, description: nil, tax: 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:, chargeable_units:, currency:, free_threshold:, name:, price_per_unit:, subtotal:, tax_inclusive:, tax_rate:, type:, units_consumed:, description: nil, tax: nil) ⇒ Object
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 318
|
Instance Attribute Details
#chargeable_units ⇒ String
260
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 260
required :chargeable_units, String
|
265
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 265
required :currency, enum: -> { Dodopayments::Currency }
|
#description ⇒ String?
311
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 311
optional :description, String, nil?: true
|
#free_threshold ⇒ Integer
270
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 270
required :free_threshold, Integer
|
#id ⇒ String
255
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 255
required :id, String
|
#name ⇒ String
275
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 275
required :name, String
|
#price_per_unit ⇒ String
280
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 280
required :price_per_unit, String
|
#subtotal ⇒ Integer
285
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 285
required :subtotal, Integer
|
#tax ⇒ Integer?
316
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 316
optional :tax, Integer, nil?: true
|
#tax_rate ⇒ Float
295
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 295
required :tax_rate, Float
|
#units_consumed ⇒ String
306
|
# File 'lib/dodopayments/models/subscription_preview_change_plan_response.rb', line 306
required :units_consumed, String
|