Class: Orb::Models::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Subscription
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb,
sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs
Overview
Defined Under Namespace
Modules: Status
Classes: Plan
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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:, external_plan_id:, name:) ⇒ Object
Some parameter documentations has been truncated, see
Plan
for more details.
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 581
|
Instance Attribute Details
556
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 556
required :customer, -> { Orb::CustomerMinified }
|
#end_date ⇒ Time?
561
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 561
required :end_date, Time, nil?: true
|
#id ⇒ String
551
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 551
required :id, String
|
566
567
568
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 566
required :plan,
-> { Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Subscription::Plan },
nil?: true
|
#start_date ⇒ Time
573
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 573
required :start_date, Time
|
578
579
|
# File 'lib/orb/models/subscription_license_balance_threshold_reached_webhook_event.rb', line 578
required :status,
enum: -> { Orb::SubscriptionLicenseBalanceThresholdReachedWebhookEvent::Subscription::Status }
|
Instance Method Details
#to_hash ⇒ {
405
|
# File 'sig/orb/models/subscription_license_balance_threshold_reached_webhook_event.rbs', line 405
def to_hash: -> {
|