Class: MetronomeSDK::Models::Subscription::SubscriptionRate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::Subscription::SubscriptionRate
- Defined in:
- lib/metronome_sdk/models/subscription.rb
Overview
Defined Under Namespace
Modules: BillingFrequency Classes: Product
Instance Attribute Summary collapse
- #billing_frequency ⇒ Symbol, MetronomeSDK::Models::Subscription::SubscriptionRate::BillingFrequency
- #product ⇒ MetronomeSDK::Models::Subscription::SubscriptionRate::Product
Class Method 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(billing_frequency: , product: ) ⇒ Object
|
|
# File 'lib/metronome_sdk/models/subscription.rb', line 285
|
Instance Attribute Details
#billing_frequency ⇒ Symbol, MetronomeSDK::Models::Subscription::SubscriptionRate::BillingFrequency
278 |
# File 'lib/metronome_sdk/models/subscription.rb', line 278 required :billing_frequency, enum: -> { MetronomeSDK::Subscription::SubscriptionRate::BillingFrequency } |
#product ⇒ MetronomeSDK::Models::Subscription::SubscriptionRate::Product
283 |
# File 'lib/metronome_sdk/models/subscription.rb', line 283 required :product, -> { MetronomeSDK::Subscription::SubscriptionRate::Product } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/metronome_sdk/models/subscription.rb', line 298
|