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

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/contract_v2.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)
  • starting_at (Time)


# File 'lib/metronome_sdk/models/contract_v2.rb', line 3448

Instance Attribute Details

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



3432
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3432

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

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



3437
3438
3439
3440
3441
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3437

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

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



3446
# File 'lib/metronome_sdk/models/contract_v2.rb', line 3446

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