Class: MetronomeSDK::Models::Subscription::BillingPeriods

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

Overview

See Also:

Defined Under Namespace

Classes: Current, Next, Previous

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], 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

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

#initialize(ending_before: , starting_at: ) ⇒ Object

Parameters:

  • ending_before (Time) (defaults to: )
  • starting_at (Time) (defaults to: )


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


Instance Attribute Details

#currentMetronomeSDK::Models::Subscription::BillingPeriods::Current?



120
# File 'lib/metronome_sdk/models/subscription.rb', line 120

optional :current, -> { MetronomeSDK::Subscription::BillingPeriods::Current }

#next_MetronomeSDK::Models::Subscription::BillingPeriods::Next?



125
# File 'lib/metronome_sdk/models/subscription.rb', line 125

optional :next_, -> { MetronomeSDK::Subscription::BillingPeriods::Next }, api_name: :next

#previousMetronomeSDK::Models::Subscription::BillingPeriods::Previous?



130
# File 'lib/metronome_sdk/models/subscription.rb', line 130

optional :previous, -> { MetronomeSDK::Subscription::BillingPeriods::Previous }