Class: MetronomeSDK::Models::V1::PlanListChargesResponse::Price

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/plan_list_charges_response.rb

Instance Attribute Summary collapse

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 MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#collection_intervalFloat?

Returns:

  • (Float, nil)


132
# File 'lib/metronome_sdk/models/v1/plan_list_charges_response.rb', line 132

optional :collection_interval, Float

#collection_scheduleString?

Returns:

  • (String, nil)


137
# File 'lib/metronome_sdk/models/v1/plan_list_charges_response.rb', line 137

optional :collection_schedule, String

#quantityFloat?

Returns:

  • (Float, nil)


142
# File 'lib/metronome_sdk/models/v1/plan_list_charges_response.rb', line 142

optional :quantity, Float

#tierFloat

Used in pricing tiers. Indicates at what metric value the price applies.

Returns:

  • (Float)


122
# File 'lib/metronome_sdk/models/v1/plan_list_charges_response.rb', line 122

required :tier, Float

#valueFloat

Returns:

  • (Float)


127
# File 'lib/metronome_sdk/models/v1/plan_list_charges_response.rb', line 127

required :value, Float