Class: Orb::Models::SubscriptionGroupedCostExceededWebhookEvent::Subscription
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb,
sig/orb/models/subscription_grouped_cost_exceeded_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_grouped_cost_exceeded_webhook_event.rb', line 584
|
Instance Attribute Details
558
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 558
required :customer, -> { Orb::CustomerMinified }
|
#end_date ⇒ Time?
563
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 563
required :end_date, Time, nil?: true
|
#id ⇒ String
553
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 553
required :id, String
|
568
569
570
571
572
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 568
required :plan,
-> {
Orb::SubscriptionGroupedCostExceededWebhookEvent::Subscription::Plan
},
nil?: true
|
#start_date ⇒ Time
577
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 577
required :start_date, Time
|
582
|
# File 'lib/orb/models/subscription_grouped_cost_exceeded_webhook_event.rb', line 582
required :status, enum: -> { Orb::SubscriptionGroupedCostExceededWebhookEvent::Subscription::Status }
|
Instance Method Details
#to_hash ⇒ {
410
|
# File 'sig/orb/models/subscription_grouped_cost_exceeded_webhook_event.rbs', line 410
def to_hash: -> {
|